[SRILM User List] Option for i-distant bigram

Andreas Stolcke stolcke at speech.sri.com
Tue Mar 16 06:37:28 PDT 2010


On 3/15/2010 1:51 AM, Sneha Ann Mathew wrote:
> Hi All,
>
> Is there any option in SRI LM for creating a LM based on i-distant 
> bigrams.This is to include the context of i neighbouring words but 
> considering the bigram combination as follows:
>
> p(Wn|Wn-4,.....Wn-1)=sum of [Li * p(Wn|Wn-i)] where i varies from 1 to 
> 5 [for my case]
> Sum of Li should be 1
Are the p(.|.) position-specific, or shared?
Either way, no, this is not implemented in SRILM.  But it would be quite 
straightforward to do so.  Here is your chance to contribute!

Andreas




More information about the SRILM-User mailing list