Menu

PocketSphinx: How to start speech recognition without saying search keyword

Help
sarah
2017-04-18
2019-11-26
  • sarah

    sarah - 2017-04-18

    From documentation i understand that to begin search(decoding) from language model we have to pass searching term first, like for keyword we say "ok mighty computer" and it responds, and if we want to search from language model we have to do this recognizer.addNgramSearch(FORECAST_SEARCH, languageModel);there must be send something first in order to initialize(I'm confused, m i right or wrong, please correct me),

    I want do speech recognition as soon as activity starts, whatever we say it should print on the screen when stop speaking, how can i do this

     
  • sarah

    sarah - 2017-04-19

    I understand that I need a language model and this is what we have en-us.lm.bin but I dnt want but what is NGRAM SEARCH, what it holds?
    // Create keyword-activation search.
    recognizer.addNgramSearch(NGRAM_SEARCH, new File(assetsDir, "en-us.lm.bin"););

     
  • sarah

    sarah - 2017-04-19

    So it means its just a string reference and we can start listening with this reference disrectly?

     
  • sarah

    sarah - 2017-04-19

    where its available "en-us.lm.bin"

     
  • sarah

    sarah - 2017-04-19

    I'm getting this error in do in background " RuntimeException: new_Decoder returned -1 , PocketSphinxJNI.new_Decoder__SWIG_1"

     
    • Nickolay V. Shmyrev

      You can find additional details in logcat output.

       
  • sarah

    sarah - 2017-04-19

    I corrected and now its listening, but accurcy is so poor

     
  • Bibin Johny

    Bibin Johny - 2019-11-26

    @sarah how did you solved that error?

     

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.