1
2
3

Happy or Sad?

Guess how a sentence sounds first — then see what the AI thinks.

Step 1 of 3

What you'll learn in this level

  • How an AI reads a mood out of words
  • Why single words often aren't enough
  • What the confidence value in a mood analysis means

How does this sentence sound?

A computer can spot whether a sentence sounds happy, sad or neither.

To do that it looks at the words the sentence is made of.

How the AI does it

  1. Look at the words

    The AI looks for words that show a feeling. For example "happy", "sad", "love" or "hate".

  2. Watch the words nearby

    Good systems look at which words stand together. "Not happy" means something else than "happy".

  3. Give points

    The AI gives the text points. They show how positive or negative it is. The scale often runs from -1 to 1.

  4. How it is used

    Companies read what customers write about them. They also look at social networks. That helps them make better products.

Soon you will see how an AI reads the mood of sentences.

Guess first, then experiment

"The food was not bad." How does a simple word-counting AI rate this sentence?