It looks like you're trying to use the delimiter ":" like in $PATH. That won't work. $IRSTLM must point to only one path and that path is created automatically when you compiled IRSTM for at least versions 5.60 and above.
On Mon, 9 Apr 2012 20:21:13 +0300, Ambaye Tadesse wrote: I export like you tell i.e in my case export IRSTLM=/home/ambayet/moses/bin/irstlm/bin/i686:/home/ambayet/moses/bin/irstlm/bin:$IRSTLM on my own but says /home/ambayet/moses/bin/irstlm/bin/i686:/home/ambayet/moses/bin/irstlm/bin: does not contain a proper installation of IRSTLM what may be the problem even if all you have listed files existed in proper way i.e in /irstlm/bin,/irstlm/include and /irstlm/lib? Thanks, Best Regards. , Thanks, On Mon, Apr 9, 2012 at 8:04 PM, Tom Hoar wrote: 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. Links: ------ [1] mailto:[email protected] [2] mailto:[email protected]
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
