Re: [Moses-support] error on training

2013-09-15 Thread Barry Haddow

Hi Andrew

You need to enter the whole command. The backslashes (\) are 
continuation markers, so the command consists of 5 lines in all,


cheers - Barry

On 14/09/13 01:12, Andrew Shin wrote:

Hello,


I'm a novice to Moses, so I'm following the Baseline System page 
(http://www.statmt.org/moses/?n=Moses.Baseline) and got stuck at 
Training the Translation System part.
When I enter the command starting with "nohup nice " as in the 
instruction,

I only get a file named training.out and no new directory.
The training.out file says:
Using SCRIPTS_ROOTDIR: /Users/ipadmin/Desktop/mosesdecoder/scripts
Using single-thread GIZA
ERROR: use --f to specify foreign language at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 368.



So I've then tried the new way in the Training page 
(http://www.statmt.org/moses/?n=FactoredTraining.HomePage) with 
modification on euro and the language:

train-model.perl -root-dir . --corpus corpus/euro --f de --e en
and I get errors as following:
Using SCRIPTS_ROOTDIR: /Users/ipadmin/Desktop/mosesdecoder/scripts
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 236.
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 237.
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 244.
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 245.
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 247.

Using single-thread GIZA
Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or 
string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 335.

ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in .
You MUST specify the parameter -external-bin-dir at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl 
line 335.



I'm working on MacOSX 10.7 have successfully installed Moses and its 
prerequisites, and Giza++.


I know this might be a stupid-user problem, but I will greatly 
appreciate it if you could give me a help.

Thank you for your time.



Sincerely,
Andrew


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


[Moses-support] error on training

2013-09-15 Thread Andrew Shin
Hello, 

I'm a novice to Moses, so I'm following the Baseline System page 
(http://www.statmt.org/moses/?n=Moses.Baseline) and got stuck at Training the 
Translation System part.When I enter the command starting with "nohup nice " as 
in the instruction,I only get a file named training.out and no new 
directory.The training.out file says:Using SCRIPTS_ROOTDIR: 
/Users/ipadmin/Desktop/mosesdecoder/scriptsUsing single-thread GIZAERROR: use 
--f to specify foreign language at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 368.

So I've then tried the new way in the Training page 
(http://www.statmt.org/moses/?n=FactoredTraining.HomePage) with modification on 
euro and the language:train-model.perl -root-dir . --corpus corpus/euro --f de 
--e enand I get errors as following:Using SCRIPTS_ROOTDIR: 
/Users/ipadmin/Desktop/mosesdecoder/scriptsUse of uninitialized value 
$_EXTERNAL_BINDIR in concatenation (.) or string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
236.Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string 
at /Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
237.Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string 
at /Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
244.Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string 
at /Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
245.Use of uninitialized value $_EXTERNAL_BINDIR in concatenation (.) or string 
at /Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
247.Using single-thread GIZAUse of uninitialized value $_EXTERNAL_BINDIR in 
concatenation (.) or string at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 
335.ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in .You 
MUST specify the parameter -external-bin-dir at 
/Users/ipadmin/Desktop/mosesdecoder/scripts/training/train-model.perl line 335.

I'm working on MacOSX 10.7 have successfully installed Moses and its 
prerequisites, and Giza++.
I know this might be a stupid-user problem, but I will greatly appreciate it if 
you could give me a help.Thank you for your time.


Sincerely,Andrew  ___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support