Debug prints for phoneme extraction

This commit is contained in:
Eren Golge
2019-01-16 12:26:21 +01:00
parent 85a1990cc6
commit 0e73b6ba45
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -75,6 +75,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