[SRILM User List] ask help with calculating word conditional probability

Xiaolin Xie alphabnu at gmail.com
Sun Oct 14 10:15:42 PDT 2012


Hi Andreas

Thank you very much. This information is very helpful.

Xiaolin.

On Fri, Oct 12, 2012 at 12:45 PM, Andreas Stolcke <stolcke at icsi.berkeley.edu
> wrote:

> 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<http://www.speech.sri.com/pipermail/srilm-user/2012q3/001314.html>.
> Hope that helps,
>
> Andreas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20121014/e2430c2c/attachment.html>


More information about the SRILM-User mailing list