NewWriter: drafts grounded in confirmed facts, checked before they ship→
Browse documentation

Sentiment analysis

How Ellipse scores the tone of an answer toward your brand: a lexicon pre-check, a comparative-context check and an AI analysis combine into a label and a 0 to 100 net sentiment score (NSS).

4 min read

When sentiment is measured

Sentiment is measured only for answers that mention your brand. An answer that doesn't name you has no sentiment toward you, and absence is never counted as negative. Until enrichment finishes, an answer's sentiment is empty rather than a default label.

Sentiment is calculated in three steps: a fast lexicon check, a check for unfavourable comparisons, and an AI analysis that makes the final call.

Step 1: the lexicon pre-check

A word-list analysis gives a first reading and a fallback if the AI step fails.

  • It uses large English lists of positive and negative words, including business, technology and finance terms, and lists of positive and negative phrases (such as "highly recommended", "worth every penny", "hidden fees", "would not recommend").
  • A negation word ("not", "never", "without", "doesn't"...) flips the next sentiment word.
  • An amplifier ("very", "extremely"...) multiplies the next sentiment word by 1.5; a diminisher ("slightly", "somewhat"...) by 0.5.
  • Each matched phrase counts double.

Lexicon score = (positive − negative) ÷ (positive + negative), from −1 to 1. Its confidence is the total signal ÷ 20, capped at 1; with no sentiment words the score is 0 with confidence 0.2. Scores above 0.15 read positive, below −0.15 negative, otherwise neutral.

Step 2: unfavourable comparisons

Tone words miss comparisons, so the answer is also checked for phrases that put your brand at a disadvantage, such as "better than [brand]", "unlike [brand]", "instead of [brand]", "rather than [brand]", "[brand] lacks", "[brand] doesn't", "[brand] struggles", "problems with [brand]" or "[brand] is overpriced".

If any appear and the AI's polarity is above −0.2, the polarity is lowered by 0.2 (to no less than −1). This stops a politely worded answer that steers buyers elsewhere from reading as positive.

Step 3: the AI analysis

An AI step reads the answer (the first 2,500 characters, after markup is removed) together with the lexicon reading and any comparative flags, and returns:

  • polarity from −1 (very negative) to 1 (very positive),
  • confidence from 0 to 1,
  • a label: positive, neutral or negative,
  • up to 10 key phrases, each with its own sentiment and intensity,
  • up to 10 concerns and up to 10 praises about your brand,
  • a short assessment of how well the answer represents you.

It is instructed not to assume positive sentiment and to look for subtle negatives such as qualifications, warnings and comparisons.

The net sentiment score (NSS)

The NSS turns the analysis into one 0 to 100 number:

  1. Start from the polarity (after any comparative adjustment).
  2. Add 0.05 for each praise and subtract 0.05 for each concern, keeping the result between −1 and 1.
  3. NSS = round((adjusted polarity + 1) ÷ 2 × 100).

50 is neutral, above 50 is favourable, below 50 is unfavourable.

ExamplePolarityPraisesConcernsAdjustedNSS
Warm recommendation0.4310.575
Balanced description0.0110.050
Polite but steers elsewhere0.1, lowered to −0.1 by a comparison13−0.240

The label comes from the AI analysis and isn't recalculated from the NSS, so a "neutral" label can sit next to an NSS a little above or below 50.

If the AI step fails, the lexicon result is used instead: its score becomes the polarity, the NSS is computed from it the same way, confidence is reduced by 30%, and the result is marked as lexicon-based.

How sentiment is used

  • Diagnoses. An answer that mentions you counts as negative when its label is negative or its NSS is below 40. A prompt group is diagnosed "Visible but negative" when at least two thirds of the recent answers that mention you are negative. The recommendations then split by cause: a factual error (handled as inaccuracy), outdated criticism (publish dated evidence of the fix and ask sources to update), or fair current criticism (route it to the product team and state the limitation honestly; never ask anyone to remove fair criticism).
  • Outcomes. Negative-sentiment recommendations are reviewed on recommendation rate, with the average NSS shown next to it.
  • Reports. Report sentiment counts only answers where the brand was visible, and a detailed sentiment section appears once there are at least five labelled answers.

Limitations

  • The lexicon is English-only. For Arabic and other languages the AI analysis carries the judgment and the lexicon adds little.
  • The analysis reads the first 2,500 characters. In very long answers, tone about your brand later in the text weighs less.
  • Sentiment describes the whole answer's tone toward your brand as the AI reads it. Treat single scores as indicative and look for patterns across runs.

Something unclear or out of date? Tell us.