Hi Mahima

This is the key:
> ERROR:no LM created. We probably don't have it compiled

i.e. you're trying to use a language model type that you haven't compiled in.

You should see the something like the following in your ini file:

[lmodel-file]
8 0 5 /path-to-language-model

The first digit specifies the language model type. If you set it to 8 then 
moses 
will use kenlm, which is compiled in by default, so should work.

You can set it to 0 for srilm, or 1 for irstlm, but these libraries must be 
compiled in by passing the correct options to bjam (e.g. --with-
irstlm=/path/to/irstlm)

cheers - Barry

On Thursday 22 March 2012 10:36:37 Mahima Sharma wrote:
> Hi
> 
> I have trained my system as the moses_steps. Things went perfectly, my
> system was trained, moses.ini file was created. But, when I tried to test
> my system using the command.
> 
> echo "Mumbai is the financial capital of India ." | $MOSES/dist/bin/moses
> -f moses-hin/model/moses.ini
> 
> I get an error
> 
> Start loading LanguageModel /home/nisheeth/MT/moses-hin/lm/ilc.lm :
> [11.000] seconds
> ERROR:Language model type unknown. Probably not compiled into library
> ERROR:no LM created. We probably don't have it compiled
> 
> I don't seem to understand the problem. Can anybody please help me.
> 
> thanks
> Mahima
> --
> Change always comes bearing gifts.
> 
 
--
Barry Haddow
University of Edinburgh
+44 (0) 131 651 3173

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to