Back to Insights
Knowledge

What Is Sentiment Analysis?

4 min read
What Is Sentiment Analysis? — practical AI guide for SMEs

Sentiment analysis is an AI technique that automatically determines whether a text has a positive, negative or neutral tone. You use it on customer reviews, social media posts, support tickets or survey answers: the model reads the text and labels the underlying attitude, so nobody has to read everything by hand.

The technique falls under Natural Language Processing (NLP), the field concerned with automatically understanding human language.

How does sentiment analysis work?

There are roughly two approaches:

  • Lexicon-based: the model uses word lists in which words have a preset sentiment value (for example "fantastic" is positive, "slow" is negative) and adds up or combines those values per sentence or document.
  • Machine learning and language models: the model is trained on large amounts of text with known sentiment labels and learns to recognise patterns itself, including nuances such as context and word combinations that a lexicon misses.

Modern sentiment analysis often goes beyond just positive, negative or neutral. With aspect-based sentiment analysis, for example, the model recognises that a review is positive about delivery time but negative about customer service, within the same text.

The result is usually a score or label per piece of text, often supplemented with the aspect or topic the sentiment relates to.

Why is sentiment analysis useful for SMEs?

Many SMEs receive text from customers every day: reviews, emails, chat messages, social media comments. Reading and judging all of it by hand takes time and doesn't scale to larger volumes.

Sentiment analysis does three things for you:

  1. Monitoring customer satisfaction without reading every review or survey by hand.
  2. Spotting escalations sooner: a strongly negative message can go to an employee automatically before a complaint grows.
  3. Recognising trends over a longer period, for example whether satisfaction with a specific product is dropping.

If you get hundreds of reviews or support tickets a month, automated sentiment analysis can take over a large part of the reading and bring up only the cases that stand out.

A practical example

A web shop collects hundreds of product reviews every month. Instead of reading them one by one, they are analysed automatically for sentiment. Reviews with strongly negative sentiment about delivery time are grouped and shared with the logistics department. Positive reviews about a specific product can feed back into marketing. That gives you insight without anyone having to read all the text.

When does it work, and when not?

Sentiment analysis works well, but it isn't equally suitable everywhere.

SuitableLess suitable
Large volumes of reviews, tickets or social mediaVery short or ambiguous messages (sarcasm stays hard)
Spotting trends over longer periodsSituations that need an exact, individual assessment
Spotting unhappy customers earlyLanguages or jargon the model wasn't trained on
Prioritising support ticketsContexts where nuance weighs heavily, such as legal texts

Sentiment models make mistakes, especially with irony, sarcasm and industry-specific jargon. A model that wasn't trained on Dutch or sector-specific text often performs worse than you'd expect. So check the output on a sample before you run sentiment analysis fully automatically.

Which terms go with it?

  • Natural Language Processing (NLP): the broader field that sentiment analysis belongs to.
  • Named entity recognition (NER): recognising names, organisations or locations in text, often combined with sentiment analysis to see who or what the sentiment is about.
  • Text classification: sorting text into categories. Sentiment (positive, negative, neutral) is one specific type.

Using sentiment analysis in your business

Want to know how sentiment analysis fits your organisation, for example through an AI agent that analyses customer feedback automatically, or in AI customer service? Talk it through in a conversation about AI consultancy, or run an AI scan to see where text data in your business is going unused.

FAQ

Frequently asked questions

Short, clear answers so you can decide faster.

Can sentiment analysis recognise sarcasm?

To a limited extent. Sarcasm and irony stay hard for most sentiment models, because the literal words often signal the opposite of the intended meaning. More recent language models do better than older lexicon-based methods, but they aren't flawless.

Does sentiment analysis also work well for Dutch text?

That depends on the model. Models trained specifically on Dutch text perform considerably better than models trained mainly on English text and then applied to Dutch.

What is the difference between sentiment analysis and text classification?

Sentiment analysis is a specific form of text classification, aimed at the emotional charge of a text. Text classification is broader and can also sort text by topic, urgency or language.

How much data do you need for sentiment analysis to work?

With existing, pre-trained models you don't need your own training data. If you want to train a model specifically on your industry, you generally need a dataset of a few hundred to a few thousand labelled examples.

Recommended for you

Related articles

Keep reading: articles that best match this topic in terms of content.

What is temperature in an LLM? - Temperature is a setting that determines how predictable or how creative a language model's output is. A low value gives consistent output, a high value more variation.
25 aug 20264 min
What is temperature in an LLM?
Temperature is a setting that determines how predictable or how creative a language model's output is. A low value gives consistent output, a high value more variation.
Read more
What is synthetic data? - Synthetic data mimics the statistical patterns of real data without traceable information. Useful for testing and training AI without privacy risk.
22 aug 20265 min
What is synthetic data?
Synthetic data mimics the statistical patterns of real data without traceable information. Useful for testing and training AI without privacy risk.
Read more
What Is Semantic Search? A Guide for SMEs - Semantic search finds what you mean, even when you use different words than the document. Here is how it works and where SMEs can use it.
21 aug 20265 min
What Is Semantic Search? A Guide for SMEs
Semantic search finds what you mean, even when you use different words than the document. Here is how it works and where SMEs can use it.
Read more
What Is Prompt Injection? AI Security Explained - With prompt injection, someone misleads an AI model using text. It gets risky once an AI agent reads emails or takes actions on its own.
19 aug 20264 min
What Is Prompt Injection? AI Security Explained
With prompt injection, someone misleads an AI model using text. It gets risky once an AI agent reads emails or takes actions on its own.
Read more
What Is Multimodal AI? A Guide for SMEs - A multimodal model reads a photo, a voice message and an email together. Here is how it works and where it is useful for SMEs.
17 aug 20264 min
What Is Multimodal AI? A Guide for SMEs
A multimodal model reads a photo, a voice message and an email together. Here is how it works and where it is useful for SMEs.
Read more
What Is a Context Window in AI? - The context window sets how much text an AI model can take in at once. That is the limit on what you can hand an AI tool.
12 aug 20265 min
What Is a Context Window in AI?
The context window sets how much text an AI model can take in at once. That is the limit on what you can hand an AI tool.
Read more
Erwin Berkouwer

Erwin Berkouwer

AI consultant and architect, your single point of contact

Book an intro call.

30 minutes to an hour, online or by phone. Within 2 working days a proposal is ready in your personal environment.

Email:
connect@unify-ai.nl
Phone:
+31 6 41 53 93 66
Loading calendar