Reply To: [Resolved] generateLanguageModelFromArray problem

Home Forums OpenEars [Resolved] generateLanguageModelFromArray problem Reply To: [Resolved] generateLanguageModelFromArray problem

#1024211
maxgarmar
Participant

Ok, sorry for that senseless word, I wanted to say that is crazy to create a new language model with a different name for every word the user introduce in the app. Anyway I don’t know how I did the test before but I did not do it correctly because you are right with:

3. Does it happen if you make OELanguageModelGenerator a property of your view controller and alloc/init it in viewDidLoad (or similar) rather than using it as a method variable?

If the OELanguageModelGenerator is created just one in viewDidLoad and not allocated again, it is not failing.

Many thanks again, Halle. I hope I don’t have to disturb you anymore

You can close this thread also