alphacep / alphacep/vosk-server

Python ASR Server - Websocket Changing Acuracy

未关闭
#211 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.3k
派生
317
PR 合并指标
30 天内没有已合并 PR

描述

Hi, thanks for the great project.

I believe I found some odd behavior on the Python ASR Server - Websocket and it is 100% reproducible:

Trying to detect the word "sim", with the following phrase list "phrase_list" : ["assim", "sim","não","ok", "sim obrigado", "não obrigado", "quero","[unk]"]

The client is the microphone example in python. the behavior is similar, changing sample rate, changing microphone brand, changing chunk size in the cliente size. Also, the behavior ramains the same playing in the server side with mfcc.conf and model.conf.

If I speak "sim" (pt-br equivalent to yes) several times, it does not detect in the PartialResult and almost all the time it does not detect the Result either. Here is the log of several "sim" spoken:

{ "partial": "" } { "partial": ""}

[sniped several lines of empty partial to save space]

But, if I speak "não" (thas pt-br equivalent to no), it does detect PartialResult and, for my surprise, it now detects the "sim" easily and produces also Result for "sim", its acuracy improves a lot:

{ "partial" : "não"} { "partial" : "não"} { "partial" : ""}

[snip]

Now I am able to detect "sim" easily:

{ "partial" : ""} { "partial" : "sim" }
[snip]

{ "partial" : "sim" }

From now on, for the same connction, all works ok. For a new connection, the behavior is the same.

If you need more logs, please let me know.

Thanks you so much.

Eduardo

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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