Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting confidence score for each word in Vosk android demo #1529

Open
hannahfaghihi opened this issue Mar 4, 2024 · 1 comment
Open

Getting confidence score for each word in Vosk android demo #1529

hannahfaghihi opened this issue Mar 4, 2024 · 1 comment

Comments

@hannahfaghihi
Copy link

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?

@nshmyrev
Copy link
Collaborator

nshmyrev commented Mar 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants