Hi, I am trying to use interpolated language models (prepared using IRSTLM - v 5.50.01) directly in Moses.. I use interpolate-lm to learn weights on a devset but am not sure how to pass the configuration file to Moses directly..
I learnt from one of Nicola's mails (in the IRSTLM mailing list) that it could directly be passed on to the Moses decoder... However, when i try the following in my moses.ini file : [lmodel-file] 1 0 5 /home/pbanerjee/smt-work/incremental_LM_Exp/mt/l_models/interp.wt.final The language models are not loaded... I get the following lines in my log file... Start loading LanguageModel /home/pbanerjee/smt-work/incremental_LM_Exp/mt/l_models/interp.wt.final : [1.000] seconds In LanguageModelIRST::Load: nGramOrder = 5 Loading LM file (no MAP) 2 loadtxt() done starting to use OOV words [<unk>] OOV code is 0 OOV code is 0 IRST: m_unknownId=0 The content of my interpolation config file is as below... 2 0.439053 /home/pbanerjee/smt-work/incremental_LM_Exp/mt/l_models/forum.lm 0.560947 /home/pbanerjee/smt-work/incremental_LM_Exp/mt/l_models/tm.lm Could some one please let me know how to pass a interpolated configuration file to be directly used by Moses ? Thanks and Regards, Pratyush
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
