alphacep / alphacep/vosk-api

Feature: setting the required silence length

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

描述

It would be great to be able to set the required silence/pause length after a sentence programmatically.

I reduced the `min-trailing-silence` rules in the `model.conf` and it feels great typing keys with Numen, but it also affects the literal transcription which uses the same model, and I don't want to load two copies of it (or mess with the models really).

Perhaps the API could be:

rec.SetSilence1(0.123)
rec.SetSilence2(0.123)
rec.SetSilence3(0.123)
rec.SetSilence4(0.123)

for Kaldi's rule1/2/3/4. But just being able to set `rule2` would be very nice.

Related issues: https://github.com/alphacep/vosk-api/issues/1329 https://github.com/alphacep/vosk-api/issues/380

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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