Closed Ldoun closed 3 years ago
Hi, this is the normal behavior of espeak when it encounters isolated marks to "pronounce" them... You have two solutions.
punctuation_marks
argument to keep those marks unprocessed: >>> phonemize('~',language='ko',backend='espeak',language_switch='remove-flags',preserve_punctuation=True, punctuation_marks='~')
'~'
okay got it~ thanks for the reply
Phonemizer phonemize character '~' to 'tɪldə '
Phonemizer version : 2.2.2 System: Window - Windows Subsystem for Linux
phonemize('~',language='ko',backend='espeak',language_switch='remove-flags',preserve_punctuation=True)
charater '~' can't be pronounced so I think it is wise to delete this character if it was given as input