alphacep / alphacep/vosk-api

Feature: setting the required silence length

オープン
#1,348 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。