Kaldi Online and Offline Decoding

 

1. Online decoding

 Need audio files to decode.

Example script: https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/online/nnet3/decode.sh

2. Offline decoding

Need to extract features from audio files and download them to disk.  Offline decoding operates from features. compute-mfcc-feats.cc  writes features to disk.

Example script: https://github.com/kaldi-asr/kaldi/blob/master/egs/aspire/s5/local/nnet3/decode.sh

When comparing 2 different decoded WER scores, we should compare like with like.  From my experience offline decoding produces slightly better WER scores than online decoding. 


Comments