Hi, Try running Moses from ~/moses/mosesdecoder/sample-models .
Kenneth On 10/12/11 18:24, Daniel Schaut wrote: > Hi all, > > I'm a new user to Moses and received the following error message while > trying to translate the sample model: > > user@user-desktop:~/moses/mosesdecoder/sample-models/phrase-model$ > /home/user/moses/mosesdecoder/moses-cmd/src/moses -f moses.ini < in > out > Defined parameters (per moses.ini or switch): > config: moses.ini > input-factors: 0 > lmodel-file: 8 0 3 lm/europarl.srilm.gz > mapping: T 0 > n-best-list: nbest.txt 100 > ttable-file: 0 0 0 1 phrase-table > ttable-limit: 10 > weight-d: 1 > weight-l: 1 > weight-t: 1 > weight-w: 0 > Loading lexical distortion models...have 0 models > Start loading LanguageModel lm/europarl.srilm.gz : [0.000] seconds > terminate called after throwing an instance of 'util::ErrnoException' > what(): util/file.cc:33 in int util::OpenReadOrThrow(const char*) threw > ErrnoException because `-1 == (ret = open(name, O_RDONLY))'. > No such file or directory while opening lm/europarl.srilm.gz > Aborted > > I followed the Step-by-Step Guide on the internet, checked out Moses (Rev > 4339), built it accordingly and configured it using KenLM. Furthermore, I've > already searched the Moses-Support Archives for this type of error, but I > could't find an answer to this problem. > > Could you please give a hint on how to solve this issue? If further > information about my system is needed, I'll be happy to provide it. > > Many thanks in advance and best, > Dan > > > _______________________________________________ > 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