alphacep / alphacep/vosk-api

Feature Request - Speaker identification with limited words

Open
#263 1 comment 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

Hi,
Recognizer constructor doesn't accept word list when we provide a speaker model, is it possible to add a constructor which can accept speaker models and custom words list.
for example.
`rec = KaldiRecognizer(model, spk_model, wf.getframerate(), '["oh one two three four five six seven eight nine zero", "[unk]"]')`
currently I cannot use both speaker identification and custom words, I have to create two recognizer objects first get the text and then verify the speaker in second one.
I want to use limited words only as they increase accuracy and are almost instant on my rpi.

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.