Hi,

I have generated an N-best list with moses, but I do not know how to compute
the final score. I tried a log-linear model but came up with a wrong number.
For example:

moses.ini:
----------------------------------------
# distortion (reordering) weight
[weight-d]
0.120662

# language model weights
[weight-l]
0.251853

# translation model weights
[weight-t]
0.0675335
0.103843
0.0720954
0.00630806
0.101934

# word penalty
[weight-w]
-0.275771

Assuming a log-linear model, the score for the following sentence should be
*-54.076* but the decoder prints:

0 ||| ....  ||| d: 0 lm: -219.367 w: -6 tm: -3.17999 -4.43847 -2.63049
-3.87513 3.99959 ||| *-254.076*

Thank you in advance for helping.

Cheers,
Kaveh
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to