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('./16k.wav')
print(text)

```

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

### tts
input:
```
import parrots

audio_file_path = parrots.tts('北京图书馆')
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.

Source Distribution

parrots-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file parrots-0.1.0.tar.gz.

File metadata

  • Download URL: parrots-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 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

Hashes for parrots-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bcb4ab7cf4f9113b1d0d60585257e8048ecfd7864b6640486515616299690c12
MD5 92e62666ddaf2f0e92b559410f78522d
BLAKE2b-256 3dead3e4ed4660a029205cc3a7adddb9410954df0697fe6c8420a4429cb452e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page