bootphon / phonemizer

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

[ERROR] espeak-1.49.2: No envelope #79

Closed Lizh-TW closed 2 years ago

Lizh-TW commented 2 years ago

Hi, when I used get this problem. image

And I create a Colab, Please tell me how to solve this problem. thank you.

https://colab.research.google.com/drive/1GPAiKNez-E7dekMPYz0JbPtQUw2d2ATy?usp=sharing

mmmaat commented 2 years ago

Hi, the espeak version is responsible for the bug. On colab you are on Ubuntu Bionic with espeak-1.49.2 which seems to crach on cmn lang. I don't know why. But using the latest espeak version works. In your colab, replace the !apt get-install espeak ... cell by:

!apt-get install make autoconf automake libtool pkg-config gcc libsonic-dev libpcaudio-dev
!git clone https://github.com/espeak-ng/espeak-ng.git
!cd espeak-ng && ./autogen.sh && ./configure --with-extdict-cmn && make && make install && ldconfig

This git clone, compile and install the latest espeak version. It should work.

Lizh-TW commented 2 years ago

@mmmaat Thanks for your reply! ^v^