Hi,

Did you compile GIZA++ and mkcls from https://code.google.com/p/giza-pp/ to
produce the binaries GIZA++, snt2cooc.out and mkcls properly? Did you put
those binary to a directory, e.g. external-bin-dir? Then you can run
train-model.perl with the switch -external-bin-dir /path/to/external-bin-dir.
Your Perl seems to be no problem. Could you post your complete training
command, i.e. running train-model.perl here?

BR,
Thanh-Le.

On Sun, Dec 2, 2012 at 10:02 PM, Tzvika Gordon <[email protected]> wrote:

> Hi All,****
>
> ** **
>
> I seem to be at a loss… I am suppose to carry out the following
> instruction (from the manual, p.69):****
>
> ** **
>
> When you are running the training, you need to tell the training script
> where GIZA++ was installed with the argument.****
>
> train-model.perl -external-bin-dir $HOME/external-bin-dir****
>
> ** **
>
> Neglecting this, of course, leads to the following error when running "the
> main event – training the translation model":****
>
> Using SCRIPTS_ROOTDIR: /home/qt/mosesdecoder/scripts
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 227.
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 228.
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 235.
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 236.
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 238.
> Using single-thread GIZA
> Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or
> string at /home/qt/mosesdecoder/scripts/training/train-model.perl line 320.
> ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in .
> You MUST specify the parameter -external-bin-dir at
> /home/qt/mosesdecoder/scripts/training/train-model.perl line 320.****
>
> ** **
>
> I understand that I should define the external-bin-dir folder in the "my"
> commands stated in first 5 lines, but where in line 320…?****
>
> ** **
>
> My perl it seems is insufficient – can you please help?****
>
> ** **
>
> Up to the "main event" all worked just fine… ****
>
> ** **
>
> Thank you very much!****
>
> ** **
>
> Tzvi Gordon****
>
> ** **
>
> _______________________________________________
> 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

Reply via email to