Skip to main content

Chinese Text To Speech and Speech Recognition

Project description

## Usage

### install
* pip3 install parrots
* Or
```
git clone https://github.com/shibing624/parrots.git
cd pyrrots
python3 setup.py install
```


### speech recognition
input:
```
import parrots

text = parrots.speech_recognition_from_file('./16k.wav')
print(text)

```

output:
```
北京图书馆
```

### tts
input:
```
import parrots

audio_file_path = parrots.synthesize('北京图书馆')
print(audio_file_path)

```

output:
```
北京图书馆 语音文件路径
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for parrots, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size parrots-0.1.4.tar.gz (14.5 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page