The document compares a naive Bayesian classifier and keyword-based anti-spam filtering using personal emails. It describes building a naive Bayesian classifier to classify emails as legitimate or spam based on the presence of words and phrases. The classifier was tested on three experiments using different corpora and attributes. Results showed the naive Bayesian classifier outperformed keyword-based filtering and improved as more attributes were added.