Ah I see. Thanks, Barry!

2014-03-05 13:42 GMT+01:00 Barry Haddow <bhad...@staffmail.ed.ac.uk>:

> Hi Viktor
>
> If you give the argument --mgiza to train-model.perl, then you need to
> make sure mgiza is in your tools directory. mgiza should not be a
> subdirectory, it should be a binary that you can get from here:
> http://www.kyloo.net/software/doku.php/mgiza:overview
>
> cheers - Barry
>
>
> On 05/03/14 12:30, Viktor Pless wrote:
>
>> 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 <mailto:
>> 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
>>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to