alphacep / alphacep/vosk-api

Vosk grammar question

未关闭
#1,934 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
15.1k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。