bootphon / phonemizer

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

espeak-ng installation on macOS #159

Closed fakerybakery closed 7 months ago

fakerybakery commented 8 months ago

Hi, How can I install this package on macOS? I've installed espeak-ng using MacPorts, but I'm getting this error:

Error processing file '/usr/share/espeak-ng-data/phontab': No such file or directory.
mmmaat commented 7 months ago

Hi, I suspect this is an issue with your installation of espeak, not phonemizer...

Can you try a simple espeak command such as echo 'this is a test' | espeak-ng -x -q --ipa -v en-us and espeak-ng --version ?

mmmaat commented 7 months ago

Well... your espeak-ng-data cannot be found by espeak. See https://github.com/espeak-ng/espeak-ng/issues/1667. You can fix it be setting the ESPEAK_DATA_PATH environment variable accordingly.

fakerybakery commented 7 months ago

echo 'this is a test' | espeak-ng -x -q --ipa -v en-us

I am getting ðɪs ɪz ɐ tˈɛst

I will try setting ESPEAK_DATA_PATH