From c880db53646ab9fd26417f4baf004ab44cc24e1a Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期五, 28 六月 2024 01:28:24 +0800
Subject: [PATCH] Fix: Return tuple ('', []) when char_list is empty to prevent ValueError (#1857)
---
runtime/docs/lm_train_tutorial.md | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/runtime/docs/lm_train_tutorial.md b/runtime/docs/lm_train_tutorial.md
index e0b427b..65cecc2 100644
--- a/runtime/docs/lm_train_tutorial.md
+++ b/runtime/docs/lm_train_tutorial.md
@@ -6,6 +6,7 @@
```shell
# 涓嬭浇: 绀轰緥璁粌璇枡text銆乴exicon 鍜� am寤烘ā鍗曞厓units.txt
wget https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/requirements/lm.tar.gz
+# 濡傛灉鏄尮閰�8k鐨刟m妯″瀷锛屼娇鐢� https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/requirements/lm_8358.tar.gz
tar -zxvf lm.tar.gz
```
@@ -25,7 +26,9 @@
```
## 缂栬瘧TLG.fst
+缂栬瘧TLG闇�瑕佷緷璧杅st鐨勭幆澧冿紝璇峰弬鑰冩枃妗e畨瑁協ts鐩稿叧鐜锛圼鐐瑰嚮姝ゅ](../onnxruntime/readme.md)锛�
```shell
+
# Compile the lexicon and token FSTs
fst/compile_dict_token.sh lm lm/tmp lm/lang
--
Gitblit v1.9.1