handling dates better with the text cleaner

This commit is contained in:
erogol
2020-06-23 13:29:55 +02:00
parent 1324117703
commit ccba431cda
5 changed files with 49 additions and 108 deletions
-1
View File
@@ -77,7 +77,6 @@ def phoneme_to_sequence(text, cleaner_names, language, enable_eos_bos=False, tp=
_phonemes_to_id = {s: i for i, s in enumerate(_phonemes)}
sequence = []
text = text.replace(":", "")
clean_text = _clean_text(text, cleaner_names)
to_phonemes = text2phone(clean_text, language)
if to_phonemes is None: