Fix generating Chinese lexicon for Kokoro TTS 1.0 (#1888)

This commit is contained in:
Fangjun Kuang
2025-02-18 12:51:26 +08:00
committed by GitHub
parent 4e83b3473b
commit 774cf662a4
2 changed files with 17 additions and 9 deletions

View File

@@ -114,11 +114,6 @@ if [ ! -f ./lexicon-zh.txt ]; then
./generate_lexicon.py
fi
grep '还钱' ./lexicon-zh.txt
sed -i.bak 's/还钱 x a i/还钱 x w a/' ./lexicon-zh.txt
rm -v ./lexicon-zh.txt.bak
grep '还钱' ./lexicon-zh.txt
if [ ! -f ./voices.bin ]; then
./generate_voices_bin.py
fi