Text classification is a widely studied area of language processing and text mining. Using text classification mechanisms, we can classify documents into predefined categories based on their content.
In this chapter, we'll take a look at how to classify short text messages that get delivered to our mobile phones. While some messages we receive are important, others might represent a serious threat to our privacy. We want to be able to classify the text messages correctly in order to avoid spam and to avoid missing important messages.