Naive Bayes' text classification code example