Hello, 1) check if there is any | token in your train file or not. There must not exist any then it will cause to error.
2) have you correctly set MACHINE_TYPE variable? ------------------ Best Regards, S.Bakhshaei --- On Wed, 1/5/11, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: Moses-support Digest, Vol 51, Issue 3 To: [email protected] Date: Wednesday, January 5, 2011, 8:47 PM Send Moses-support mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://mailman.mit.edu/mailman/listinfo/moses-support or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Moses-support digest..." Today's Topics: 1. question (Roberto Rios) ---------------------------------------------------------------------- Message: 1 Date: Wed, 5 Jan 2011 11:52:35 -0500 From: Roberto Rios <[email protected]> Subject: [Moses-support] question To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" hello moses support.... 1 ) i am trying to install moses for the first time and i am having a hard time understanding LM....i though if I use kenlm i should not have to use srilm or irst..i just change my moses.ini lm to 8 and magic happens...but when training after preparing corpus to create the language model i get this error....i guess is asking for my language model already created..but how can i create it? is it kenlm that i have to use or srilm? is this the right command for training? /translation/moses/scripts/training$ train-model.perl -root-dir . --corpus /translation/corpustest/docetokenlower --f es --e en Using SCRIPTS_ROOTDIR: /translation/moses/scripts Using single-thread GIZA ERROR: use --lm factor:order:filename to specify at least one language model at ./train-model.perl line 302. gcc version 4.4.3 i486-linux-gnu 32bit ubuntu 10.04 ---------------------------- 2 ) if i have to use SRILM which common file should i use for my i486 --> i686 maybe? if so what changes do i have to make to the file. when i make World obe...@aaron:/translation/srilm$ make World mkdir include lib bin mkdir: cannot create directory `include': File exists mkdir: cannot create directory `lib': File exists mkdir: cannot create directory `bin': File exists make: [dirs] Error 1 (ignored) make init make[1]: Entering directory `/translation/srilm' for subdir in misc dstruct lm flm lattice utils; do \ (cd $subdir/src; make SRILM=/translation/srilm MACHINE_TYPE=i686 OPTION= MAKE_PIC= init) || exit 1; \ done make[2]: Entering directory `/translation/srilm/misc/src' cd ..; /translation/srilm/sbin/make-standard-directories /bin/sh: /translation/srilm/sbin/make-standard-directories: not found make[2]: [init] Error 127 (ignored) make ../obj/i686/STAMP ../bin/i686/STAMP make[3]: Entering directory `/translation/srilm/misc/src' mkdir ../obj/i686/ touch ../obj/i686/STAMP mkdir ../bin/i686/ mkdir: cannot create directory `../bin/i686/': No such file or directory make[3]: [../bin/i686/STAMP] Error 1 (ignored) touch ../bin/i686/STAMP touch: cannot touch `../bin/i686/STAMP': No such file or directory make[3]: *** [../bin/i686/STAMP] Error 1 make[3]: Leaving directory `/translation/srilm/misc/src' make[2]: *** [init] Error 2 make[2]: Leaving directory `/translation/srilm/misc/src' make[1]: *** [init] Error 1 make[1]: Leaving directory `/translation/srilm' make: *** [World] Error 2 Thank You Roberto -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20110105/e94044b7/attachment-0001.htm ------------------------------ _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support End of Moses-support Digest, Vol 51, Issue 3 ********************************************
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
