alphacep / alphacep/vosk-api

In python, add a method to KaldiRecognizer that returns a normal result

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

Description

rec = vosk.KaldiRecognizer(model, args.samplerate)
while True:
data = q.get()
if rec.AcceptWaveform(data):
print(rec.Result())
rec.Result() - Return { "text" : "word" }
It would be most convenient to receive simply - word
For example rec.DefaultResult() - Return "word"

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.