nltk.BigramCollocationFinder.apply_word_filter

BigramCollocationFinder.apply_word_filter(fn)

Removes candidate ngrams (w1, w2, ...) where any of (fn(w1), fn(w2), ...) evaluates to True.