It is also more principled, and could be adapted to help learn other kinds of probabilistic classifiers for quite different tasks.
let V = {v 1 , ..., v 17744 } be the set of word types with count ≥ 4 in the full 2000-document corpus.