Chapter 4: Classifying Texts
In this chapter, we will be classifying texts using different methods. After reading this chapter, you will be able to preprocess and classify texts using keywords, unsupervised clustering, and two supervised algorithms: support vector machines (SVMs) and long short-term memory neural networks (LSTMs).
Here is the list of recipes in this chapter:
- Getting the dataset and evaluation baseline ready
- Performing rule-based text classification using keywords
- Clustering sentences using K-means: unsupervised text classification
- Using SVMs for supervised text classification
- Using LSTMs for supervised text classification