Menu

Android Sphinx error

Help
Junbang Ma
2019-03-03
2019-03-04
  • Junbang Ma

    Junbang Ma - 2019-03-03

    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
  • Junbang Ma

    Junbang Ma - 2019-03-03

    I'm using Windows.

     
    • Nickolay V. Shmyrev

      I'm using Windows.

      My condolences!

      "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
      • Junbang Ma

        Junbang Ma - 2019-03-04

        After using new version of codebase, it worked. Thanks a lot.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.