What does sentiment analysis mean?

It means measuring the feeling in text. IBM defines it as analysing large volumes of text to determine whether it expresses a positive, negative or neutral sentiment [1].

The word "sentiment" means opinion or feeling. Sentiment analysis turns a pile of comments into a simple picture: how many people sounded happy, unhappy or neutral.

It can work at three levels [1]:

Level What it scores Example
Document A whole review or post "This course was worth it" is positive
Sentence Each sentence on its own A review can start positive and end negative
Aspect One feature inside the text "Great videos, but the audio is bad" is positive on videos, negative on audio

Aspect-level results are the most useful for creators, because they point at what to fix.

How does sentiment analysis work?

Software trained on labelled examples reads each piece of text and gives it a label or a score. Google's Natural Language API, for example, returns a score from -1.0 to 1.0 and a magnitude for how strong the feeling is [2].

Most tools follow the same three steps:

  1. Collect the text. Comments, DMs you exported, reviews, brand mentions.
  2. Score each item. A model trained on labelled examples gives each one a label, or a score.
  3. Add it up. The tool reports the share of positive, negative and neutral items over time.

How to read a sentiment score

Google's Natural Language API gives two numbers [2]:

  • Score: from -1.0 (negative) to 1.0 (positive) [2].
  • Magnitude: how much emotion there is overall; for a whole document it is not capped, so longer text can have a bigger magnitude [2].

A score near zero with a low magnitude suggests neutral text. A score near zero with a high magnitude suggests mixed feelings, where praise and complaints cancel out [2].

How can creators use sentiment analysis?

Use it to spot problems early, to compare how different posts landed, and to show brands how people talk about you. Read the comments behind the numbers before you act.

  • After a launch. Sort comments on the launch posts to see the main praise and the main complaint.
  • Before a brand deal. A brand may look at how people talk about you, not only how many react. Pair it with share of voice and engagement rate.
  • For product feedback. Aspect-level results show which part of a course or guide people mention most.

A simple manual version

You do not need software to start. Take the last 50 comments on a post, mark each one +, − or 0, and count them. If 36 are +, 4 are − and 10 are 0, the split is 36 positive, 4 negative and 10 neutral out of 50. Then read the 4 negative ones: they usually hold the most useful feedback.

What are the limits of sentiment analysis?

It struggles with sarcasm, slang, mixed languages and emoji, and a neutral label can hide strong mixed feelings. Treat the result as a summary and check samples by hand.

  • Sarcasm. "Great, another price rise" reads as positive to many models.
  • Slang and dialects. Words change meaning across communities and languages.
  • Emoji. A skull or a crying face can mean laughter.
  • Mixed feelings. A score near zero can mean neutral or mixed; check the magnitude where your tool gives one [2].
  • Small samples. Ten comments are a conversation, not a trend.

Frequently asked questions

What is another name for sentiment analysis?

Opinion mining. IBM uses both names for the same process [1].

What are the three types of sentiment?

Positive, negative and neutral are the usual labels [1]. Some tools add a score or detect specific emotions such as anger.

What does a sentiment score of 0 mean?

In Google's Natural Language API, a score near 0 means neutral or mixed text; the magnitude tells you which, because mixed text has a higher magnitude [2].

Is sentiment analysis accurate?

It is useful for trends across many comments, but individual labels are often wrong on sarcasm, slang and emoji. Always read a sample yourself.

Sources

  1. What Is Sentiment Analysis?, IBM. Accessed .
  2. Natural Language API Basics, Google Cloud. Accessed .

Founder, Shatla.io

Founder of Shatla.io and The Diet Masters (1.8M+ YouTube subscribers).

Reviewed by Shatla.io Team before publishing.

View this page as Markdown