Hello everyone, I try to follow the tutorial of Moses (step by step) I got to level the creation of the translation table as shown in following this order:
nohup nice tools/moses-scripts/scripts-*YYYYMMDD-HHMM*/training/train-model.perl -scripts-root-dir tools/moses-scripts/scripts-*YYYYMMDD-HHMM*/ -root-dir work -corpus work/corpus/news-commentary.lowercased -f fr -e en -alignment grow-diag-final-and -reordering msd-bidirectional-fe -lm 0:3:/Users/josh/demo/work/lm/news-commentary.lm >& work/training.out & As result I got a translation table that form here: @ ries ||| @ ries bibliothèques ||| 0.333333 1.8e-06 ||| 1 0.857143 3 2.718 @ ries ||| @ ries bibliothèques électroniques ||| 0.333333 4.86e-12 ||| 1 0.857143 3 2.718 @ ries ||| @ ries ||| 0.333333 0.666667 ||| 1 0.857143 3 2.718 When I wanted to proceed to the binarization of the table with this command: gzip -cd work/model/phrase-table.gz | LC_ALL=C sort | tools/moses/misc/processPhraseTable -ttable 0 0 - -nscores 5 -out work/model/phrase-table It gives me an error message like: processPhraseTable: PhraseDictionaryTree.cpp:469: int Moses::PhraseDictionaryTree::Create(std::istream&, const std::string&): Assertion `numElement == 3 || numElement == 5' failed. Aborted I don't understand why? Any idea please? Thank you !bests
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
