bootphon / phonemizer

Simple text to phones converter for multiple languages
https://bootphon.github.io/phonemizer/
GNU General Public License v3.0
1.19k stars 166 forks source link

[ERROR] espeak-1.48.04: unrecognized option `--sep=_' #64

Closed a-froghyar closed 3 years ago

a-froghyar commented 3 years ago

OS: OS X phonemizer v2.2.2 python: 3.8 Backend: espeak

mmmaat commented 3 years ago

this is a espeak version issue, can I have phonemize --version?

a-froghyar commented 3 years ago

phonemizer-2.2.2 available backends: espeak-1.48.04, segments-2.2.0 uninstalled backends: espeak-mbrola, festival

mmmaat commented 3 years ago

maybe espeak-1.48.04... I test it against espeak-1.48.03. Try to modify https://github.com/bootphon/phonemizer/blob/master/phonemizer/backend/espeak.py#L156 and let me know if it works

mmmaat commented 3 years ago

or even better, install espeak-ng. It usually give a better output...

a-froghyar commented 3 years ago

You were right, my brew installation of espeak-ng was acting up, brew install espeak-ng and then brew link --overwrite espeak-ng did the trick, thanks for the quick replies!