Hi, the first file looks like a word alignment file.
Also: you are using train-factored-phrase-model.perl which indicates that you are using a very old version of Moses. Please check out the latest release from the git repository. -phi On Thu, Apr 12, 2012 at 5:51 PM, Fong Po Po <[email protected]> wrote: > Dear all: > > When I type this command to run Moses: > > > */train-factored-phrase- model.perl --scripts-root-dir $SCRIPTS_ROOTDIR > --corpus /home/tianliang/mosesdecoder/corpus/clean --f eng --e chn > --alignment grow-diag-final-and -reordering msd-bidirectional-fe –lm > 0:5:/home/tianliang/mosesdecoder/corpus/chinese.gz:0 * > > and get one reordering table file which is the binary file > like this: > > > 0-0 1-1 2-2 3-2 4-2 5-2 6-3 > > 0-0 1-1 2-2 3-3 4-4 > > 0-0 1-1 2-2 3-2 4-3 6-3 7-3 8-3 9-3 5-4 4-5 4-6 4-7 4-8 > > 3-0 1-1 2-1 4-2 0-3 5-5 6-8 > > 0-0 1-1 2-1 3-1 4-1 5-1 6-2 > > 0-0 3-1 1-2 2-2 3-2 3-3 4-4 > 0-0 1-1 2-2 3-3 4-4 5-5 6-6 7-7 8-8 9-9 > > but when I type command: > > moses-scripts/scripts-20091014-1938/training/train-factored-phrase-model.perl > -scripts-root-dir moses-scripts/scripts-20091014-1938/ -root-dir work > -corpus work/corpus/sample -f chinese -e en -alignment grow-diag-final-and > -reordering msd-bidirectional-fe -lm 0:2:/work/lm/sample.lm >& > work/training02.out & > [1] 5400 > > > and get one reordering file: > > 一個 ||| a ||| 0.538462 0.0769231 0.384615 0.846154 0.0769231 > 0.0769231 > 一個 ||| an ||| 0.692308 0.0769231 0.230769 0.846154 0.0769231 > 0.0769231 > > Why the format of these two reordering file are different? > Thanks! > > Best Regards, > Fong Pui Chi > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
