alphacep/vosk-api

Getting confidence score for each word in Vosk android demo

hannahfaghihi opened this issue · 1 comments

Hi I wanted to get the confidence score for each word and run two different language models and compare the confidence score in both of the language models. How can I get access to confidence score in Vosk android demo?

Hi. If you output word times, there is a confidence field too. It is not very reliable though.

https://github.com/alphacep/vosk-api/blob/master/src/vosk_api.h#L178