Sentiment Analysis

What is Sentiment Analysis?

Sentiment analysis is the use of natural language processing to label text as positive, negative or neutral, or by emotion. Product teams apply it to reviews, tickets and survey comments to see where opinion shifts by feature or release.

Updated November 2026 · 3 min read


Sentiment analysis is the automated classification of text by the opinion or emotion it expresses, usually as positive, negative or neutral, and sometimes on a finer scale or by specific emotions such as frustration or delight. Product and customer teams use it to read large volumes of feedback, such as survey comments, support tickets, app store reviews, call transcripts and social posts, that would take far too long to read by hand.

Sentiment analysis is a branch of natural language processing. Its value in product work is less about the overall score and more about where sentiment changes: which features, segments or releases attract negative comments, and whether a fix moved opinion in the right direction.

Types of sentiment analysis

  • Document-level. Assigns one sentiment to a whole review or comment. Simple, but mixed comments get blurred.
  • Sentence-level. Scores each sentence separately, which handles comments such as "Setup was painful, but support was great."
  • Aspect-based. Links sentiment to specific topics or product areas, for example negative about pricing and positive about the mobile app. This is usually the most useful form for product teams.
  • Emotion detection. Labels specific emotions, such as anger, confusion or satisfaction, rather than a single polarity.
  • Intent detection. Often paired with sentiment to flag comments that signal churn risk, purchase intent or a bug report.

How sentiment analysis works

ApproachHow it worksStrengths and limits
Lexicon or rule-basedScores text using lists of positive and negative words and rules for negation and intensityTransparent and cheap; misses context, sarcasm and domain terms
Machine learning classifiersModels trained on labeled examplesMore accurate in the domain they were trained on; need labeled data
Large language modelsGeneral-purpose models prompted or fine-tuned to classify sentiment and topicsHandle nuance and new topics well; cost more to run and need checking for consistency

Domain matters. "Unpredictable" is negative for a billing system and possibly positive for a game plot. Teams get better results when they test any approach on a sample of their own feedback before trusting it.

How to use sentiment analysis in product operations

  1. Gather text from several sources. Combine surveys, tickets, reviews and call notes so one channel does not skew the picture.
  2. Tag by topic. Assign comments to product areas or themes, so sentiment can be read per area.
  3. Validate on a sample. Have people label a few hundred comments and compare with the model's output to measure accuracy.
  4. Track trends. Watch sentiment by area over time and around releases, rather than relying on a single snapshot.
  5. Read the comments behind the numbers. Use sentiment to find what to read, then read it.
  6. Feed decisions. Bring the findings into prioritization and release reviews, and check whether changes improved sentiment.

Sentiment analysis in practice

Consider a hypothetical fitness app that receives about 6,000 app store reviews and survey comments a month. The team runs aspect-based sentiment analysis across five areas: workouts, tracking, subscriptions, syncing and performance. Before relying on it, two team members label 300 comments by hand. The model agrees with them on 261, or 87%, which they judge good enough for spotting trends.

After a release that changed how wearable data syncs, the share of negative comments about syncing rises from 18% to 41% within two weeks, while other areas stay flat. Reading a sample of those comments shows that one popular watch brand stopped syncing heart-rate data. Engineering ships a fix, and negative sync sentiment falls back to 20% the following month. All figures are illustrative.

Common pitfalls

  • Trusting a single overall score. An average of all sentiment hides the specific areas that are getting worse.
  • Skipping validation. Off-the-shelf models can be wrong on domain language, sarcasm or short comments. Check accuracy against human labels.
  • Ignoring who is speaking. Negative sentiment from a handful of large accounts may matter more than mild praise from many free users. Join sentiment with customer data.
  • Treating neutral as unimportant. Many bug reports and feature requests are neutral in tone but highly informative.
  • Not reading the text. Sentiment shows where to look; it does not explain the cause.

For the feedback-specific use of this technique, see feedback sentiment analysis and AI customer feedback. Sentiment analysis is a common component of voice of customer programs and broader customer analytics.

Frequently asked questions

What is aspect-based sentiment analysis?

Aspect-based sentiment analysis links opinion to specific topics or product areas within a piece of text, for example negative about pricing but positive about the mobile app. It is usually the most useful form for product teams, because it shows which features or areas are attracting complaints rather than blending everything into one overall score.

How accurate is sentiment analysis?

Sentiment analysis accuracy depends on the approach and the domain, so measure it on your own data. Have people label a few hundred comments and compare their labels with the model's output; in one hypothetical case, a model agreed with humans on 87% of 300 comments. Off-the-shelf models often struggle with sarcasm, domain terms and short comments.

What is the difference between lexicon-based and machine learning sentiment analysis?

Lexicon-based sentiment analysis scores text using lists of positive and negative words plus rules for negation and intensity, which is transparent and cheap but misses context and sarcasm. Machine learning classifiers learn from labeled examples and are more accurate within their training domain but need labeled data. Large language models handle nuance well but cost more to run.