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:
```
北京图书馆 语音文件路径
```
### 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
parrots-0.1.1.tar.gz
(13.3 kB
view details)
File details
Details for the file parrots-0.1.1.tar.gz.
File metadata
- Download URL: parrots-0.1.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
625bad9091243d2c10e0e815d19839f43f3f62faf80c6c09d9fc00982dc865c1
|
|
| MD5 |
86de18ae371d8f81d9a8e400661a2b14
|
|
| BLAKE2b-256 |
1aba5812cac97d20f1294622fbe7b2bae61705d6b58178acbb437de6cec9ed48
|