config update

This commit is contained in:
Eren Golge
2019-03-22 19:12:58 +01:00
parent ff7258062c
commit d6307fbb7f
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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)