Hi,

I am using IRSTLM for making a language model and I got a segmentation
fault
when I was trying to load a binary model trained using build-lm.sh and
compiled using compile-lm.

I tracked the problem down to the dictionary::load(std::istream&) method in
the trunk/src/dictionary.cpp file.

As far as I could tell, there is an issue with initialization of a
dictionary object and its member fields,
since the segmentation fault occurred when trying to access a member field
of strstack in strstack::push(const char *)

I compiled my program with g++ -Wall -I$IRSTLM/include program.cpp -o
program -L$IRSTLM/lib -lirstlm -lz

Best Regards,
Filip Petkovski
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to