<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3562" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>Hi,all:</FONT></DIV>
<DIV> </DIV>
<DIV>  I'm trying to get the trigram from the text with the command:</DIV>
<DIV>  "ngram-count -text char.txt -lm char.tri -order 3"</DIV>
<DIV> and the content of char.txt is: a b a b a d  a e</DIV>
<DIV> </DIV>
<DIV>and only one trigram in the result file char.tri,</DIV>
<DIV>why other trigram are lost? like "b a b" , "b a d" ,...</DIV>
<DIV> </DIV>
<DIV>the content of char.tri is :</DIV>
<DIV><BR>\data\<BR>ngram 1=6<BR>ngram 2=7<BR>ngram 3=1</DIV>
<DIV> </DIV>
<DIV>\1-grams:<BR>-0.9208187 </s><BR>-99 <s> -0.06445797<BR>-0.3767507 a -0.4313637<BR>-0.6575773 b -0.2405493<BR>-0.9208187 d -0.06445797<BR>-0.9208187 e -0.2455126</DIV>
<DIV> </DIV>
<DIV>\2-grams:<BR>-0.30103 <s> a<BR>-0.39794 a 
b 0<BR>-0.69897 a d<BR>-0.69897 a e<BR>-0.1760913 b 
a<BR>-0.30103 d a<BR>-0.30103 e </s></DIV>
<DIV> </DIV>
<DIV>\3-grams:<BR><FONT color=#ff0000>-0.1760913 a b a</FONT></DIV>
<DIV> </DIV>
<DIV>\end\</DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2010-07-22 
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>ÍõÇï·æ</SPAN> 
</FONT></DIV></FONT></BODY></HTML>