update docs

This commit is contained in:
lyblsgo 2023-11-10 11:04:49 +08:00
parent 044a79a22f
commit a0d5a61d10

View File

@ -24,8 +24,10 @@ bash fst/train_lms.sh
python3 fst/generate_lexicon.py lm/corpus.dict lm/lexicon.txt lm/lexicon.out
```
编译TLG需要依赖fst的环境请参考文档安装fts相关环境[点击此处](../onnxruntime/readme.md)
## 编译TLG.fst
```shell
# Compile the lexicon and token FSTs
fst/compile_dict_token.sh lm lm/tmp lm/lang