Reply To: [Resolved] Wondering how to add words to be recognized in app

Home Forums OpenEars [Resolved] Wondering how to add words to be recognized in app Reply To: [Resolved] Wondering how to add words to be recognized in app

#1023136
Halle Winkler
Politepix

Welcome,

You just need to generate a new language model (in the same way you generated your initial model) and then call PocketsphinxController’s method:

- (void) changeLanguageModelToFile:(NSString *)languageModelPathAsString withDictionary:(NSString *)dictionaryPathAsString;

On an already-running listening session. This will switch over to your new model without any delay.