mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update docs
This commit is contained in:
parent
044a79a22f
commit
a0d5a61d10
@ -24,8 +24,10 @@ bash fst/train_lms.sh
|
|||||||
python3 fst/generate_lexicon.py lm/corpus.dict lm/lexicon.txt lm/lexicon.out
|
python3 fst/generate_lexicon.py lm/corpus.dict lm/lexicon.txt lm/lexicon.out
|
||||||
```
|
```
|
||||||
|
|
||||||
|
编译TLG需要依赖fst的环境,请参考文档安装fts相关环境([点击此处](../onnxruntime/readme.md))
|
||||||
## 编译TLG.fst
|
## 编译TLG.fst
|
||||||
```shell
|
```shell
|
||||||
|
|
||||||
# Compile the lexicon and token FSTs
|
# Compile the lexicon and token FSTs
|
||||||
fst/compile_dict_token.sh lm lm/tmp lm/lang
|
fst/compile_dict_token.sh lm lm/tmp lm/lang
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user