Sentiment Analysis

Learn about sentiment analysis and how it relates to NLP.

Chapter Goals:

  • Learn about sentiment analysis and how it's related to NLP
  • Create sentiment analysis training pairs from a text corpus

A. Classifying sentiment

Any time you read an opinionated text passage (e.g. social media post, editorial, etc.), the text contains sentiment. Sentiment refers to the writer's attitude in the text, so sentiment analysis is the task of analyzing or deducing what the writer's attitude is based on the text.

Oftentimes, the writer's attitude can be classified into one of several categories. For example, online user ...