On 08/09/2012 11:41 AM, Rahma Sellami wrote:
Hi Everyone,

as I am new with Moses, I would very much appreciate help with the following issue.
I try to use the latest version of Moses decoder.
When I run the script train-model.perl, I have the folowing error.

Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 213. Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 214. Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 221. Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 222. Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 224.
Using single-thread GIZA
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string at train-model.perl line 306.
ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in .
You MUST specify the parameter -external-bin-dir at train-model.perl line 306.

How can I  initialize $_EXTERNAL_BINDIR?

Hi Rahma,

Add the parameter "-external-bin-dir /path/to/your/giza++/installation" to your "train-model.perl".

The "/path/to/your/giza++/installation" folder should contain these binaries:

 * mkcls
 * GIZA++ or mgiza
 * snt2cooc.out or snt2cooc
 * merge_alignment.py, if you are using MGIZA++


Marwen
Tanks.


--

RAHMA Sellami
PhD Computer Science Student
http://sites.google.com/site/rahmasellami/

Faculty of Economic Sciences and management of Sfax
ANLP Research Group
http://sites.google.com/site/anlprg

MIRACL Laboratory
www.miracl.rnu.tn <http://www.miracl.rnu.tn>

Email: [email protected] <mailto:[email protected]>



_______________________________________________
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