File size: 361 Bytes
12da045 cd8454d | 1 2 3 4 5 6 7 8 | SITE_PATH=$HOME/.conda/envs/token/lib/python3.10/site-packages
# fix bugs for LangSegment 0.2.0
sed -i -r 's/,setLangfilters,getLangfilters//' $SITE_PATH/LangSegment/__init__.py
# patch for pypinyin
cp pypinyin/phrases_dict.json $SITE_PATH/pypinyin/phrases_dict.json
# patch for tn
cp whitelist/english/new_tts.tsv $SITE_PATH/tn/english/data/whitelist/tts.tsv
|