Hi, I hope I am repeating questions someone already asked. I am trying to get the word alignment information using the toy model before rebuilding the real model for that purpose.
1) It seems I need to give "phrase-word-alignment" option in train-model.perl to put the alignment information in phrase table. But it is not documented anywhere. 2) I suppose printing word-alignment from moses decoder is still disabled. I couldn't print out the information. I tried to follow the advise from Philip. http://www.mail-archive.com/[email protected]/msg01740.html But I couldn't use "--WordAlignment FilePath" option The "score" tool didn't like it with "unknown option" error. $ /export/home/moses/moses-scripts/current/training/phrase-extract/score/export/home/moses/engines/shared/en2de/models/toy_alignment/truecased_model/model/extract.sorted /export/home/moses/engines/shared/en2de/models/toy_alignment/truecased_model/model/lex.f2e /export/home/moses/engines/shared/en2de/models/toy_alignment/truecased_model/model/phrase-table.half.f2e --WordAlignment /export/home/moses/engines/shared/en2de/models/toy_alignment/truecased_model/model/ wordalignment.info Score v2.0 written by Philipp Koehn scoring methods for extracted rules outputing word alignment ERROR: unknown option /wptg/engines/shared/en2de/models/toy_alignment/truecased_model/model/ wordalignment.info Exit code: 1 But the usage clearly says that it accepts such pattern of parameters though. $ /export/home/canaan/wptgmt/moses-scripts/current/training/phrase-extract/score Score v2.0 written by Philipp Koehn scoring methods for extracted rules syntax: score extract lex phrase-table [--Inverse] [--Hierarchical] [--OnlyDirect] [--LogProb] [--NegLogProb] [--NoLex] [--GoodTuring] [--WordAlignment file] I wonder if there is any other way to get the word alignment information. Jung@Oracle.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
