Make sure you export the IRSTLM variable. It should be upper case like this:
export IRSTLM=/usr/local/lib/irstlm Inside that path, you should have: /usr/local/lib/irstlm/bin - contains the binaries and scripts such as build-lm.sh and dict /usr/local/lib/irstlm/include - contains .h files /usr/local/lib/irstlm/lib - contains libirstlm.a object On Mon, 9 Apr 2012 19:57:52 +0300, Ambaye Tadesse wrote: hi there, while using my IRSTLM there is a problem saying I install IRSTLM on directory /home/ambayet/moses/bin/ irstlm/bin this path where all files like build-lm.sh , compile-lm found but when I try to do build LM in command line ~/moses/bin/irstlm/bin/build-lm.sh -i work/lm/news-commentary.lowercased.en -lm work/lm/news-commentary.lm -n 3 -o train.irstlm.gz -k 10 there is an error saying Set IRSTLM environment variable with path to irstlm but after that I do uname -m which results i686 and uname -s which results Linux and finally ln -s i686-redhat-linux-gnu i686 but the problem still there, what am I do ? Thanks for your reply Best Regards.
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
