Please disregard the message. I should have run moses -f from an SSH 
remote connection, but ran from a local terminal instead with the remote 
system mounded with NFS. In fact, the file was not there.


On 07/01/2013 01:12 AM, Tom Hoar wrote:
> I just tried to load a new LM. When I run moses -f moses.ini, loading 
> the LM fails with the following error. It looks like it's telling me 
> the LM doesn't exist, but in fact, it's there.
>
> Start loading LanguageModel 
> /opt/domy/ENGINES/recasers/recaser-t=es-l=deduped-small-es-T=irstlmken-n=12-a=giza-g=10/irstlmken.es
>  
> : [0.000] seconds
> util/file.cc:42 in int util::OpenReadOrThrow(const char*) threw 
> ErrnoException because `-1 == (ret = open(name, O_RDONLY))'.
> No such file or directory while opening 
> /opt/domy/ENGINES/recasers/recaser-t=es-l=deduped-small-es-T=irstlmken-n=12-a=giza-g=10/irstlmken.es
>
> Here's the LM section of the moses.ini. Yes, the moses binary was 
> compiled with --max-kenlm-order=12.
>
> # language models: type(srilm/irstlm), factors, order, file
> [lmodel-file]
> 9 0 12 
> /opt/domy/ENGINES/recasers/recaser-t=es-l=dell-deduped-small-es-T=irstlmken-n=12-a=giza-g=10/irstlmken.es
>
> Any ideas?

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to