Hi --

If you look back through this list, you will find a thread from Anita
Gojun describing a hack to fix this (google for lattices mert).

Nicola -- are you maintaining this code these days and if so would
there be any chance we could get a cleaner fix for this problem that
could be integrated into the code?

Cheers, Alex


On Mon, Aug 29, 2011 at 5:54 PM, Nicola Bertoldi <[email protected]> wrote:
> Dear Grahan,
>
> have you specified the parameter
> weight-i
> in the configuration file?
>
> Nicola
> On Aug 29, 2011, at 5:35 PM, Graham Neubig wrote:
>
>> 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
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to