Tagged: Implementing a Naive Bayes classifier for text categorization