Please disregard, I solved it. Seems that the manual doesn't mention I need a subdirerctory tools/mgiza. thanks, Viktor
2014-03-05 13:00 GMT+01:00 Viktor Pless <viktor.pl...@gmail.com>: > Hello, I'm getting an error from train-model.perl. > my command: > > train-model.perl -root-dir ~/0301 -corpus ~/0301/0102.clean -f es -e > en -alignment grow-diag-final-and -reordering msd-bidirectional-fe -lm > 0:3:/home/ubuntu/0301/0102.blm.en:8 --mgiza --mgiza-cpus 2 --parallel > --external-bin-dir /home/ubuntu/mosesdecoder/tools/ > > error: > > ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in > /home/ubuntu/mosesdecoder/t ools. > You MUST specify the parameter -external-bin-dir at > /home/ubuntu/mosesdecoder/scripts/training /train-model.perl line 347. > > contents of my external-bin-dir: > > ubuntu@ip-172-31-1-144:~/mosesdecoder/tools$ ls -l > -rwxrwxr-x 1 ubuntu ubuntu 1198461 Mar 5 11:45 GIZA++ > -rwxrwxrwx 1 ubuntu ubuntu 1790 Mar 5 11:49 merge_alignment.py > -rwxrwxr-x 1 ubuntu ubuntu 492028 Mar 5 11:45 mkcls > -rwxrwxr-x 1 ubuntu ubuntu 386711 Mar 5 11:45 snt2cooc.out > > Thanks in advance! >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support