Menu

how can i get the real confidence score?

Help
IvanBembe
2015-03-04
2015-03-09
  • IvanBembe

    IvanBembe - 2015-03-04

    Hi, I am making an application in Android as a practical university, reading the forum I saw that for the confident score in percent of my hypotheses need to call the ps_get_prob function, so before making the wrapper I decided to test directly pocketsphinx Windows recompiling both sphinxbase as pocketsphinx, both in the stable version 0.8.

    In the pocketsphinx_continuous file've introduced these four lines, which theoretically should give me what I want:

    probLog int32 = ps_get_prob (ps, NULL, & uttid);
    printf ("The final posterior probability in logarithmic scale :% i \ n", probLog);

    float64 probPercent = logmath_exp (ps_get_logmath (ps), probLog);
    printf ("The percentage posteriori probability is:% f \ n", probPercent);

    The point is that performing many tests grammars JSGF I get confidents too score 1 (1 being 100% probability), sometimes causing errors on purpose also get value 1 (and on occasion have obtained a value of 1 pronouncing words that even are in the grammar.

    P.D: I get 1 because ps_get_prob returns 0.

    Thanks for everything beforehand. A greeting.

     
  • Alexander Solovets

    There is no such function which value you could use as a threshold to decide whether you can trust the recognition result or not. It's a separate field of research. You can only obtain the prior probability which is a very rough approximation of what you want.

     
  • IvanBembe

    IvanBembe - 2015-03-09

    Okay, thank you for everything.

     

Log in to post a comment.

MongoDB Logo MongoDB