nltk.NgramAssocMeasures.likelihood_ratio

classmethod NgramAssocMeasures.likelihood_ratio(*marginals)[source]

Scores ngrams using likelihood ratios as in Manning and Schutze 5.3.4.