Text this: Study on an improved naive Bayes algorithm in spam filtering