CypherMonkeyAI omni-channel lab

A lifelong-learner lab on AI omni-channel agents, including voice and the contact center. Free to read. Nothing sold.

Speech analytics and quality · L2 · 15 min

Sentiment is a label

Learn in five minutes

  • Wikipedia defines sentiment analysis as identifying affective states and subjective information.
  • A basic task it describes is polarity: positive, negative, or neutral, for a document, a sentence, or an aspect.
  • The page says telling subjective text from objective text can be harder than polarity, and that context can change the class.
  • It lists challenges that include metaphor, differences in writing, and context.
  • A label on a call is a classifier output. It is not a fact the caller stated.

If the sentence is a fact about a balance, do not store a polarity word as if the caller had said it.

This section HTML

Visual

T10-R2 diagram

Diagram SVGDiagram PNGDiagram HTML

Flow SVGFlow PNGFlow HTML

Label, then look again

  1. Take the sentence 'the card has no fee' and mark it as a fact, not a mood.
  2. Take 'I hate this hold music' and mark a negative polarity, then write 'classifier label'.
  3. Add the Wikipedia caution: context can change the class.
  4. Do not average the two into a customer-satisfaction score.

This section HTML

Quiz

What is a basic sentiment task, on the Wikipedia page?

The page names that task.

What does that page say about context?

Context-sensitive is one of the challenges it lists.

What is a sentiment label in this room?

The label is not the utterance.

This section HTML

Ecosystem

Polarity
A positive, negative, or neutral class. Wikipedia lists it as a basic sentiment task.

Sisters: Automatic speech recognition, Sentiment analysis, Quality rubrics, Personal data.

The live voice pipeline answers the person. Analytics reads a recording later. Keep those clocks apart.

A later review can add a rubric you wrote. It cannot borrow a customer's tape.

Config

  • Write the goal in one sentence.
  • Name the input and the allowed output.
  • Save the trace next to the result.

Troubleshooting

  • The answer looks fluent and is wrong. Check whether a source passage actually contains the claim.
  • The loop never stops. Set a step cap and stop when the tool result repeats.

This section HTML

Sources HTML

Sources and go deeper

sources.json