Debug prints for phoneme extraction

This commit is contained in:
Eren Golge
2019-01-16 12:06:59 +01:00
parent e6750ca652
commit 7edb53ce63
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -24,6 +24,7 @@ def phoneme_to_sequence(text, cleaner_names):
clean_text = _clean_text(text, cleaner_names)
for word in clean_text.split():
phonemes_text = text2phone(word)
print(word, ' -- ', phonemes_text)
if phonemes_text == None:
print("!! After phoneme conversion the result is None. -- {} ".format(word))
continue