[Q] on mix-lm?

Andreas Stolcke stolcke at speech.sri.com
Tue Mar 4 17:22:38 PST 2003

This message bounced because the sender address is not (no longer? )subscribed.

I would like to add that while the ngram -bayes enables posterior-weighted
mixture, the special case -bayes 0 gives a weight of zero to the posterior,
effectively resulting in the standard context-independent linear interpolation
of models.


------- Forwarded Message

Date: Tue, 04 Mar 2003 15:20:59 -0500
From: Woosung Kim <woosung at cs.jhu.edu>
Subject: Re: About -bayes option in "ngram" command
In-reply-to: <023b01c2e21b$1dcc0720$6314ce80 at speechwork>
To: Xiaolong Li <xlm7b at mizzou.edu>
Cc: srilm-user at speech.sri.com
Message-id: <20030304152059.50a95685.woosung at cs.jhu.edu>
Organization: CLSP/JHU
MIME-version: 1.0
X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.8; sparc-sun-solaris2.7)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
References: <023b01c2e21b$1dcc0720$6314ce80 at speechwork>
X-Spam-Status: No, score=0.0 threshold=8.0

This is exactly the same question I asked before, so I can give
you the answer I got from Dr. Stolcke.
Maybe it needs to be more explicitly mentioned in the manual.

- -- 
Woosung Kim

From: Andreas Stolcke <stolcke at speech.sri.com>
To: Woosung Kim <woosung at clsp.jhu.edu>
Subject: Re: [Q] on mix-lm? 
Date: Thu, 03 Oct 2002 09:22:00 PDT

You cannot "-write-lm" a dynamically interpolated LM (this is also 
mentioned in the man page).    To evaluated such an LM (compute 
perplexity, rescore nbest, etc.) you always give the component LMs and 
the interpolation weights.

- --Andreas

On Mon, 03 Mar 2003 22:56:00 -0800
Xiaolong Li <xlm7b at mizzou.edu> wrote:

> Hi,
>     I met a problem in using "-bayes" option of "ngram" command when I want to interpolate two LM models (using posterier mixture weights). The below command doesn't work with an error message as "write() method not implemented".
> ngram -lm LM1 -mix-lm LM2 -bayes 0 -write-lm MIX_LM 
> but it works when I use a priori mixture weights (without -bayes option)
>     Could you help me? Thanks a lot.
> Hans Li

------- End of Forwarded Message

More information about the SRILM-User mailing list