grammar testgrammar;
public <sentence> = AND WHAT DOES FATHER DO; </sentence>
According to the official document. The speaker must say "AND WHAT DOES FATHER
DO". But somehow I got "AND WHAT DOES FATHER" if I said "and what does
father". Is this normal? I didn't say the correct sequence!
thanks for the help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To nshmyrev: I use pocketsphinx-0.7 which is downloaded from the website, is
that right?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-02-22
No, 0.7 still does not follow grammar strictly. Today's snapshot does, and
consequently (maybe also for other reasons) achieves significantly improved
recognition results with my finite state grammar (-25% WER, -50% for some
acoustic models).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI, I have a problem.
I made a grammar like this:
JSGF V1.0;
grammar testgrammar;
public <sentence> = AND WHAT DOES FATHER DO; </sentence>
According to the official document. The speaker must say "AND WHAT DOES FATHER
DO". But somehow I got "AND WHAT DOES FATHER" if I said "and what does
father". Is this normal? I didn't say the correct sequence!
thanks for the help.
Assuming that you are running pocketsphinx, try with -bestpath option set to
"no". You'll likely get more adherence to the grammar rules this way.
It also depends on the version. In recent snapshot the grammar should be
strictly followed.
Thanks to creative64, I'll try it!
To nshmyrev: I use pocketsphinx-0.7 which is downloaded from the website, is
that right?
No, 0.7 still does not follow grammar strictly. Today's snapshot does, and
consequently (maybe also for other reasons) achieves significantly improved
recognition results with my finite state grammar (-25% WER, -50% for some
acoustic models).
Nice it works for you. I really hope to release a new version with current
improvements soon.
Thanks for your awesome work!