We have entered single words (one word per line) into phrases1.txt file and used the following code in the modified OpenEarsSampleApp to generate the language model:
LanguageModelGenerator *languageModelGenerator =
[[LanguageModelGenerator alloc] init];
NSString *phrasesPath = [[NSBundle mainBundle] pathForResource:@"phrases1"
NSError *error =
Should the generated OpenEarsDynamicGrammar.dic contain only the words that aren’t found in the CMU dictionary? As of now, it contains all the words from phrases1.txt.
At worst, we would like to have at least 60% accuracy (that is, 6 successes from 10 experiments). 80% and higher accuracy would be good enough.