festvox / flite

A small fast portable speech synthesis system
Other
859 stars 186 forks source link

Problems with lex_lookup #82

Open isobely79797 opened 1 year ago

isobely79797 commented 1 year ago

I'm trying to install lex_lookup on Cygwin but I keep getting an error message: $ cd testsuite $ make lex_lookup make: *** No rule to make target 'lex_lookup'. Stop.

How can I get this to work?

Erickrus commented 1 year ago

I tested these steps in colab environment. Hope, this can solve your problem.

# download and decompress the package
# wget http://tts.speech.cs.cmu.edu/awb/flite-2.0.5-current.tar.bz2
# bzip2 -d flite-2.0.5-current.tar.bz2
# tar -xvf flite-2.0.5-current.tar
# mv flite-2.0.5-current flite

# recently I notice, server tts.speech.cs.cmu.edu is off
# let's use github's version instead, which is version 2.1-release
git clone https://github.com/festvox/flite

# install flite
cd flite && ./configure 
cd flite && make
cd flite && make install

# install lex_lookup
cd flite/testsuite && make
cp flite/testsuite/lex_lookup /usr/local/bin
chmod 777 /usr/local/bin/lex_lookup

# test
lex_lookup tiktok

Finally the output is:

(t iy1 k t ax0 k)
tejkiran-v commented 12 months ago

Thanks, this worked!