[SRILM User List] Count number of n-grams common to a text and a language model

claude.vividsky at gmail.com claude.vividsky at gmail.com
Tue Jun 13 09:17:26 PDT 2017


Hi,

is there a way to extract the number of n-grams which are
both in the language model and the text under test?

Does I need to set special parameters to ngram-count when
the language model is generated and to ngram when the
language model is applied to the text under test?

Is there a way to extract or calculate this number from
the output of ngram?

Thank you
Claude





More information about the SRILM-User mailing list