#8 Auto detect existing Festival dictionary

open
nobody
None
5
2012-12-05
2011-04-01
Anonymous
No

One other thing about Festival. I have a ~/.festivalrc file that
can tell Festival how to pronounce unusual English names etc.
Ekho works OK without this .festivalrc, but when it is there and
I try to make ekho speak a word that is in .festivalrc, I get:

Phone "@" not member of PhoneSet "radio"
Phone @ not in phone set radio
pa_simple_write failed: Invalid argument

and no audio. It seems this is because my .festivalrc is set up
for British English, but you are using American English, and the
phonesets are different :-(

So I wanted to find out if I can make ekho use my British
festival installation. I did this:

cd /usr/share/ekho-data/festival/lib
mv voices voices0
ln -s /usr/share/festival/voices
mv dicts dicts0
ln -s /usr/share/festival/dicts

and it worked! It would be nice if the package install script
can do this by default if /usr/share/festival/voices and
/usr/share/festival/dicts exists on the system, so that users
can use their own customised English dictionaries :-)

Discussion