Skip to content
  • Amit Beka's avatar
    add support for threaded nnet2 decoding · ff37cb00
    Amit Beka authored
    
    
    recent kaldi version add a new decoder class of threaded processing,
    with a different API than the previous (SingleUtteranceNnet2DecoderThreaded
    instead of SingleUtteranceNnet2Decoder).
    
    this commit adds compile-time support to the threaded decoder, by
    ifdef'ing all the relevant API changes. future commit should make it
    prettier, but for now, in order to avoid everybody updating kaldi source
    code, this seems better.
    
    compile the threaded decoder with make CPPFLAGS=-DTHREADED_DECODER.
    
    Signed-off-by: default avatarAmit Beka <amit.beka@gmail.com>
    ff37cb00