Hi,
Yes, I've slowly been rewriting parts of Moses to run faster using
the libraries written for kenlm. For example, the memory phrase table
now loads much faster using code originally written to parse ARPA files
quickly. And this dependency broke --without-kenlm.
The real fix here would be to move these into a general utility
directory that both Moses and kenlm would depend on. But for now I've
just abused kenlm/util for that purpose.
They lazy fix here would be to remove the --without-kenlm option
from ./configure. Would you be ok with that or does it cause a problem
for you? IRSTLM still works fine; the only functional difference I can
think of is a larger moses executable.
Kenneth
On 11/11/11 16:28, arianna bisazza wrote:
Hi all,
I've noticed a problem in the version of Moses just downloaded from
Github.
If I configure with the option "--without-kenlm", compilation fails
apparently because the directory "util" cannot be found.
When I included kenlm, compilation succeeded instead.
Cheers,
Arianna Bisazza
PS: here is some of the log:
...
make[3]: Entering directory
`/hardmnt/mccurry0/ssi/bisazza/software/moses_GIT/mosesdecoder/moses/src'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -DTRACE_ENABLE=1
-I/hardmnt/mccurry0/ssi/bisazza/software/irstlm-5.70.03//include -g
-O2 -MT AlignmentInfo.lo -MD -MP -MF ".deps/AlignmentInfo.Tpo" -c -o
AlignmentInfo.lo AlignmentInfo.cpp; \
then mv -f ".deps/AlignmentInfo.Tpo"
".deps/AlignmentInfo.Plo"; else rm -f ".deps/AlignmentInfo.Tpo"; exit
1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -W -Wall -ffor-scope
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DTRACE_ENABLE=1
-I/hardmnt/mccurry0/ssi/bisazza/software/irstlm-5.70.03//include -g
-O2 -MT AlignmentInfo.lo -MD -MP -MF .deps/AlignmentInfo.Tpo -c
AlignmentInfo.cpp -o AlignmentInfo.o
In file included from StaticData.h:41,
from AlignmentInfo.cpp:23:
FactorCollection.h:33:31: error: util/murmur_hash.hh: No such file or
directory
FactorCollection.h:39:32: error: util/string_piece.hh: No such file or
directory
...
_______________________________________________
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