Home › Forums › OpenEars plugins › RapidEars 2.04 – crash when using within Cocos2d › Reply To: RapidEars 2.04 – crash when using within Cocos2d
Hi,
You can’t change the contents of LanguageModelGeneratorLookupList.text other than to add things to it – you will definitely have crashes if you reduce the number of items in LanguageModelGeneratorLookupList.text. But my suggestion wasn’t to check out your acoustic model, it was to check out the contents of the language model and .dic file that OpenEars is generating for you. The crash is happening because they don’t match, so that is where to direct your troubleshooting.
For instance, in the log you showed, there is a language model file being passed to OEPocketsphinxController called lession_vocal_A_0.DMP and a dictionary called lession_vocal_A_0.dic, and the crash is happening because lession_vocal_A_0.dic doesn’t have the words from lession_vocal_A_0.DMP in it. Please check out lession_vocal_A_0.dic and see if it contains the words you expect it to contain when there is a crash.