On 26.02.2014 07:24, moses-support-requ...@mit.edu wrote:
> Hi Hieu, Rico,
> this does not seem to be an issue with the ini-file. It actually works
> as well with stand-alone moses. The issue seems to be the mert-moses.pl
> script which switches off features that are not returned by the decoder
> because they are set to tuneable=false.
>
> In the function "run_decoder" in mert-moses.perl there is this line:
>
>       $decoder_config = "-weight-overwrite '" . join(" ", values
> %model_weights) ."'" unless $___USE_CONFIG_WEIGHTS_FIRST && $run==1;
>
> And I suspect -weight-overwrite is with a truncated list of
> model_weights is causing the issue.
> Best,
> Marcin
does your ini file define weights for all features? mert-moses.pl passes 
the original ini file as an argument to the decoder,  and if no weights 
are provided by mert-moses.pl with "-weight-overwrite", the weights from 
the ini are used.
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to