A Python implementation of a Naive-Bayes classifier applied to data from the 20 newsgroups data set.