Hello,
Can someone tell me the moses.ini format for multiple LMs? I can't seem to find
any documentation on this.
It seems okay to list multiple LMs as follows:
[lmodel-file]
8 0 5 /path/to/lm1.kenlm
8 0 5 /path/to/lm2.kenlm
8 0 5 /path/to/lm2.kenlm
but I can't see how to set the weights. The following doesn't work, nor do
variations I've tried (putting an index before them, putting them all on one
line, etc):
[weight-l]
0.0326538592710674
0.126667925925625
0.0265181580850064
I always get this error:
line=KENLM factor=0 order=5 num-features=1 lazyken=0
path=/path/to/lm1.kenlm
FeatureFunction: KENLM0 start: 0 end: 1
WEIGHT KENLM0=0.012,
line=KENLM factor=1 order=5 num-features=1 lazyken=0
path=/path/to/lm2.kenlm
FeatureFunction: KENLM1 start: 1 end: 2
WEIGHT KENLM1=
Check scores.size() == indexes.second - indexes.first failed in
./moses/ScoreComponentCollection.h:235
Aborted
matt
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support