alphacep / alphacep/vosk-android-demo

Adding one custom word to be recognized

未關閉
#138 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
1.1k
分支
278
PR 合併指標
30 天內沒有已合併 PR

描述

Hello. I'm developing an Android app and I want to add one custom word to the vocabulary list. I'm using light russian model and I do it this way:
`Recognizer recognizer = new Recognizer(model, 16000.f, "[\"глазар\"]");`
Where 'глазар' is the custom word I'd like to add. However, these are the logs:
`W/VoskAPI: KaldiRecognizer():kaldi_recognizer.cc:89) Ignoring word missing in vocabulary: 'глазар'`

I've read manuals on website and checked previous issues, and as I see the only way to solve my problem is to teach the custom model via Kaldi toolkit with prepared 1h voice records for training.

Anyway, I'd like to ask you also, maybe there is a simplier way to do this, without training new model?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。