online speech recognition
Closed this issue · 7 comments
Hi,I have completed the training of the acoustic model. How can I use it for online speech recognition?look forward to your kind advice.
The trained model is offline so it can not directly be used for online speech recognition. it requires the models to be trained with online CMN or something like that. Then use the kaldi-online decoder. You can find some online issues on kaldi
kaldi-asr/kaldi#2801
thank you! Looking forward to your update!
@mravanelli @Rpersie By the way, Why on-line ASR requires different normalization and decoding strategies? It requires faster decoding speed?
As the offline cmvn is the mean and var of all frames,in the online mode you can not get all the frames. If you just do the online-cmvn, this will bring the mismatch between the training and test. As for decoding, the feats are loaded segments by segments in the online mode. So we should memory the wfst state of the previous segments. When the next segment is loaded, we can follow the wfst token states of previous. So the usual decoder can not be used and need online decoder.