rhasspy / espeak-phonemizer

Uses ctypes and libespeak-ng to transform test into IPA phonemes
GNU General Public License v3.0
20 stars 8 forks source link

the espeaks phonemizer is ruined in some languages #2

Open denizsincar29 opened 1 year ago

denizsincar29 commented 1 year ago

Hello. When I tried the russian irina for piper synth, I noticed that the numbers was pronounced incorrectly. When I analysed it better, I heard something similar to espeak. Espeak pronounces noil for number zero, so does piper Irina, but the correct is nol'. That applies for almost all numbers in russian.

msftcangoblowm commented 1 year ago

This issue should be submitted upstream.

espeak-phonemizer is a python wrapper for libespeak-ng.

So if libespeak-ng gives unacceptable results, that issue can't be addressed on the python wrapper level

Please resubmit this issue to here

denizsincar29 commented 1 year ago

but the russian espeak speaks perfectly and made specificaly for espeak. I don't want to change enything in espeaks pronounce, just in pipers.

msftcangoblowm commented 1 year ago

@denizsincar29

but the russian espeak speaks perfectly and made specificaly for espeak. I don't want to change enything in espeaks pronounce, just in pipers.

Respectfully, espeak contains no language specific parsing. There is nothing espeak Python wrapper for epeak_ng can do to fix issues outside of espeak.

These both contain language specific parsing pertaining to preprocessing text.

gruut is not stable atm. So can you try the later and see if it cleans up Russian numbers

denizsincar29 commented 1 year ago

the fact that espeak works good with it's own phonemizer can not be a guarantee that piper will be good with it. E.g. espeak doesn't cair on palatalized «l» in russian. because it sounds good with espeak. however piper is natural engine so it must have different tecniques on phonemizing. so we got ruined russian voice.