Home › Forums › OpenEars plugins › Applying a tricky format to JSGF grammar file in OpenEars stack usage › Reply To: Applying a tricky format to JSGF grammar file in OpenEars stack usage
May 21, 2015 at 8:04 am
#1025800
Halle Winkler
Politepix
If I generate this:
@{
ThisWillBeSaidOnce = (
“SO HOW LONG HAVE YOU BEEN FEELING LIKE THIS”);
}And speak “SO LONG YOU FEELING THIS”, OpenEars will never output hypothesis like “SO LONG YOU FEELING THIS”, no matter how good the pronunciation is.
This is the correct behavior – the purpose of a grammar is to restrict utterances to the allowable phrases in the grammar. If you want to be able to recognize various subsets of a phrase, a language model is the correct approach.