Sentiment analysis reads text and judges how the writer feels about something. Applied to thousands of reviews, tickets or survey comments, it shows which products draw complaints, which support conversations are going badly, and whether opinion is shifting week to week. For a business buyer it is a way to turn unstructured feedback into a number someone can track.
How it works
At heart it is a classification task: each piece of text receives a label such as positive, negative or neutral, sometimes with a score. Older approaches counted positive and negative words. Trained natural language processing models do better with phrasing and negation. Today many builds simply ask a large language model to label each item, often returning structured output so the result drops straight into a spreadsheet or dashboard.
The more useful version is aspect-based sentiment, which ties feeling to a topic. "Delivery was quick but the box was crushed" is positive about speed and negative about packaging. A typical build pulls new reviews each night, tags each one by aspect and sentiment, flags strongly negative ones to a support channel, and updates a weekly chart.
What it means for cost
The model call is a minor cost. The effort lies in making the labels trustworthy and useful:
- Definitions. Teams must agree what counts as negative. Is a polite cancellation request negative? Agreeing a short labelling guide early avoids rework.
- Evaluation. A few hundred items labelled by people give a baseline to measure the system against. See evals.
- Sources and languages. Each new data source needs a connector, and each language needs its own checks.
- Volume. Running a language model over millions of short texts adds up; a smaller trained model can be cheaper at high volume.
Ask a builder how they will measure accuracy on your own data and how sarcasm, mixed opinions and other languages will be handled.
When it is the wrong tool
If the decision depends on what the customer wants rather than how they feel, such as routing a ticket to billing or returns, intent classification is the better fit. Sentiment works best as a signal alongside other labels, not as the only one.
Common questions
How accurate is sentiment analysis?
It varies with the text and the definitions used. Short, plain reviews are easy; sarcasm, industry jargon and mixed opinions are hard even for people, who often disagree with each other. Measure it on a labelled sample of your own data rather than relying on a general claim.
Can sentiment analysis work on calls?
Yes, once the audio has been transcribed with speech-to-text. Some tools also analyse tone of voice, but most business builds work from the transcript.