[SRILM User List] ask help with calculating word conditional probability
Andreas Stolcke
stolcke at icsi.berkeley.edu
Fri Oct 12 10:45:41 PDT 2012
On 10/12/2012 10:17 AM, Xiaolin Xie wrote:
>
> Hi SRILM users.
>
> 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.
>
One method is described in
http://www.speech.sri.com/pipermail/srilm-user/2012q3/001314.html .
Hope that helps,
Andreas
More information about the SRILM-User
mailing list