fix:change bat script and readme

pull/2167/head
Doubledongli 2 years ago
parent c7294fae36
commit 0b9ac9ba73

@ -1,27 +1,19 @@
* [python_kaldi_features](https://github.com/ZitengWang/python_kaldi_features) # install ctc_decoder for windows
commit: fc1bd6240c2008412ab64dc25045cd872f5e126c
ref: https://zhuanlan.zhihu.com/p/55371926
license: MIT
* [python-pinyin](https://github.com/mozillazg/python-pinyin.git) This is bat script to install paddlespeech_ctc_decoders for windows
commit: 55e524aa1b7b8eec3d15c5306043c6cdd5938b03
license: MIT
* [zhon](https://github.com/tsroten/zhon) ## Prepare your environment
commit: 09bf543696277f71de502506984661a60d24494c
license: MIT
* [pymmseg-cpp](https://github.com/pluskid/pymmseg-cpp.git) insure your environment like this:
commit: b76465045717fbb4f118c4fbdd24ce93bab10a6d
license: MIT
* [chinese_text_normalization](https://github.com/speechio/chinese_text_normalization.git) * gcc: version >= 12.1.0
commit: 9e92c7bf2d6b5a7974305406d8e240045beac51c * cmake: version >= 3.24.0
license: MIT * make: version >= 3.82.90
* visual studio: version >= 2019
* [phkit](https://github.com/KuangDD/phkit.git) ## Start your bat script
commit: b2100293c1e36da531d7f30bd52c9b955a649522
license: None
* [nnAudio](https://github.com/KinWaiCheuk/nnAudio.git) ```shell
license: MIT start install_win_ctc.bat
```

@ -0,0 +1,21 @@
@echo off
cd ctc_decoders
if not exist kenlm (
git clone https://github.com/Doubledongli/kenlm.git
@echo.
)
if not exist openfst-1.6.3 (
echo "Download and extract openfst ..."
git clone https://gitee.com/koala999/openfst.git
ren openfst openfst-1.6.3
@echo.
)
if not exist ThreadPool (
git clone https://github.com/progschj/ThreadPool.git
@echo.
)
echo "Install decoders ..."
python setup.py install --num_processes 4
Loading…
Cancel
Save