Hello,
I would like to run a tree-to-tree training with moses but the script does not extract any rules. These are my input files: File /mit/in.de <tree label="TOP"><tree label="NP">Corinna</tree> <tree label="VP">mag</tree> <tree label="NP2">Kekse .</tree></tree> File: /mt/in.en: <tree label="TOP"><tree label="NP">Corinna</tree> <tree label="VP">likes</tree> <tree label="NP2">cookies .</tree></tree> I call the training-script with the following options: # train-model.perl -corpus /mt/data/in -f en -e de -lm 0:3:/mt/data/lm.de -hierarchical -glue-grammar -source-syntax -target-syntax -alignment grow-diag-final-and At the beginning everything seems to run alright and the extract-rules script is called: 5) extract phrases @ Thu Mar 24 07:46:06 CET 2011 /mt/mymoses/scripts/training/phrase-extract/extract-rules /mt/data/in.de 7mt/data/in.en mt/model/aligned.grow-diag-final-and /mt/model/extract --GlueGrammar /mt/model/glue-grammar --SourceSyntax --TargetSyntax Executing: /mt/mymoses/scripts/training/phrase-extract/extract-rules /mt/data/in.de /mt/data/in.en /mt/model/aligned.grow-diag-final-and /mt/model/extract --GlueGrammar /mt/model/glue-grammar --SourceSyntax -TargetSyntax extract-rules, written by Philipp Koehn rule extraction from an aligned parallel corpus creating glue grammar in '/mt/model/glue-grammar' extracting hierarchical rules Executing: gzip /mt/model/extract.inv Executing: gzip /mt/model/extract ... ... ... (7) learn reordering model @ Thu Mar 24 07:46:06 CET 2011 ... skipping this step, reordering is not lexicalized ... (8) learn generation model @ Thu Mar 24 07:46:06 CET 2011 no generation model requested, skipping step (9) create moses.ini @ Thu Mar 24 07:46:06 CET 2011 But while the glue-grammar seems to comprise all rules, the two files extract.inv and extract are empty. Concluding the rules-table is empty, too and the translation produced is in the same language. My moses distribution is the trunk downloaded on the 18th of February. If I call the training with either the -source-syntax or -target-syntax option a rule-table is produced. It seems not to work only if both options are used. Thank you in advance for any help on this! Sandra
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
