Hi, everyone.
I'm building an app with sphinx, but I have faced some problems.
I copyed the "assets" folder from demo, but there is something wrong with SpeechRecognizerSetup.defaultSetup():
"E/cmusphinx: FATAL: "cmn.c", line 126: Unknown CMN type 'batch'
Besides, it will suddenly go back to MainActivity.
I copied all code and whole "assets", but it seems doesn't work.
Hope for some help, thanks.
"E/cmusphinx: FATAL: "cmn.c", line 126: Unknown CMN type 'batch'
This was discussed before, you can search the forum. The codebase is too old, before the type was 'current', now its 'batch'. You need to update the pocketsphinx codebase.
Last edit: Nickolay V. Shmyrev 2019-03-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, everyone.
I'm building an app with sphinx, but I have faced some problems.
I copyed the "assets" folder from demo, but there is something wrong with SpeechRecognizerSetup.defaultSetup():
"E/cmusphinx: FATAL: "cmn.c", line 126: Unknown CMN type 'batch'
Besides, it will suddenly go back to MainActivity.
I copied all code and whole "assets", but it seems doesn't work.
Hope for some help, thanks.
Last edit: Junbang Ma 2019-03-03
I'm using Windows.
My condolences!
This was discussed before, you can search the forum. The codebase is too old, before the type was 'current', now its 'batch'. You need to update the pocketsphinx codebase.
Last edit: Nickolay V. Shmyrev 2019-03-03
After using new version of codebase, it worked. Thanks a lot.