alphacep / alphacep/vosk-api

Feature: setting the required silence length

Open
#1,348 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.