nltk.BigramAssocMeasures.fisher

classmethod BigramAssocMeasures.fisher(*marginals)[source]

Scores bigrams using Fisher’s Exact Test (Pedersen 1996). Less sensitive to small counts than PMI or Chi Sq, but also more expensive to compute. Requires scipy.