Hi,

        Since it appears you're in the phrase-model directory, cd .. and try 
again.  You need to be in a path so that

ls lm/europarl.srilm.gz

completes successfully.  This is implicit in the instructions 
http://www.statmt.org/moses/?n=Development.GetStarted :

cd ~/mosesdecoder/sample-models
~/mosesdecoder/moses-cmd/src/moses -f phrase-model/moses.ini < 
phrase-model/in > out

Kenneth

On 04/09/2012 07:24 PM, Yared Mekuria wrote:
> Hello Moses support @mit
> I had hard time installing moses. and at last while I try to test the
> installation with sample model
> I get the following error.
>
> Loading lexical distortion models...have 0 models
> Start loading LanguageModel lm/europarl.srilm.gz : [0.000] seconds
> 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
> admin1@ubuntu:~/data/sample-models/phrase-model$
>
> please I will wait for your answer.
> THANK YOU.
> _______________________________________________
> 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