-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API接口如何处理多音字比如”还(hai2)不还(huan2)钱“ #143
Comments
It is a good question! Perhaps you could follow these steps:
I have provided an example of my experiment for your reference. |
那我该如何去判断是h ai2还是h uan2呢,在input参数的文本上添加标记么。比如:“input”: “还(h ai2)不还(h uan2)钱”。然后去修改frontend.py中的方法去判断吗? |
API接口如何处理多音字比如”还(hai2)不还(huan2)钱“ 。两个还出来的是一样的发音。
{
"input": "还不还钱",
"voice": "",
"prompt": "",
"language": "zh_us",
"model": "emoti-voice",
"response_format": "mp3",
"speed": 1.0
}
导出的MP3:https://github.com/netease-youdao/EmotiVoice/assets/37178037/f9a19d84-9b63-4adf-9c62-e8663c8cb0a7
The text was updated successfully, but these errors were encountered: