[SRILM User List] How to decode with an interpolated class-based LM with lattice-tool

Andreas Stolcke stolcke at icsi.berkeley.edu
Tue May 15 10:27:20 PDT 2012


On 5/14/2012 8:02 PM, mvp-songyoung wrote:
> I have tried the -simple-classes option. It seems that my models do 
> not satisfy its requirements as I get such warning:
> ...
> ./LM/xx.class: line 6122: word holidays has multiple class memberships
> ./LM/xx.class: line 6122: word still has multiple class memberships
> ./LM/xx.class: line 6122: word five has multiple class memberships
> ./LM/xx.class: line 6122: word form has multiple class memberships
> ...
> I merged word classes for LM1 LM2 and LM3 from three different corpus 
> separately. So it can not avoid that they have some duplicate words 
> between each other. And I want to use interpolated class-based LM in 
> my decoding task. How to operate it? Thank you
>
In that case you could try

- converting the class-based LM into a purely word-based LM (ngram 
-expand-classes)
- generating N-best from lattices and rescoring those instead

Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20120515/7ff63ca2/attachment.html>


More information about the SRILM-User mailing list