nltk.NgramAssocMeasures.student_t

classmethod NgramAssocMeasures.student_t(*marginals)[source]

Scores ngrams using Student’s t test with independence hypothesis for unigrams, as in Manning and Schutze 5.3.1.