Menu

How can I get confidence score (or probability) in pocketsphinx app

Help
qiqi
2014-10-08
2018-03-15
  • qiqi

    qiqi - 2014-10-08

    Hi, dear all,

    I am trying to get a measure to see how accurate my recognition result is in pocketsphinx app (not the one on PC). I have checked several literature. It seems that the confidence score or probability can do this. Is that right?

    Another question, how can I get this measure in the app? Does the code provide any API that I can get the number?

    Thank you.

     
  • qiqi

    qiqi - 2014-10-13

    Could anyone help me with this question, please?

    Thank you.

     
  • Nickolay V. Shmyrev

    Does the code provide any API that I can get the number?

    Yes, there is such API. You can check API reference for details.

     
    • qiqi

      qiqi - 2014-10-13

      Could you tell me where the API reference is? I am talking about the pocketsphinx application in Android. So far I didn't see any API manual about that.

      Thank you so much!

       
  • qiqi

    qiqi - 2014-10-13

    Thank you soooooooooooooooooo much!

    It is exactly what I want. It helps a lot!!

    Thank you!!!

     
  • Goncharova Valentina

    Thank you! But could you help me. How can I call this method in developing android application?

     
    • Nickolay V. Shmyrev

      for (Segment seg : recognizer.getDecoder().seg()) {
                 System.out.println(seg.getWord()  + "  " + seg.getProb());
      }
      
       
  • Goncharova Valentina

    Please, tell me, will this work with a search in grammar? I use a grammar search and get seg.getProb () equal to 0

     
    • Nickolay V. Shmyrev

      No, it does not work with grammar search.

       
  • Goncharova Valentina

    Thank you very much for your help

     

Log in to post a comment.