I tried to install OpenFst to use it with SphinxTrain and recompile it with g2p enabled, and it seem to work but I got stuck with the following error :
checking fst/fstlib.h usability...
no checking fst/fstlib.h presence...
no checking for fst/fstlib.h...
no configure: error: fst/fstlib.h header not found
But the OpenFst binaries are well installed in /usr/local/lib/fst and the header too in /usr/local/include/fst..
Can anyone give me a clue about the issue ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I tried to install OpenFst to use it with SphinxTrain and recompile it with g2p enabled, and it seem to work but I got stuck with the following error :
checking fst/fstlib.h usability...
no checking fst/fstlib.h presence...
no checking for fst/fstlib.h...
no configure: error: fst/fstlib.h header not found
But the OpenFst binaries are well installed in /usr/local/lib/fst and the header too in /usr/local/include/fst..
Can anyone give me a clue about the issue ?
It looks in /usr/include by default, not in /usr/local/include. You probably need to set CFLAGS and LDFLAGS before configure:
Overall I do not recommend you to use this feature, it never worked well. Use phonetisaurus to extend the dictionary or g2p-seq2seq.
Hello,
thank you Nickolay for the answer, I have seen phonetisaurus but
I have another question, to extend a dictionary, what tool of phonetisaurus have I to use (g2p, align...) ?
And about phonetisaurus I didn't see an "output" option to write the generated dictionary in a file ?
You just redirect the output to a file:
You can also try g2p-seq2seq, it should work pretty well
http://github.com/cmusphinx/g2p-seq2seq
Tracked at https://sourceforge.net/p/cmusphinx/bugs/349/
Last edit: Nickolay V. Shmyrev 2016-07-07