[Moses-support] error on training
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
Re: [Moses-support] error on training
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] question
Hello, I'm currently following the baseline system page (http://www.statmt.org/moses/?n=Moses.Baseline) and currently at the Training the Translation system part.I executed the command as in the tutorial, but the process finished instantly instead of supposed 1~2 hours,and instead of working/train/model folder with moses.ini file in it,I have working/train/corpus folder with files named en.vcb.classes, fr.vcb.classes, en.vcb.classes.cats, fr.vcb.classes.cats, en.vcb, fr.vcb, en-fr-int-train.snt, fr-en-int-train.snt.(Btw, I had to repeat the command a few times to get these files. On the first run, there were only two files, and then next time two more, and so on.) So it seems like something is being done, but I'm not getting moses.ini file..I've attached my training.out in case it helps.. This might be a tedious question to look through, but please help me out..Thank you very much. sincerely,Andrew training.out Description: Binary data ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support