<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,
<br>
<br>
<font size="2">I wanted to know how do I do linear interpolation of several models given their weights?
<br>
Also, can I interpolated more than 10 models at once? <br>
<br>
I tried several hit/trials so far. Nothing seems to work for me. <br>
<br>
</font><font size="2">$ngram -lm small.lm.1 -lambda 0.7 -mix-lm big.lm.1 -unk <br>
It doesn't throw any output or error. <br>
<br>
when I try -write option <br>
</font><font size="2"><font size="2">$ngram -lm small.lm.1 -lambda 0.7 -mix-lm big.lm.1 -unk  -write-lm mixed.lm.1<br>
write() method not implemented<br>
error writing mixed.lm.1<br>
<br>
but when I try </font></font><br>
<font size="2"><font size="2"><font size="2"><font size="2">$ngram -lm small.lm.1 -lambda 0.7 -mix-lm2 big.lm.1 -mix-lambda2 0.3 -unk  -write-lm mixed.lm.1<br>
Then the mixed.lm.1 file is the same as small.lm.1<br>
</font></font></font></font><br>
<font size="2"><font size="2"><font size="2"><font size="2"><font size="2"><font size="2"><font size="2">My
</font>SRILM version is 1.5.3.<br>
</font></font>I read that there are many ways of interpolation such as count-based and log-linear interpolation.
<br>
I tried the options -count-lm (throws a format error), -loglinear-mix (didn't do anything)<br>
<br>
I am out of options. Please help!<br>
<br>
</font></font><br>
<br>
Thanks,<br>
</font>--<br>
Prashant<br>
</font></div>
</body>
</html>