alphacep / alphacep/vosk-api

Vosk grammar question

Aperta
#1,934 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
15.1k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm working on commands triggered system using the `vosk-model-small-en-us-0.15` model.

I have created a grammar with all the keywords that I need, and I have also added `[unk]` because without it the model will transcribe random words as commands.

I'm currently facing 2 issues:

1. I'm trying to capture 3 consecutive numbers, but hasn't been very accurate especially with the number "two" it would occasionally not get captured for example:

- "two two two" would sometimes get transcribed as "two two"
- "one two one" would sometimes get transcribed as "one one"

Is there anything I can do to improve the accuracy in such cases?

2. Is more of a question, is there a way to set up my grammar so it will only listen to 3 consecutive numbers, and will that improve the accuracy if the model is configured to listen to 3 consecutive numbers?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.