I'm struggling a bit with tuning my tree-based models. I try to run MERT on a
syntax-to-string model but I have problems setting the flags for mert-moses.pl
correctly. Now I tried something like
mert-moses.pl newstest2011.trees.es newstest2011.tok.true.fr moses_chart
es-fr/model/moses.ini \
--mertdir /path/to/mosesdecoder/bin \
--nbest 100 \
--working-dir es-fr/tuning \
--no-filter-phrase-table \
--inputtype 3 \
--rootdir /path/to/mosesdecoder/scripts
but after translating the devset in the first iteration my process stops with
Couldn't open es-fr/tuning/extractor.sh for writing: file or directory does not
exist
The directory exists and the n-best list looks fine. Is there yet another flag
that I have to add to the mert-moses call?
By the way, it took me some time to figure out that I have to set inputtype to
3 to make the system accept parsed input. Maybe someone could add this to the
documentation (if it is correct like this anyway).
Another question: What would be the correct call to make mert-moses to filter
the model before running? It doesn't work to add
'-Hierarchical' to the filtercmd as mert-moses then complains that the command
is not found on the system (it doesn't remove flags before checking for
existence). Or is it better to binarize the rule-tables anyway?
Thanks for your help!
Jörg
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support