Hi, your compile with the irstlm did not work correctly, otherwise it would recognize the language model option.
-phi On Mon, Jul 7, 2008 at 2:17 AM, Pham Thi Anh Vi <[EMAIL PROTECTED]> wrote: > Hi Mailing list, > > 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 > > I have the same Error. I supplied the following setting for the language > model switch as Emmanuel: > >> lmodel-file: 1 0 5 ../lm/europarl.srilm.blm, but the error still availble. >> Here is my moses config : > > ######################### > ### MOSES CONFIG FILE ### > ######################### > # input factors > [input-factors] > 0 > > # mapping steps > [mapping] > 0 T 0 > > # translation tables: source-factors, target-factors, number of scores, file > > [ttable-file] > 1 0 5 > /home/zil/Working/Language_models/Rbtdfinal_280k/model/binary_phrasetable/phrase-table.0-0.gz > > # no generation models, no generation-file section > > # language models: type(srilm/irstlm), factors, order, file > > [lmodel-file] > 1 0 5 > /hoe/zil/Working/Language_models/Rbtdfinal_280k/binary_lm/GwtwVnthuquan.blm > > > # limit on how many phrase translations e for each phrase f are loaded > # 0 = all elements loaded > [ttable-limit] > > 20 > 0 > # distortion (reordering) files > [distortion-file] > 0-0 msd-bidirectional-fe 6 > /home/zil/Working/Language_models/Rbtdfinal_280k/model/binary_reordering/reordering-table.msd-bidirectional-fe.0.5.0-0.gz > > > # distortion (reordering) weight > [weight-d] > 0.3 > 0.3 > 0.3 > 0.3 > 0.3 > 0.3 > 0.3 > > # language model weights > [weight-l] > 0.5000 > > > # translation model weights > [weight-t] > 0.2 > 0.2 > > 0.2 > 0.2 > 0.2 > > # no generation models, no weight-generation section > > # word penalty > [weight-w] > -1 > > [distortion-limit] > 6 > > Please help me to figure out what is going wrong. -- > ============================= > Phạm Thị Ánh Vi > VIEGRID JSC Huế > Mobile phone : 0984693313 > > _______________________________________________ > 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
