Hi Mauro,

Alongside the documentation pointed out by Daniel (which is the official
IRSTLM documentation),  you would need a few more things in order to
interpolate LMs using IRSTLM...

The interpolate-lm script would create a config file (lets say
interp.wt.final) of the following format

LMINTERPOLATION 2
0.439053 <full path to your LM-1>
0.560947 <full path to your LM-2>

However, IRSTLM does not allow you to create a single interpolated LM
as SRILM does... Instead you can directly use the interpolated LMs in
your Moses.ini by passing the final config file directly.
[lmodel-file]
1 0 5 /home/mt/l_models/interp.wt.final

But to have this functionality, you should have a relatively new Moses
build and IRSTLM version 5.70.04...

For further reference you could look at
http://comments.gmane.org/gmane.comp.nlp.moses.user/6341

Hope this helps..

Thanks and Regards,

Pratyush


On Thu, Aug 2, 2012 at 9:16 AM, Daniel Schaut <danielsh...@hotmail.com>wrote:

> Hi Mauro,****
>
> ** **
>
> IRSTLM provides a special tool for that. Here you can find more
> information about how to interpolate LMs using IRSTLM****
>
>
> http://sourceforge.net/apps/mediawiki/irstlm/index.php?title=LM_interpolation
> ****
>
> ** **
>
> Daniel****
>
> ** **
>
> *Von:* moses-support-boun...@mit.edu [mailto:moses-support-boun...@mit.edu]
> *Im Auftrag von *Philipp Koehn
> *Gesendet:* 02 August 2012 00:35
> *An:* Mauro Zanotti
> *Cc:* moses-support@mit.edu
> *Betreff:* Re: [Moses-support] Ems: interpolating LM using IrstLM****
>
> ** **
>
> Hi,
>
> yes, the current implementation relies on SRILM.
> But maybe someone from IRST can explain how
> to interpolate their models.
>
> -phi****
>
> On Wed, Aug 1, 2012 at 3:37 PM, Mauro Zanotti <mau.zano...@gmail.com>
> wrote:****
>
> Dear all,****
>
> ** **
>
> I trained 2 LM in EMS module, how can I interpolate them using irstlm instead
> of srilm? interpolate-lm.perl works only with srilm?****
>
> ** **
>
> Thank you in advance****
>
> Mauro****
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support****
>
> ** **
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to