Skip to content

Conversation

jindongyi011039
Copy link
Contributor

PR types

Function optimization

PR changes

APIs

Describe

Thank you very much for #2538‘s treatment of Chinese polyphonics. Based on 2538, this PR adds support for Chinese polyphonics when using mixed Chinese and English models。

test case:
paddlespeech tts --input "你好吗,<speak>我们的声学模型使用了 Fast Speech Two。前浪<say-as pinyin='dao3'>倒</say-as>在沙滩上,沙滩上倒了一堆<say-as pinyin='tu3'>土</say-as>。 想象<say-as pinyin='gan1 gan1'>干干</say-as>的树干<say-as pinyin='dao3'>倒</say-as>了, 里面有个干尸,不知是被谁<say-as pinyin='gan4'>干</say-as>死的。</speak>thank you." --am fastspeech2_mix --lang mix --spk_id 174 --output tts_mix174.wav

@mergify mergify bot added the T2S label Jan 13, 2023
@yt605155624 yt605155624 requested a review from lym0302 January 13, 2023 02:40
@yt605155624 yt605155624 added this to the r1.4.0 milestone Jan 13, 2023
@yt605155624 yt605155624 marked this pull request as ready for review January 13, 2023 02:44
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

@lym0302 lym0302 merged commit 742523f into PaddlePaddle:develop Jan 13, 2023
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.

3 participants