Menu

Keyphrase Search

Help
Yakiv
2015-10-20
2015-10-20
  • Yakiv

    Yakiv - 2015-10-20

    Hello. I'm using pocketsphinx on Android for search keyphrase "okay house":

    ar = edu.cmu.pocketsphinx.SpeechRecognizerSetup.defaultSetup()
                 .setAcousticModel(new File(modelsDir, "hmm"))
                 .setDictionary(new File(modelsDir, "dict/cmu07a.dic"))
                 .setKeywordThreshold(1e-40f)
                 .setBoolean("-allphone_ci", true)
                 .getRecognizer();
    ar.addListener(new ActivationListener());
    
    ar.addKeyphraseSearch(KWS_SEARCH, "okay house");
    

    But I get too much false positive matches. What I am doing wrong or, maybe, any tricks and tips?

     
    • Nickolay V. Shmyrev

      you can play with this value

      .setKeywordThreshold(1e-40f)

      to get right balance between false alarms and misses. You can try values like 1e-20, 1e-5, 1e-1.

       

Log in to post a comment.