Menu

pocketsphinx confidence scores and word lattice

Help
Oren G.
2016-11-19
2016-11-21
  • Oren G.

    Oren G. - 2016-11-19
    • Does pocketsphinx provide any kind of confidence scores when using in grammar mode? If so, which functions are relevant, and can I get it with commanld line tool pocketsphinx_continues.

    • Does pocketsphinx provide word lattice/n-best/partial hypothesys in grammar mode? If so, which functions are relevant, and can I get it with commanld line tool pocketsphinx_continues.

     

    Last edit: Oren G. 2016-11-19
    • Nickolay V. Shmyrev

      Hi Oren

      Does pocketsphinx provide any kind of confidence scores when using in grammar mode? If so, which functions are relevant, and can I get it with commanld line tool pocketsphinx_continues.

      Yes, it does. The function is ps_seg_prob, in pocketsphinx_continuous you can add it an option -time yes, it will print the times and confidences. The confidence is always 1.0 in grammar mode though, it is not an easy task to implement confidence for grammars.

      Does pocketsphinx provide word lattice/n-best/partial hypothesys in grammar mode? If so, which functions are relevant, and can I get it with commanld line tool pocketsphinx_continues.

      Partial hypothesis is provided with ps_hyp, n-best with ps_nbest, lattice with ps_lattice. It does not work for grammar mode.

       

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.