mirror of
https://github.com/wassname/TTS.git
synced 2026-10-29 12:51:00 +08:00
git commit bug fix for phonimizer
This commit is contained in:
1 parent
f96945443e
commit
06a7aeb26d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ _id_to_phonemes = {i: s for i, s in enumerate(phonemes)}
|
||||
_curly_re = re.compile(r'(.*?)\{(.+?)\}(.*)')
|
||||
|
||||
# Regular expression matchinf punctuations, ignoring empty space
|
||||
pat = r'['+_phoneme_punctuations[:-1]+']+'
|
||||
pat = r'['+_phoneme_punctuations+']+'
|
||||
|
||||
|
||||
def text2phone(text, language):
|
||||
|
||||
Reference in new issue
Block a user