-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 mix frontend #2143
[tts] add mix frontend #2143
Conversation
paddlespeech/t2s/exps/syn_utils.py
Outdated
@@ -29,6 +29,7 @@ | |||
|
|||
from paddlespeech.t2s.datasets.data_table import DataTable | |||
from paddlespeech.t2s.frontend import English | |||
from paddlespeech.t2s.frontend.mix_frontend import Mix_Frontend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
类名不要加下划线
sentence: str, | ||
merge_sentences: bool=True, | ||
get_tone_ids: bool=False, | ||
robot: bool=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
robot print_info 这两个参数在此处无用可以删掉
content, merge_sentences=True) | ||
|
||
phones_seg.append(input_ids["phone_ids"][0]) | ||
phones_seg.append(self.sp_id_tensor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英文中间加的 sp 要用个变量控制下?
PR types
New feature
PR changes
add mixed frontend
Describe
add mixed frontend