Add jieba for Chinese TTS models (#797)

This commit is contained in:
Fangjun Kuang
2024-04-21 14:47:13 +08:00
committed by GitHub
parent 2e0ee0e8c8
commit 6b353bfb42
14 changed files with 513 additions and 8 deletions

View File

@@ -22,6 +22,10 @@ struct OfflineTtsVitsModelMetaData {
bool is_coqui = false;
bool is_icefall = false;
// for Chinese TTS models from
// https://github.com/Plachtaa/VITS-fast-fine-tuning
int32_t jieba = 0;
// the following options are for models from coqui-ai/TTS
int32_t blank_id = 0;
int32_t bos_id = 0;