Dear Sushil, You need to supply the following setting for the language model switch: lmodel-file: 1 0 3 ../lm/europarl.srilm.gz the "1" indicating you're using irstlm Cheers,
Emmanuel On Tue, Apr 22, 2008 at 9:31 PM, sushil ronghe <[EMAIL PROTECTED]> wrote: > Dear all, > > I am trying to compiled moses with irstlm library in path. > the compilation has not given any error so i thought it is done. > > then while testing with the sample model > http://www.statmt.org/moses/download/sample-models.tgz > i got this messages > ------------------------- > Defined parameters (per moses.ini or switch): > config: moses.ini > input-factors: 0 > lmodel-file: 0 0 3 ../lm/europarl.srilm.gz > mapping: T 0 > ttable-file: 0 0 1 phrase-table > ttable-limit: 10 > weight-d: 1 > weight-l: 1 > weight-t: 1 > weight-w: 0 > Loading lexical distortion models... > have 0 models > Start loading LanguageModel ../lm/europarl.srilm.gz : [0.000] seconds > ERROR:Language model type unknown. Probably not compiled into library > ERROR:no LM created. We probably don't have it compiled > > I am unable to understand what this error message is suggesting. > > I have installed the moses and irstlm on i686 with OS ubuntu. > the compilation has not given any error. > > please help me to figure out what is going wrong. > > > Thanks > > > Extra > ------------ > (i have also compiled this model with irstlm just to confirm that > there is something wrong with moses-installation > rather than any issue of language model). > ----- compile-lm log---------- > loadtxt() > 1-grams: reading 37344 entries > 2-grams: reading 715602 entries > 3-grams: reading 495669 entries > done > starting to use OOV words [<unk>] > OOV code is 37344 > OOV code is 37344 > Set dictionary_upperbound to: 37346 > Set logOOVpenalty to: 0 > savetxt: /trServer/moses_dil/mosesdecode > r/sample-models > save: 37344 1-grams > save: 715602 2-grams > save: 495669 3-grams > done > ---------------------------------------------------------- > > > > > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
