Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. SpamBayes is a
Bayesian spam filter written in Python which uses techniques laid out by
Paul Graham in his essay "A Plan for Spam". It has subsequently been
improved by Gary Robinson and Tim Peters, among others. The most notable
difference between a conventional Bayesian filter and the filter used by
SpamBayes is that there are three classifications rather than two: spam,
non-spam (called ham in SpamBayes), and unsure. The user trains a
message as being either ham or spam; when filtering a message, the spam
filters generate one score for ham and another for spam.