Hi Andreas<div><br></div><div>Thank you very much. This information is very helpful.</div><div><br></div><div>Xiaolin.<br><br><div class="gmail_quote">On Fri, Oct 12, 2012 at 12:45 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 class="im">On 10/12/2012 10:17 AM, Xiaolin Xie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi SRILM users.<br>
<br>
I am working on a project that needs to calculate the conditional probability of each word given its previous two words in a paragraph. A language model has been trained from a training set. Do your guys have any idea about how to directly calculate the conditional probability p(W_k|W_k-1, W_k-2), using the SRILM toolkit and the trained language model? Thanks a lot! I really appreciate any help you can offer.<br>

<br>
</blockquote>
<br></div>
One method is described in <a href="http://www.speech.sri.com/pipermail/srilm-user/2012q3/001314.html" target="_blank">http://www.speech.sri.com/<u></u>pipermail/srilm-user/2012q3/<u></u>001314.html</a> .<br>
Hope that helps,<br>
<br>
Andreas<br>
<br>
</blockquote></div><br></div>