Hello Moses Team,
I read the page http://www.statmt.org/moses/?n=Moses.SyntaxTutorial
and I try to train the model using the following command:

nohup nice moses/moses-scripts/scripts-20120409-0748/training/train-model.perl
-scripts-root-dir moses/moses-scripts/scripts-20110409-0748/ -root-dir
work -corpus work/corpus/enam.lowercased -f en -e am -alignment
grow-diag-final-and -reordering msd-bidirectional-fe -lm
1:3:/home/admin1/work/lm/enam-full.am.blm -hierarchical and
-glue-grammar -max-phrase-length 5 -extract-options OnlyDirect
-score-options GoodTuring>& work/training.out &

I just added the following parameters from the one used to train
phrase based model,

-hierarchical and -glue-grammar -max-phrase-length 5 -extract-options
OnlyDirect -score-options GoodTuring

and the last 3 lines of training.out says the following

extract: syntax error, unknown option 'OnlyDirect'
Exit code: 1
ERROR: Phrase extraction failed (missing input files?) at
moses/moses-scripts/scripts-20120409-0748/training/train-model.perl
line 1333.

please suggest me the correct format of the command to train hierarchical model.
thank you.
Yared.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to