diff --git a/README.md b/README.md index 98732452..92751ce9 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ To avoid the trouble of environment setup, [running in Docker container](#runnin - Make sure these libraries or tools installed: `pkg-config`, `flac`, `ogg`, `vorbis`, `boost` and `swig`, e.g. installing them via `apt-get`: ```bash -sudo apt-get install -y pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig +sudo apt-get install -y pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python-dev ``` or, installing them via `yum`: @@ -139,7 +139,7 @@ python tools/compute_mean_std.py \ --output_path data/librispeech/mean_std.npz ``` -It will compute the mean and standard deviation of power spectrum feature with 2000 random sampled audio clips listed in `data/librispeech/manifest.train` and save the results to `data/librispeech/mean_std.npz` for further usage. +It will compute the mean and standard deviatio of power spectrum feature with 2000 random sampled audio clips listed in `data/librispeech/manifest.train` and save the results to `data/librispeech/mean_std.npz` for further usage. ### Build Vocabulary diff --git a/README_cn.md b/README_cn.md index 18bc3cdd..ad04b165 100644 --- a/README_cn.md +++ b/README_cn.md @@ -31,13 +31,13 @@ - 请确保以下库或工具已安装完毕:`pkg-config`, `flac`, `ogg`, `vorbis`, `boost` 和 `swig`, 如可以通过`apt-get`安装: ```bash -sudo apt-get install -y pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig +sudo apt-get install -y pkg-config libflac-dev libogg-dev libvorbis-dev libboost-dev swig python-dev ``` 或者,也可以通过`yum`安装: ```bash -sudo yum install pkgconfig libogg-devel libvorbis-devel boost-devel +sudo yum install pkgconfig libogg-devel libvorbis-devel boost-devel python-devel wget https://ftp.osuosl.org/pub/xiph/releases/flac/flac-1.3.1.tar.xz xz -d flac-1.3.1.tar.xz tar -xvf flac-1.3.1.tar @@ -133,7 +133,7 @@ sh setup.sh python tools/compute_mean_std.py \ --num_samples 2000 \ --specgram_type linear \ ---manifest_paths data/librispeech/manifest.train \ +--manifest_path data/librispeech/manifest.train \ --output_path data/librispeech/mean_std.npz ```