What is sentiment analysis?
Sentiment analysis is the use of natural language processing to work out whether a piece of text expresses a positive, negative or neutral opinion, and how strongly. It's also called opinion mining.
In product work, the text is customer feedback: survey comments, support tickets, app reviews and call transcripts. A single irritated ticket is an anecdote. Sentiment scored across thousands of comments shows which parts of a product people like, which ones they put up with, and whether that shifts after a release.
How does sentiment analysis work?
Sentiment analysis works by splitting text into units, scoring each unit for polarity, and rolling the scores up by comment, topic or time period.
Three approaches do the scoring.
- Rule-based (lexicon) methods score words against a dictionary of positive and negative terms. VADER, published by Hutto and Gilbert in 2014 for social media text, is a well-known example. They're fast and easy to explain, and they miss context.
- Machine learning classifiers learn from labelled examples. They handle context better but need training data that resembles your own feedback.
- Large language models classify sentiment from a plain instruction with no training set, and can explain each label. They cost more per item and need spot checks for consistency.
What are the levels of sentiment analysis?
Sentiment analysis runs at three levels: document, sentence and aspect. The level decides how much a score can tell you.
- Document level gives one score per comment or ticket. Fine for trend lines, weak for mixed feedback.
- Sentence level scores each sentence on its own, so praise and criticism in the same comment no longer average out to "neutral".
- Aspect level, or aspect-based sentiment analysis (ABSA), ties each opinion to the feature it's about.
Take a comment about your own product: "The reporting is great but exports take forever." Document level might call it neutral. Aspect level records positive on reporting and negative on exports. For product teams, aspect level is the one that changes decisions, because a roadmap is organised by feature.
What are the types of sentiment analysis?
The common types are polarity detection, fine-grained scoring, emotion detection, aspect-based analysis and intent detection.
Polarity detection sorts text into positive, negative or neutral. Fine-grained scoring adds a scale, such as very negative to very positive or one to five stars. Emotion detection looks for specific feelings like frustration or delight. Intent detection asks what the person plans to do next, for example upgrade or cancel. Aspect-based analysis, covered above, sits across all of them.
What are the limits of sentiment analysis?
Sentiment analysis struggles most with sarcasm, mixed opinions, domain language and very short comments.
- Sarcasm: in feedback about your product, "Great, another update that moved the save button" reads positive word by word.
- Mixed opinions: one comment can praise one feature and criticise another, and a single score hides both.
- Domain language: in a bug report, words like "critical", "kill" or "fatal" describe severity, not emotion.
- Short text: "ok" or "see screenshot" carries almost no signal.
A sentiment score shows how people feel but not why they feel it, so read the comments behind a trend before anyone acts on it.
Can ChatGPT do sentiment analysis?
Yes. ChatGPT and other large language models can label sentiment from a plain instruction, and they read sarcasm and mixed opinions better than word lists do.
The hard part is consistency at volume. Pasting 200 comments into a chat gives you a one-off answer. Scoring every new item with the same labels, week after week, with a link back to each source comment, takes a pipeline or a tool built for it.
Sentiment analysis for enterprise product teams
At enterprise scale, sentiment analysis turns into a consistency problem. Feedback arrives from surveys, tickets, calls and in-app comments, often in several languages, and different teams label it in different ways. A sentiment trend holds up in a roadmap review only when every item was scored the same way and a PM can click from the trend to the comments behind it.
Traceability matters most for negative trends. When sentiment on a feature drops after a release, the first question from leadership is how many customers said so and which ones. The answer needs a count and a source for each item.
How Usersnap analyses sentiment in feedback
Sentiment Sensor, included on Professional plans and above (an add-on on Starter and Growth), tags each new feedback item with a topic and a sentiment as it arrives, so nobody has to label comments by hand.
- Topics: the AI labels feedback with topics, or you define your own in the project's automation settings for finer control.
- Top 3 and bottom 3: the Insights view summarises the three most positive and three most negative trending topics, and "View Feedback" opens the items behind each one.
- From a negative trend to a cause: for a negative sentiment, the Hypothesis Generator suggests possible root causes based on the feedback.
- From your AI assistant: the MCP connector lets Claude, ChatGPT or Cursor ask about trending topics in your workspace, and its answers are more accurate when Sentiment Sensor has processed the feedback first.
AI features are opt-in and can be switched off per account.
Sentiment Sensor and the Hypothesis Generator are included on Professional plans and above, and available as an add-on on Starter and Growth.
Sentiment analysis FAQ
What does sentiment mean in simple terms?
Sentiment is the attitude or feeling behind what someone says, usually summed up as positive, negative or neutral.
Is NLP used for sentiment analysis?
Yes. Sentiment analysis is one of the classic natural language processing tasks. Lexicon rules, machine learning classifiers and large language models are all NLP methods.
What is a good accuracy for sentiment analysis?
Measure accuracy against human labels on a sample of your own feedback. People disagree on some comments too, so a model that matches your reviewers about as often as they match each other is good enough to trust for trends.
What is the difference between sentiment analysis and topic detection?
Topic detection tells you what a comment is about. Sentiment analysis tells you how the person feels about it. Together they show which features people are happy or unhappy with.
Does Usersnap do sentiment analysis?
Yes. Sentiment Sensor, included on Professional plans and above (an add-on on Starter and Growth), tags each new feedback item with a topic and a sentiment and surfaces the top positive and negative trends, with the items behind each one.
Related terms
See how product teams follow a sentiment trend back to the comments behind it.