Natural Language Processing
In this chapter, we will learn about the exciting topic of natural language processing (NLP). As we have discussed in previous chapters, having computers that are able to understand human language is one of the breakthroughs that will truly make computers even more useful. NLP provides the foundation to begin to understand how this might be possible.
We will discuss and use various concepts, such as tokenization, stemming, and lemmatization, to process text. We will then discuss the Bag of Words model and how to use it to classify text. We will see how to use machine learning to analyze the sentiment of a sentence. We will then discuss topic modeling and implement a system to identify topics in a given document.
By the end of this chapter, you will be familiar with the following topics:
- Installing relevant NLP packages
- Tokenizing text data
- Converting words to their base forms using stemming
- Converting words to their base forms...