There used to be a enum type in the decoder code, but the format change
in the moses.ini has made it obsolete.
there's only now passing reference for it in the code, eg.
train-model.perl line 2063-2066
$type_name = "SRILM" if $type == 0;
$type_name = "IRSTLM" if $type == 1;
$type_name = "KENLM lazyken=0" if $type == 8;
$type_name = "KENLM lazyken=1" if $type == 9;
We should try to make this more user friendly in future, but it requires
changes to other training scripts
On 29/03/2014 18:10, Benjamin Körner wrote:
Dear all,
I somehow remember that the third : separated numeric in the --lm
parameter of train-model.perl specifies the LM type. See
-lm 0:3:$HOME/lm/news-commentary-v8.fr-en.blm.en:*8*
So 8 for KenLM.
Is there any source for that?
Thanks,
Benjamin
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support