vosk-api
vosk-api copied to clipboard
grammar in Kaldi
Hi, dear author, setting grammar in Vosk is very useful, so I copy UpdateGrammarFst() to Kaldi and test it with open source chain model(http://kaldi-asr.org/models/m13), but the result is bad( I set faster_decode_opts_.beam = 1000, I change other decoders and models, also bad), the background noise was be recognized as words, and some extra words. For example:
The speaker said "magnets can be found on a can opener".
start end
WORDS: 0.02 0.03
But I can get correct result in Vosk. Any solution to make model no such sensitive?
Or maybe setting grammar has existed in Kaldi, can you please give me some tips, Thanks!
Feels like you have wrong self-loop-scale and probably acoustic weight.
I thnk I find the solution, because I don't use lookahead. #1509