Home › Forums › OpenEars plugins › programatically start and stop openEars/RapidEars swift › Reply To: programatically start and stop openEars/RapidEars swift
Change from one language model to another. This lets you change which words you are listening for depending on the context in your app. If you have already started the recognition loop and you want to switch to a different language model, you can use this and the model will be changed at the earliest opportunity. Will not have any effect unless recognition is already in progress. It isn’t possible to change acoustic models in the middle of an already-started listening loop, just language model and dictionary.
Swift 3: changeLanguageModel(toFile: String!, withDictionary: String!)
This is what I got from Documentation. but I don’t see where to change set of words array in that.