Thank you very much for your reply. Yes, I realize this is the reason. However, we are doing about the word dependent phoneme which will have a big phoneme set. I cannot reduce the set, it's given. Is there any way to play with the .c file to rise the threshold?
Thank you once again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, dear all,
I am using a trained model and pockectsphinx_batch to recognize one file with the command:
However, the result pop up a error:
If I remove the option -jsgf, everything will go through well. My grammar file is listed as below:
~~~~~~~~~~~
JSGF V1.0;
grammar dog;
public
= <simple>;<simple>=THE BIG BLACK DOG CAUGHT THE STICK;
~~~~~~~~~
Does anyone know this problem? Thank you very much!Last edit: Nickolay V. Shmyrev 2014-05-02
The message says you your model has too many phones. Use less phones and it will work.
Thank you very much for your reply. Yes, I realize this is the reason. However, we are doing about the word dependent phoneme which will have a big phoneme set. I cannot reduce the set, it's given. Is there any way to play with the .c file to rise the threshold?
Thank you once again.
This is a bad idea. If you have more than 20 words, don't use word-dependent phonemes.
Thank you. I have fixed that. Just set the FSG_PNODE_CTXT_BVSZ parameter a little larger. Then I can go through it.
same thing happene here also, and fixed in the fsg_lextree.h not in fsg_lextree.c