ah, the moses.ini file format has recently changed. The sample files are in the new format.
Older versions of moses don't understand the new format. (New Moses can understand both old and new format) To get the source code for the new Moses version: [email protected]:moses-smt/mosesdecoder.git If you really want to stick with the old moses, the old sample files are here: http://www.statmt.org/moses/download/sample-models.old.tgz However, the sample models are unrealistically small. These premade models are more realistic: http://www.statmt.org/moses/RELEASE-1.0/models/ On 6 August 2013 11:42, João Graça <[email protected]> wrote: > Hello, > > I am trying to install moses on my system and run it with the sample > models. > I am using the moses linux package from > http://www.statmt.org/~jie/linux/moses_1.0-1_amd64.deb > > and then I try to run the sample models available from the web site. > > http://www.statmt.org/moses/download/sample-models.tgz > > but when i try to run the decode I get the following error: > > vagrant@precise64:/vagrant/sample-models$ /opt/moses/bin/moses -f > phrase-model/moses.ini < phrase-model/in > Defined parameters (per moses.ini or switch): > config: phrase-model/moses.ini > feature: KENLM name=LM factor=0 order=3 num-features=1 > path=lm/europarl.srilm.gz Distortion WordPenalty UnknownWordPenalty > PhraseDictionaryMemory input-factor=0 output-factor=0 > path=phrase-model/phrase-table num-features=1 table-limit=10 > input-factors: 0 > mapping: T 0 > n-best-list: nbest.txt 100 > weight: WordPenalty0= 0 LM= 1 Distortion0= 1 PhraseDictionaryMemory0= 1 > ERROR:Unknown parameter feature > ERROR:Unknown parameter weight > ERROR:No phrase translation table (ttable-file) > > > Was there any major changes on the configuration file moses.ini that > renders the previous releases of moses unusable with the sample models? > > Thanks you for all your help, > > João > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
