Open NLPerxue opened 1 year ago
https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/frontend/polyphonic.yaml 这里添加多音字。
感谢! 请问这个可以直接用在推理部署阶段吗?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@NLPerxue
可以看下 https://github.com/k2-fsa/sherpa-onnx/pull/409
纯 c++ 实现,并且还提供各种语言的 api, 比如 python/c/kotlin/swift/c#/go 等等。
已解决,在https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/frontend/polyphonic.yaml
这里添加多音字后,需要重新安装PaddleSpeech
# 请确保目前处于PaddleSpeech项目的根目录
pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple
如题,“银行”、“行人”等模型可以正确识别;但是“欢迎来到我行办理业务”这种情况模型无法正确处理多音字,应该怎么解决?