mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
Debug prints for phoneme extraction
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user