Hi All, I faced the same issue when trying to tune a tree-based model using the mert-moses.pl script. (I am running Moses R3739) Not sure if leaving out the Hierarchical switch in the mert script was intentional or had any particular reason.
I have already made the necessary changes in the mert-moses.pl which i have attached herewith. It requires a --herarchical switch to run the filterring in a proper way. Thanks and regards, Pratyush On 28/03/11 14:18, Kaveh Taghipour wrote: > The script "mert-moses-new.pl" filters the model and then starts > tuning. To filter the rule-table in tree-based models, the script > "filter-model-given-input.pl" should be called with the parameter > "-hierarchical", but "mert-moses-new.pl" calls the script without it. > So, using "mert-moses-new.pl" for tuning a tree-based model would > result in an emtpy filtered rule-table and this causes the decoder to > copy the input tuning file to the output and the tuning phase ends > with some meaningless weights without any errors. > > Using "mert-moses-new.pl" with the parameter > "--no-filter-phrase-table" fixes this problem, but slows the tuning > process. It's better to add "-hierarchical" to the script > "mert-moses-new.pl" (line 575). > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > >
mert-moses.pl
Description: Perl program
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support