How sentiment classification works, and where it fails
What a model does when it labels a post positive, neutral, or negative, why Indonesian social media is hard for it, and how to check the results yourself.
By Sonera Team
The people who build Sonera
- Published
- Updated
Contents
Every listening tool shows a sentiment chart. Few explain how the labels are made or how often they are wrong. If you report sentiment to your management, you should know both. This is how it works in general, and how Sonera does it.
From keyword lists to language models
Early tools counted words: “good” is positive, “bad” is negative, add them up. That breaks quickly. “Not bad at all” reads as negative, and a post that says a competitor is bad reads as bad for you.
Current tools use language models that read the whole sentence and its context. Sonera sends the text of each post, comment, review, or article to Sonera AI, which returns a sentiment (positive, neutral, or negative), a topic, an emotion, the language, and how confident it is. It also judges whether the post is about your brand at all, using the short description of your business you write in the settings.
Why Indonesian social media is hard
Indonesian online writing is a hard test for any model. A few patterns cause most of the errors:
- Slang and abbreviations change quickly, and a new nickname for a product can mean praise or mockery depending on who uses it.
- Code mixing: one comment can switch between Indonesian, English, and a regional language in a single sentence.
- Sarcasm: “Mantap, sudah tiga jam antre” praises nothing. Models catch much of it, not all.
- Mixed opinions: “Produknya bagus, pengirimannya parah” is positive about one thing and negative about another.
- Short replies such as emojis, a single word, or a tag of a friend, which carry little meaning on their own.
Neutral is not a failure
In most brand data, the largest group is neutral: questions, news, giveaway entries, people tagging friends. That is normal. A high neutral share does not mean the model is unsure; it means most public talk about a brand is not an opinion. Watch the positive and negative shares and how they move, rather than trying to make neutral disappear.
Judge sentiment by its trend and by reading examples, never by a single percentage on a slide.
Checking the results yourself
You do not need a data team to check whether the labels hold. Once a month, take a random sample of about 100 conversations from your workspace, label them yourself without looking at the model's answer, and compare. Note where you disagree and why. If the disagreements cluster on one topic or one kind of post, you know where to be careful when you report.
In Sonera, every result shows Sonera AI's confidence and can be corrected. Corrected examples go back to Sonera AI as reference, at most 24 of them, refreshed daily, so recurring mistakes on your brand's language become rarer. Slang that Sonera AI finds is suggested for your brand dictionary, and an Admin approves each term before it is used.
Using sentiment honestly
- Report sentiment as a share of classified conversations over a period, with the number of conversations next to it.
- Compare periods of the same length, and say when the volume was too small to mean much.
- Read the negative conversations behind a change before you explain it.
- Do not compare sentiment numbers from different tools; they classify differently.
How we write
Written by the people who build Sonera, from the work the product does every day. Factual claims link to the laws, platform documentation and research listed below, so you can check them yourself. When a fact changes, we fix the article and change its update date.
Sources
- IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding (Wilie et al., AACL 2020). ACL Anthology.Public benchmark of Indonesian language tasks, sentiment analysis among them, used to compare models on Indonesian text.
- NusaX: Multilingual Parallel Sentiment Dataset for 10 Indonesian Local Languages (Winata et al., EACL 2023). ACL Anthology.Sentiment data in ten regional languages of Indonesia, which shows why mixed and regional language is a separate challenge.
About the author
The people who build Sonera
We build Sonera, a social listening, publishing and inbox platform for brand teams in Indonesia. We write about the work our product does every day: collecting public conversation, classifying it, scheduling posts, and handling the data that comes with it. Each article links to the rules, documents and research it relies on.