Practical Sentiment Analysis

This is going to be a fun chapter. In this chapter, we will explore and demonstrate some practical examples of using Natural Language Processing (NLP) concepts to understand how unstructured text can be turned into insights. In Chapter 10, Exploring Text Data and Unstructured Data, we explored the Natural Language Toolkit (NLTK) library and some fundamental features of working with identifying words, phrases, and sentences. In that process of tokenizing, we learned how to work with data and classify text, but did not go beyond that. In this chapter, we will learn about sentiment analysis, which predicts the underlying tone of text that's input into an algorithm. We will break down the elements that make up an ...

Get Practical Data Analysis Using Jupyter Notebook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.