Menu

Need help in figuring ngram_search.c error in Voice app

Help
2019-03-05
2019-03-17
  • Gaurav Chopra

    Gaurav Chopra - 2019-03-05

    I need some help in figuring the source and/or how to debug this error shown below. I am using pocketsphinx for running recognition on the app.

    I/cmusphinx: INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
    I/SpeechRecognizer: Stop recognition
    E/cmusphinx: ERROR: "ngram_search.c", line 1139: Couldn't find <s> in first frame
    Application terminated.

    I get this error randomly when my voice app is running but I don’t speak for a while.
    Can you send me pointers to prevent this issue from appearing again on my android device??

    Regards
    Gaurav

     

    Last edit: Gaurav Chopra 2019-03-05
    • Nickolay V. Shmyrev

      This might be caused by too short utterance. Could be fixed in pocketsphinx sources with addtional checks.

       
      • Arush Nagpal

        Arush Nagpal - 2019-03-13

        Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?

         
      • Arush Nagpal

        Arush Nagpal - 2019-03-13

        Too short utterance can always be a use case. I didn't exactly get the part of fixing pocketsphinx sources and additional checks. Do I need to add something in the dictionary or lm file?

         

        Last edit: Arush Nagpal 2019-03-13
  • Gaurav Chopra

    Gaurav Chopra - 2019-03-17

    Hi Nickolay, Appreciate your help if you an suggest what kind of validations I need to put in PocketShinx Source.

     

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.