Using Naive bayes for text classification