As I commented before I am trying to build and test quite an easy program for isolated word recognition. It will have to recognize 29 words (the spanish spelling aphabet). As a first approach, I try to emulated a database such as an4 but with my own data. What I have done is:
I have constructed a corpus of 10 samples per word using a TTS engine (afterwards I will record a true one)
created a LM using SimpleLM with few modifications (for me, it did not work out of the box). I have also renamed some of the output files so as to match the an4's name convention.
setup SphinxTrain and Pocketsphinx
feature extraction
training and decoding (apart from the paths, the configuration is the same as for an4)
An4 decode works fine. However, while I decode for my own task (romulo) it raises the following error:
FATAL_ERROR: "......\src\libpocketsphinx\lm_3g.c", line 736: fopen($PATH/romulo/etc/ romulo.ug.lm,r) failed;
I had some errors during the training but those were due to the lack of senones.
My LM is a 3-gram whereas an4's in 2-gram, is this the reason? How can I solve it?
If it is not because of that, do you have any clue??
Thanks!!
Coriscow
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all!
As I commented before I am trying to build and test quite an easy program for isolated word recognition. It will have to recognize 29 words (the spanish spelling aphabet). As a first approach, I try to emulated a database such as an4 but with my own data. What I have done is:
I have constructed a corpus of 10 samples per word using a TTS engine (afterwards I will record a true one)
created a LM using SimpleLM with few modifications (for me, it did not work out of the box). I have also renamed some of the output files so as to match the an4's name convention.
setup SphinxTrain and Pocketsphinx
feature extraction
training and decoding (apart from the paths, the configuration is the same as for an4)
An4 decode works fine. However, while I decode for my own task (romulo) it raises the following error:
FATAL_ERROR: "......\src\libpocketsphinx\lm_3g.c", line 736: fopen($PATH/romulo/etc/ romulo.ug.lm,r) failed;
I had some errors during the training but those were due to the lack of senones.
My LM is a 3-gram whereas an4's in 2-gram, is this the reason? How can I solve it?
If it is not because of that, do you have any clue??
Thanks!!
Coriscow
Hi Nickolay!
you were right, after searching through several scripts and source files I found I wrote that space. Thanks a lot!
Best regards!!
coriscow
fopen($PATH/romulo/etc/ romulo.ug.lm,r)
because of space after /etc/ or different slashes? It just fails to find a file, check that it present.