@ -99,8 +99,6 @@ class English(Phonetics):
if (phn in self.vocab_phones and phn not in self.punc) else "sp"
for phn in phones
]
# when sentences have double punctuations in the end, like "!\"",or "?\"", will get null list like []
# add a condition to filter it
if len(phones) != 0:
# replace unk phone with sp
phones_list.append(phones)