yep, i fixed it about an hour ago.
http://mosesdecoder.svn.sourceforge.net/viewvc/mosesdecoder?view=revision&revision=4209
Not sure how it crept in. Sorry

On 09/09/2011 17:34, Holger Schwenk wrote:

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
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to