wenet
wenet copied to clipboard
How can I use LM + attention correcting?
At present, I have implemented CTC prefix beam search + LM in aishell1. How can I use LM + attention correcting?
Just prepare the nbest candidates and feed it to rescoring module, please refer https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/asr_decoder.cc#L80.