Hi,

I am trying to run mert-moses.pl on lattice input (using the latest
version from SVN) and am getting the following error after the first
iteration finishes:

---

The decoder returns the scores in this order: d d d d d d d lm w I tm
tm tm tm tm
Mismatched lambdas. Decoder returned d d d d d d d lm w I tm tm tm tm
tm, we expected d d d d d d d lm w tm tm tm tm tm tm at
/home/neubig/usr/bin/scripts-20110829-0448/training/mert-moses.pl line
959

---

Looking at the code quickly, it looks like the feature for the input
weight is being registered as a PhraseDictionaryFeature, which is
causing it to return "tm" instead of the expected "I," which is
causing the sanity check in mert-moses.pl to fail.

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

Reply via email to