Search⌘ K

Sentiment Analysis

Explore sentiment analysis concepts and how to classify text by the writer's attitude. Learn to create training data pairs for text classification models using tokenized sequences and labels, all within TensorFlow.

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 ...