lyblsgo
2023-11-10 a0d5a61d109b0193707e4f8799cd4d830499f321
update docs
1个文件已修改
2 ■■■■■ 已修改文件
runtime/docs/lm_train_tutorial.md 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/docs/lm_train_tutorial.md
@@ -24,8 +24,10 @@
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