dialogflow / asr-server

FastCGI support for Kaldi ASR
Apache License 2.0
184 stars 86 forks source link

how to use a big LM to rescore the small LM result? #6

Closed xinq2016 closed 7 years ago

xinq2016 commented 7 years ago

How can I join the rescore to the api-ai server? Or how can I change the decode mode to LatticeBiglmFastDecoder?

Many thanks

realill commented 7 years ago

Server is using Nnet3LatgenFasterDecoder right now. I guess you can rewrite it to use any other compatible kaldi decoder. But you will have to do your own coding for this.

https://github.com/api-ai/asr-server/blob/master/src/Nnet3LatgenFasterDecoder.cc