Dear Andreas,<br><br>Thanks for your help.<br><br><br><div class="gmail_quote">On Fri, Aug 17, 2012 at 11:54 PM, Andreas Stolcke <span dir="ltr"><<a href="mailto:stolcke@icsi.berkeley.edu" target="_blank">stolcke@icsi.berkeley.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Ananda,<br>
      <br>
      the easiest way to have the toolkit compute your bigram and
      trigram probabilities once you have the model trained is:<br>
      <br>
      ngram -lm /home/ananda/Desktop/work/anandamodeling -debug 2
      -counts NGRAMS<br>
      <br>
      where NGRAMS is a file you prepare that lists all the bigrams and
      trigrams you need, followed by a "1".<br>
      For example:<br>
      <br>
      i i 1<br>
      i want 1<br>
      i to 1<br>
      want want 1<br>
      to to 1<br>
      etc.<br>
      <br>
      Andreas<div><div><br>
      <br>
      <br>
      On 8/16/2012 9:14 PM, Ananda K.C. wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div class="gmail_quote">Dear all,<br>
        <br>
        I am doing dissertation of my Master's degree in computer
        science.I<br>
        want to calculate the bigram and trigram probability table as in
        attachment,from back off N-gram language models in ARPA format.<br>
        <br>
        Also when i use this command "ngram-count -order 3 -read
        /home/ananda/Desktop/work/countoutput.txt -vocab<br>
        /home/ananda/Desktop/work/corpusvocab.txt -lm
        /home/ananda/Desktop/work/anandamodeling",which discounting is
        use for backoff smothing.<br>
        <br>
        I am new in the language modeling and thanks in advance.<br>
        <br>
        <br>
        Regards,<br>
        Ananda K.C.
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SRILM-User site list
<a href="mailto:SRILM-User@speech.sri.com" target="_blank">SRILM-User@speech.sri.com</a>
<a href="http://www.speech.sri.com/mailman/listinfo/srilm-user" target="_blank">http://www.speech.sri.com/mailman/listinfo/srilm-user</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br>