An example of Multinomial Naive Bayes for text classification