Archive for the ‘SRILM’ tag
Moses Support Digest: cannot find -loolm
[Moses-support] cannot find -loolm
libtool: link: g++ -g -O2 -o lmbrgrid LatticeMBRGrid.o LatticeMBR.o IOWrapper.o -L/home/sripirakas/SMT/tools/srilm/lib/i686 ../../moses/src/.libs/libmoses.a -L/home/sripirakas/SMT/tools/moses/OnDiskPt/src -lOnDiskPt -loolm -ldstruct -lmisc -lz
/usr/bin/ld: cannot find -loolm
collect2: ld returned 1 exit status
make[2]: *** [moses] Error 1
make[2]: *** Waiting for unfinished jobs….
/usr/bin/ld: cannot find -loolm
collect2: ld returned 1 exit status
make[2]: *** [lmbrgrid] Error 1
make[2]: Leaving directory `/home/sripirakas/SMT/tools/moses/moses-cmd/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sripirakas/SMT/tools/moses’
make: *** [all] Error 2
Re: [Moses-support] cannot find -loolm
First check in /home/sripirakas/SMT/tools/srilm/lib/i686 to see if the
library oolm is compiled successfully.
If your machine’s architecture is x86-64, SRILM actually compiles its
library for x86 instead. You need to explicitly tell SRILM to target x86-64
– I usually just edit the srilm/sbin/machine-type script and change
else if (`uname -m` == x86_64) then
#set MACHINE_TYPE = i686-m64
set MACHINE_TYPE = i686
to
else if (`uname -m` == x86_64) then
set MACHINE_TYPE = i686-m64
#set MACHINE_TYPE = i686
And then do a clean build.
Liu Chang
National University of Singapore
NOTICE:This is digested from the Moses-support mailing list, which supports for the moses SMT decoder.
Moses Support Digest:SRILM installation problem
[Moses-support] SRILM installation problem
Hi All,
I had a problem to install Moses and posted it here but no response is coming out yet. Can any one help me where to post this. I appreciate you guys for any help.
Mulu G.
Hi All,
I was trying to install srilm on Debian linux 5 lenny, MACHINE_TYPE= i686, with gcc version v 4.3.2. I have changed the Makefile according the manuals and without success. So when I try to enter #make World, it produces the following message
/bin/sh: /root/srilm: is a directory
mkdir include lib bin
mkdir: cannot create directory `include’: File exists
mkdir: cannot create directory `lib’: File exists
mkdir: cannot create directory `bin’: File exists
make: [dirs] Error 1 (ignored)
make init
/bin/sh: /root/srilm: is a directory
make[1]: Entering directory `/root/srilm’
for subdir in misc dstruct lm flm lattice utils; do
(cd $subdir/src; make SRILM=/root/srilm [SRILM] MACHINE_TYPE=
OPTION= MAKE_PIC= init) || exit 1;
done
make[2]: Entering directory `/root/srilm/misc/src’
/root/srilm/common/Makefile.common.variables:96:
/root/srilm/common/Makefile.machine.: No such file or directory
make[2]: *** No rule to make target `/root/srilm/common/Makefile.machine.’.
Stop.
make[2]: Leaving directory `/root/srilm/misc/src’
make[1]: *** [init] Error 1
make[1]: Leaving directory `/root/srilm’
make: *** [World] Error 2
Could you please help me in sorting out the problem and how to fix it.
Thank you all,
Mulu G.
Read the rest of this entry »
Moses Support Digest:Binarized SRILM
[Moses-support] Binarized SRILM
Hi,
just a quick question, can Moses use a binary version of the srilm lm? I have built it with the option -write-binary-lm
Thanks
Marco
Read the rest of this entry »
Moses Support Digest:Building POS language model with SRILM
[Moses-support] Building POS language model with SRILM
Hi,
The Moses manual recommends using the following switches when building a language model with SRILM:
-interpolate -kndiscount
I assume this recommendation applies specifically to surface-string language models. For a part-of-speech language model, KN-discounting is inappropriate because it is based on counts-of-counts, and the counts-of-counts for POSes are odd in that there are very few POSes that occur only once or twice in a given corpus.
Are there particular switches that are recommended for building a POS
language model with SRILM?
Regards,
Ben Gottesman
Read the rest of this entry »