Training appears to work with passing "-placeholder-factor 1 -xml-input exclusive" to mert-moses and I get the expected results throughout the tuning process.
Unfortunately, it appears that the compact phrase table implementation (reordering is fine) is not compatible with placeholders. I found some inconclusive discussion of the issue about a year ago. I am working with the 2.1.1 release, and will investigate the 3.x release -- does anyone have any information or experience using placeholders, the compact phrase tables, and mosesserver (another sometimes problematic element) together? Thanks, mike. On Tue, Aug 23, 2016 at 6:04 AM, Matthias Huck <mh...@cis.lmu.de> wrote: > Hi, > > In the EMS configuration file, you can specify > > decoder-settings = "..." > > under both [TUNING] and [EVALUATION]. Maybe that's all you need? > > Cheers, > Matthias > > > On Tue, 2016-08-23 at 00:40 +0100, Hieu Hoang wrote: > > no really sure what you mean. Shouldn't have to dig around mert > > -moses.pl. > > > > It's fairly straightforward but I would say that placeholders is only > > used > > by some people. If you find a suspected bug, report it or try & fix > > it > > yourself > > > > > > > > Hieu Hoang > > http://www.hoang.co.uk/hieu > > > > On 23 August 2016 at 00:22, Mike Ladwig <mdlad...@gmail.com> wrote: > > > > > Hi Hieu! > > > > > > Thanks for the reply. > > > > > > On Mon, Aug 22, 2016 at 6:26 PM, Hieu Hoang <hieuho...@gmail.com> > > > wrote: > > > > > > > hi mike > > > > > > > > > > > > > > 1. If I add "-placeholder-factor 1 -xml-input exclusive" to the > > > > > --decoder-flags parameter of mert-moses.pl, will that single > > > > > addition > > > > > extend into both places mentioned in the EMS section? > > > > > > > > > No, if you want to use placeholders in tuning and during testing, > > > > you > > > > need to putting in both places. mert-moses.pl only does tuning > > > > > > > > > > I think I am confused because there are two [EVALUATION] sectons on > > > the > > > page. The first is in section 3 (Tuning) and the second is in > > > section 4 > > > (Evaluation). > > > > > > Is the section 3 Evaluation block an error, or do I need to go into > > > the > > > guts of mert-moses.pl to add flags to the decoder code invoked > > > inside > > > mert-moses.pl? > > > > > > mike. > > > > > _______________________________________________ > > 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