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
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. I guess because it doesn’t have DTW as preprocess module?
BTW, I am always using
pocketsphinxController.pathToTestFile = wavFilePath
and
[self.pocketsphinxController startListeningWithLanguageModelAtPath:self.pathToGrammarToStartAppWith
dictionaryAtPath:self.pathToDictionaryToStartAppWith
acousticModelAtPath:[OEAcousticModel pathToModel:@”AcousticModelEnglish”]
languageModelIsJSGF:YES];