mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
config update
This commit is contained in:
@@ -44,7 +44,8 @@ def phoneme_to_sequence(text, cleaner_names, language):
|
||||
'''
|
||||
TODO: This ignores punctuations
|
||||
'''
|
||||
sequence = [_phonemes_to_id['^']]
|
||||
# sequence = [_phonemes_to_id['^']]
|
||||
sequence = []
|
||||
clean_text = _clean_text(text, cleaner_names)
|
||||
phonemes = text2phone(clean_text, language)
|
||||
# print(phonemes.replace('|', ''))
|
||||
@@ -81,7 +82,7 @@ def text_to_sequence(text, cleaner_names):
|
||||
List of integers corresponding to the symbols in the text
|
||||
'''
|
||||
sequence = []
|
||||
sequence = [_phonemes_to_id['^']]
|
||||
# sequence = [_phonemes_to_id['^']]
|
||||
# Check for curly braces and treat their contents as ARPAbet:
|
||||
while len(text):
|
||||
m = _curly_re.match(text)
|
||||
|
||||
Reference in New Issue
Block a user