Data & retrieval

Sentiment Analysis

An NLP task that classifies text as positive, negative, or neutral — used at scale for reviews, support tickets, social media, and survey responses.

01 ——

In plain English

Sentiment analysis labels the emotional tone of a piece of text. Classic systems output one of {positive, negative, neutral}; modern systems output fine-grained scores, aspect-level sentiment (loved the design, hated the battery), or full emotion taxonomies (joy, anger, fear, surprise).

Common applications:

  • Voice of customer — sentiment over support tickets, reviews, survey responses
  • Brand monitoring — how social mentions of a brand trend
  • Trading signals — sentiment over earnings calls or financial news
  • Product analytics — what users praise vs complain about in app reviews

How it's done today:

  • General-purpose LLMs — Claude, GPT, Gemini handle most sentiment tasks well in a one-line prompt
  • Fine-tuned smaller models — cheaper and faster for high-volume pipelines (DistilBERT, fine-tuned Llama)
  • Specialised APIs — AWS Comprehend, Google Natural Language API, Azure Text Analytics

Where it's still hard: Sarcasm, mixed sentiment, domain-specific slang, and non-English languages outside the top 20. LLM-based pipelines handle these better than older models but can still miss.

02 ——

Related terms

Back to glossaryLast reviewed May 2026
Vol. 4 · Issue 19 · Last reviewed 2026-05-30

Sign up for our newsletter

Receive weekly updates so you can stay up-to-date with the world of AI