Hello,

I spotted a minor bug in line 387 of moses-chart-cmd/src/IOWrapper.cpp, revison 4200

one need to change
     out << "w: ";
to
      out << " w: ";

e.g. a space before "w:". Logically, we should do the same for "lm:", but this has no consequences.

This corrects the wrong output of n-best lists:

0 ||| White House promoting as soon as possible to send ??? supervision North Korea closed ???? ||| lm: -47.9563 tm: -13.0248 -16.9619 -10.1332 -15.9577 6.99927*8.99907w: -7.38301 *||| -204.975

Can you please correct this in svn ?

Holger

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to