sherpa-onnx
sherpa-onnx copied to clipboard
Shallow fusion with N-gram Language Model
Hi every one, do we have a shallow fusion implementation with N-gram Language Model (e.g Kenlm or Srilm) instead of Neural Language Model? If not, can you give me some instructions to do shallow fusion with N-gram and then maybe I can have a PR for this. Thanks in advance!
Hi, n-gram LM is usually much weaker than a neural network LM (such as RNN/Transformer). We only supported RNNLM rescoring, see #125.