[SRILM User List] ngram-count's extensions to the ARPA LM

Andreas Stolcke stolcke at icsi.berkeley.edu
Sun Jun 16 12:15:33 PDT 2013


On 6/16/2013 9:29 AM, Sander Maijers wrote:
> Does 'ngram' take into account the values that are in a quasi-ARPA LM 
> with SRILM extensions? So, if I have created an LM with 'ngram-count' 
> with '-skip' parameter and I use it with 'ngram', will the skipping be 
> reflected in the perplexity results reported?
Yes, if you run "ngram -skip"  it will expect the skip probabilities 
following the \end\  line in the model file.

>
> Could you please document explicitly for each respective 'ngram-count' 
> parameter, for instance '-skip', whether its use will result in 
> non-ARPA LM output (an ARPA LM with SRILM extensions)?
The ngram(1) man page says

        -skip  Interpret the LM as a ''skip'' N-gram model.



Andreas



More information about the SRILM-User mailing list