Dear Sir/Ma'am, I am trying to run moses decoder for english to hindi translation but moses is unable to load the phrase table as it runs out of memory and process exits.Also when I tried to use the binarized form of phrase table I was getting the following error.
>~/smt/mosesdecoder/bin/moses -f ~/set_eng_to_hindi/tune/mert-work/moses.ini <test.true.en >test.out.hi.text "Loading PhrasePenalty0Loading LexicalReordering0 Loading table into memory...Exception: vector::_M_range_check " I have also attached the moses.ini file. It would be very helpful if someone can help. # MERT optimized configuration # decoder /home/iit/mosesdecoder/bin/moses # BLEU 0.00292786 on dev /home/iit/corpora/parallel/dev.en.clean.txt.txt # We were before running iteration 2 # finished Tue Jun 6 12:55:43 IST 2017 ### MOSES CONFIG FILE ### ######################### # input factors [input-factors] 0 # mapping steps [mapping] 0 T 0 [distortion-limit] 6 # feature functions [feature] UnknownWordPenalty WordPenalty PhrasePenalty PhraseDictionaryCompact name=TranslationModel0 num-features=4 path=/home /iit/corpora/parallel/binarised-model/phrase-table.binphr input-factor=0 output-factor=0 LexicalReordering name=LexicalReordering0 num-features=6 type=wbe- msd-bidirectional-fe-allff input-factor=0 output-factor=0 path=/home /iit/corpora/parallel/binarised-model/reordering-table.binlexr Distortion IRSTLM name=LM0 factor=0 path=/home/iit/corpora/parallel /lm/corpora_train.lm.arpa.binary order=3 # dense weights for feature functions [weight] LexicalReordering0= 0.0652174 0.0652174 0.0652174 0.0652174 0.0652174 0.0652174 Distortion0= 0.0652174 LM0= 0.108696 WordPenalty0= -0.217391 PhrasePenalty0= 0.0434783 TranslationModel0= 0.0434783 0.0434783 0.0434783 0.0434783 UnknownWordPenalty0= 1 Thanks and Regards _Pritesh Ranjan
moses.ini
Description: Binary data
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support