<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<br><br>( i must send it with wrong subject, excuse me!!)<br><br>i am using this code<br>&nbsp;./../srilm/bin/i686/ngram -lm my.lm -ppl test -debug 2 &gt; out<br><br>but the out put is not in the format i want, is there any solution or i must write a post processing code to change it?<br><br>1. I want each 3-gram of the test text and its probability and/or perplexity in this form<br><br>0.000693052 p( bro | &lt;s&gt; ) <br>0.000224209 p( &lt;unk&gt; | bro ...)<br>....<br><br>2. also above forms for sentenses :<br><br>392.676 bro mano dari mikesh<br><br>3. I don't want the words that are unknown change to &lt;unk&gt;, how i can use the main word instead?<br><br>4. Is it possible to get the n-worth 3-grams (ans sentenses) of the test text?<br><br>best regards,<br>S.Bakhshaei<br><br></td></tr></table><br>