modified README.md of install libsndfile1

This commit is contained in:
lifuchen 2020-02-19 03:00:17 +00:00
parent 61e84251c6
commit 0f90e950fe
1 changed files with 7 additions and 8 deletions

View File

@ -20,22 +20,21 @@ cd Parakeet
pip install -e .
```
### Setup
Make sure libsndfile1 installed:
```bash
sudo apt-get install libsndfile1
```
### Install CMUdict for nltk
CMUdict from nltk is used to transform text into phonemes.
```python
import nltk
nltk.download("punkt")
nltk.download("cmudict")
```
If you have completed all the above installations, but still report an error at runtime
``` OSError: sndfile library not found ```
You need to install ```libsndfile``` using your distributions package manager. e.g. install via:
``` sudo apt-get install libsndfile1 ```
## Supported models