Hello everyone,

I've just recently started to work with Moses and managed to build a couple
of models without problems... until now.

I was training a new system and I got this error when executing
lexical-reordering-score:

../mosesdecoder/scripts/../bin/lexical-reordering-score
/local/scratch/train/model/extract.o.sorted.gz 0.5
/local/scratch/train/model/reordering-table. --model "wbe msd
wbe-msd-bidirectional-fe"
Lexical Reordering Scorer
scores lexical reordering models of several types (hierarchical,
phrase-based and word-based-extraction
terminate called after throwing an instance of 'util::GZException'
  what():  util/read_compressed.cc:163 in virtual std::size_t
util::{anonymous}::GZip::Read(void*, std::size_t, util::ReadCompressed&)
threw GZException'.
zlib encountered invalid distances set code -3
Aborted

I found an old post
(http://permalink.gmane.org/gmane.comp.nlp.moses.user/10151) saying this was
due to an apparent bug in zlib 1.2.3.4 on Ubuntu 12.04 and that upgrading to
zlib 1.2.8 solves the problem. However, I already have zlib 1.2.8 (but on
Ubuntu 14.04) and I still get this error. In case it helps, package name is
zlib1g:amd64 version 1:1.2.8.dfsg-1ubuntu). 

It's a bit strange that I didn't stumble upon this problem when I trained
previous systems.

Any ideas on what to do? 

Thank you very much,
Guy


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to