Hi I installed Moses on Ubuntu 14.10 and run the training corpus part successfully with the English-bengali corpus but now when I am running tuning command I am getting the following error,
nits@cse:~/Desktop/ad/demo$ /home/nits/Desktop/ad/mosesdecoder/scripts/training/mert-moses.pl /home/nits/Desktop/ad/demo/data/tuning.en /home/nits/Desktop/ad/demo/data/tuning.ben /home/nits/Desktop/ad/mosesdecoder/bin/moses /home/nits/Desktop/ad/demo/model/moses.ini --working-dir /home/nits/Desktop/ad/demo/tuning --rootdir /home/nits/Desktop/ad/mosesdecoder/scripts Using SCRIPTS_ROOTDIR: /home/nits/Desktop/ad/mosesdecoder/scripts Assuming --mertdir=/home/nits/Desktop/ad/mosesdecoder/bin Assuming the tables are already filtered, reusing filtered/moses.ini Asking moses for feature names and values from filtered/moses.ini Executing: /home/nits/Desktop/ad/mosesdecoder/bin/moses -config filtered/moses.ini -inputtype 0 -show-weights exec: /home/nits/Desktop/ad/mosesdecoder/bin/moses -config filtered/moses.ini -inputtype 0 -show-weights Executing: /home/nits/Desktop/ad/mosesdecoder/bin/moses -config filtered/moses.ini -inputtype 0 -show-weights > ./features.list 2> /dev/null Exit code: 1 ERROR: Failed to run '/home/nits/Desktop/ad/mosesdecoder/bin/moses -config filtered/moses.ini -inputtype 0 -show-weights'. at /home/nits/Desktop/ad/mosesdecoder/scripts/training/mert-moses.pl line 1748. nits@cse:~/Desktop/ad/demo$ /home/nits/Desktop/ad/mosesdecoder/bin/moses -f /home/nits/Desktop/ad/demo/tuning/filtered/moses.ini -i /home/nits/Desktop/ad/demo/tuning/filtered/input.14464 Defined parameters (per moses.ini or switch): config: /home/nits/Desktop/ad/demo/tuning/filtered/moses.ini distortion-limit: 6 feature: UnknownWordPenalty WordPenalty PhrasePenalty PhraseDictionaryMemory name=TranslationModel0 num-features=4 path=/home/nits/Desktop/ad/demo/tuning/filtered/phrase-table.0-0.1.1.gz 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/nits/Desktop/ad/demo/tuning/filtered/reordering-table.wbe-msd-bidirectional-fe.0-0.1 Distortion IRSTLM name=LM0 factor=0 path=/home/nits/Desktop/ad/demo/lm/train.ilm.gz order=3 input-factors: 0 input-file: /home/nits/Desktop/ad/demo/tuning/filtered/input.14464 mapping: 0 T 0 weight: UnknownWordPenalty0= 1 WordPenalty0= -1 PhrasePenalty0= 0.2 TranslationModel0= 0.2 0.2 0.2 0.2 LexicalReordering0= 0.3 0.3 0.3 0.3 0.3 0.3 Distortion0= 0.3 LM0= 0.5 line=UnknownWordPenalty FeatureFunction: UnknownWordPenalty0 start: 0 end: 0 line=WordPenalty FeatureFunction: WordPenalty0 start: 1 end: 1 line=PhrasePenalty FeatureFunction: PhrasePenalty0 start: 2 end: 2 line=PhraseDictionaryMemory name=TranslationModel0 num-features=4 path=/home/nits/Desktop/ad/demo/tuning/filtered/phrase-table.0-0.1.1.gz input-factor=0 output-factor=0 FeatureFunction: TranslationModel0 start: 3 end: 6 line=LexicalReordering name=LexicalReordering0 num-features=6 type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0 path=/home/nits/Desktop/ad/demo/tuning/filtered/reordering-table.wbe-msd-bidirectional-fe.0-0.1 Initializing Lexical Reordering Feature.. FeatureFunction: LexicalReordering0 start: 7 end: 12 line=Distortion FeatureFunction: Distortion0 start: 13 end: 13 line=IRSTLM name=LM0 factor=0 path=/home/nits/Desktop/ad/demo/lm/train.ilm.gz order=3 Exception: moses/FF/Factory.cpp:388 in void Moses::FeatureRegistry::Construct(const string&, const string&) threw UnknownFeatureException because `i == registry_.end()'. Feature name IRSTLM is not registered. Please help me. Arpita Dutta PhD Scholar Nit Silchar Assam-788010 India
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support