kpu / kenlm

KenLM: Faster and Smaller Language Model Queries
http://kheafield.com/code/kenlm/
Other
2.51k stars 511 forks source link

Interpolation of different language models in kenlm #329

Open Some-random opened 3 years ago

Some-random commented 3 years ago

Is there any easy-to-use binary like 'compute-best-mix' from srilm? I've glanced through the code in kenlm but I'm not sure how can I use it.

kpu commented 3 years ago

The interpolate program accepts -t for the file to tune on and --just_tune if you want it to stop after tuning weights. Keep in mind these are log-linear weights.