Build APK with replace.fst (#2254)

This commit is contained in:
Fangjun Kuang
2025-05-28 12:19:29 +08:00
committed by GitHub
parent 640ceb5513
commit 16a3449945
4 changed files with 28 additions and 1 deletions

View File

@@ -45,6 +45,8 @@ class Model:
rule_fsts: str = ""
use_hr: bool = False
# See get_2nd_models() in ./generate-asr-2pass-apk-script.py
def get_models():
@@ -98,6 +100,7 @@ def get_models():
lang="zh_en_ko_ja_yue",
lang2="中英粤日韩",
short_name="sense_voice",
use_hr=True,
cmd="""
pushd $model_name