Merge pull request #2235 from david-95/hongliang-dev

add filter for double punctuation in sentences; add homonym, test=tts
pull/2244/head
TianYuan 2 years ago committed by GitHub
commit 0eb598b876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,7 +101,8 @@ class English(Phonetics):
if (phn in self.vocab_phones and phn not in self.punc) else "sp"
for phn in phones
]
phones_list.append(phones)
if len(phones) != 0:
phones_list.append(phones)
if merge_sentences:
merge_list = sum(phones_list, [])

Loading…
Cancel
Save