Hi Amin Using a prepared LM in EMS is straightforward. Just include a stanza like
[LM:mylm] lm = /path/to/my/lm in your [LM] section. To the best of my knowledge, there is no way to get EMS to build the LM using irstlm. You have to build it yourself. But EMS can use irstlm to binarise or quantise the LM, if you like. best regards Barry On Sunday 13 Feb 2011 18:53:37 Kenneth Heafield wrote: > I don't really know how to use EMS, so hopefully the mailing list can > answer this question. > > -------- Original Message -------- > Subject: Build LM using IRSTLM > Date: Sun, 13 Feb 2011 22:05:13 +0330 > From: amin farajian <[email protected]> > To: [email protected] > > > > Hello Dear Heafield, > > I'm trying to build a Pr-En MT using moses. But since I'm using a 1.5GB > monolingual corpus, SRILM runs out of memory. I tried IRSTLM to build > the language model and I could successfully build it using "build-lm.sh" > and "compile-lm". But I don't know how to use it in EMS. When I > uncomment this line in config.basic: > > ### if corpus preparation should be skipped, > > # point to the prepared language model > > # > > lm =/home/amin/mt/work/data/Pr_LM.blm > > running experiment.pl <http://experiment.pl>, this error happens: > > ERROR: you need to define GENERAL:order > > is there anyway to load the prepared language model in EMS? > As I found from the config files, the language model must be build using > SRILM and then IRSTLM can be used to compile it and to change its > format(into Binary format or Quantized format). is it right? If yes, is > there anyway to ask EMS to use IRSTLM instead of SRILM and build the > language model using it from scratch? > > As I am new to the ems, would you possibly describe me what changes must > be done in config file? > > Best Regards. > M. A. Farajian. > _______________________________________________ > 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
