Skip to content
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

[TTS]Add SSML for Chinese Text Frontend #2531

Merged
merged 16 commits into from
Oct 21, 2022

Conversation

david-95
Copy link
Contributor

…=tts

PR types

PR changes

Describe

@mergify mergify bot added the T2S label Oct 14, 2022
@yt605155624 yt605155624 added this to the r1.3.0 milestone Oct 17, 2022
@yt605155624
Copy link
Collaborator

可以给一个输入案例

@yt605155624
Copy link
Collaborator

CI 报错了
image
可能需要在这个文件,加一行

from . import ssml

https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/__init__.py

@david-95
Copy link
Contributor Author

david-95 commented Oct 17, 2022

Test Examples:

00001 "希腊"神话,不只是?人类的想象!
00002 你好吗?<speak>前浪<say-as pinyin='dao3'>倒</say-as>在沙滩上,沙滩上倒了一堆<say-as pinyin='tu3'>土</say-as>。 想象<say-as pinyin='gan1 gan1'>干干</say-as>的树干倒了, 里面有个干尸,不知是被谁<say-as pinyin='gan4'>干</say-as>死的。</speak>你很好。哈哈哈

@yt605155624 yt605155624 changed the title enable chinese words' pinyin specified in text of ssml formats, test… [TTS]enable chinese words' pinyin specified in text of ssml formats Oct 17, 2022
@yt605155624 yt605155624 changed the title [TTS]enable chinese words' pinyin specified in text of ssml formats [TTS]Add SSML for Chinese Text Frontend Oct 17, 2022
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Outdated Show resolved Hide resolved
paddlespeech/t2s/ssml/xml_processor.py Show resolved Hide resolved
@mergify mergify bot added the README label Oct 20, 2022
yt605155624
yt605155624 previously approved these changes Oct 20, 2022
Copy link
Collaborator

@yt605155624 yt605155624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yt605155624
Copy link
Collaborator

未按照标点切分句子,merge_sentences=False 无效, 输入超长句子会 OOM

Copy link
Collaborator

@yt605155624 yt605155624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yt605155624 yt605155624 merged commit f5e80ce into PaddlePaddle:develop Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants