Hello!

I tried to binarize the phrase table for Moses2 as follows:

MOSES_DIR=~/mosesdecoder


$MOSES_DIR/scripts/generic/binarize4moses2.perl
--phrase-table=/home/ubuntu/working/train/model/phrase-table.gz
--lex-ro=/home/ubuntu/working/train/model/reordering-table.wbe-msd-bidirectional-fe.gz
--output-dir=/home/ubuntu/working/integrated_phrase-reordering/
--num-lex-scores=6



However, I got the following error:

>> ERROR: compile contrib/sigtest-filter



So I followed these steps to compile it with SALM:

git clone https://github.com/moses-smt/salm


export CPLUS_INCLUDE_PATH=/home/ubuntu/mosesdecoder/opt/include

export LIBRARY_PATH=/home/ubuntu/mosesdecoder/opt/lib


cd ~/salm/Distribution/Linux

make


cd ~/mosesdecoder/contrib/sigtest-filter

make SALMDIR=/home/ubuntu/salm



Then, I ran the binarizing command above again. It worked fine and the
folder "integrated_phrase-reordering" was created. (By the way, I had to
restart the machine after compiling or I would get errors.)



My question is: Now, what is the next step? Apparently, the change is not
reflected in moses.ini



Many thanks,

Yasmin
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to