<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; I tried to build class based LMs in the following way:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;step-1:&nbsp; ngram-class -text&nbsp;test.in -numclasses&nbsp;100 -class-counts text.cnt -classes text.cls&nbsp; -save 100</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;step-2:&nbsp; ngram-count -read&nbsp; text.cnt -memuse -kndiscount -kndiscount1 -kndiscount2 -lm text.srilm.gz</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; I found that the class count output "text.cnt" from step-1 is only bigram-counts.&nbsp; Thus the final class-LM text.srilm.gz is also a bigram one. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;Could anyone tell me if I am using the toolkit correctly?&nbsp; How to build a trigram class-based LM?&nbsp; Also are there any published paper/document that I can look up for detail information? </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; Many thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>-June</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!