We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
g2p.md
So, if you want to use common G2P tools in text frontend such as pypinyin and g2pM, you should pay attention to the following rules:
for c, v in zip(orig_initials, orig_finals): if re.match(r'i\d', v): if c in ['z', 'c', 's']: v = re.sub('i', 'ii', v) elif c in ['zh', 'ch', 'sh', 'r']: v = re.sub('i', 'iii', v)
https://github.com/PaddlePaddle/PaddleSpeech/blob/0fa3fdb9ee89ca399b0f63ef2117c6370dc1f33d/paddlespeech/t2s/frontend/zh_frontend.py#L118
:)
The text was updated successfully, but these errors were encountered:
That's very kind of you. Thanks a lot.
Sorry, something went wrong.
No branches or pull requests
g2p.md
So, if you want to use common G2P tools in text frontend such as pypinyin and g2pM, you should pay attention to the following rules:
https://github.com/PaddlePaddle/PaddleSpeech/blob/0fa3fdb9ee89ca399b0f63ef2117c6370dc1f33d/paddlespeech/t2s/frontend/zh_frontend.py#L118
:)
The text was updated successfully, but these errors were encountered: