2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
Other
26.77k stars 2.91k forks source link

【Bug】文本中如果有数字和中文混合的内容数字不能正确的合成 #412

Open guozanhua218 opened 1 week ago

guozanhua218 commented 1 week ago

如标题所述

fumiama commented 1 week ago

请尝试正确安装WeTextProcessing包,该包就是为了解决此问题。当然更好的办法还是让模型支持数字。

jianchang512 commented 1 week ago

中文的数字处理可以考虑使用百度的PaddlePaddle text normlization代码

目前集成的wetext只可conda下才能安装,兼容性不好

https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/paddlespeech/t2s/frontend/zh_normalization

fumiama commented 1 week ago

考虑将normlization做成接口,库中不再包含任一实现。