Text Analysis Lab

Text Analysis VADER · NRC · VAD

Customer reviews, survey open-ends, social posts, and interview excerpts carry emotional meaning beyond a single positive/negative label. This lab runs three complementary methods: sentiment (overall positive–negative charge), emotion profiling (eight discrete emotions), and dimensional affect (how pleasant, activated, or in-control the language feels). Run one method at a time, or run all three together to compare what each captures and misses.

👨‍🏫 Professor Mode: Guided Learning Experience

New to text analysis? Enable Professor Mode for step-by-step guidance through sentiment scoring, emotion profiling, and dimensional affect analysis!

OVERVIEW & WHAT THIS TOOL SOLVES

Reducing thousands of customer reviews or social posts to a single "positive vs. negative" average collapses distinct reactions together. A 2-star review driven by high-arousal anger and disgust demands an immediate PR response, while one driven by low-arousal sadness or disappointment calls for product or service recovery. The Sentiment & Affect Lab scores unstructured text with three validated lexicons: VADER (rule-aware overall valence), NRC EmoLex (eight discrete Plutchik emotions), and NRC-VAD (Valence, Arousal, and Dominance dimensions).

🎯 Questions It Answers

  • Overall Polarity (VADER): How positive, negative, neutral, or ambivalent is each customer comment after accounting for negation, caps, and intensifiers?
  • Discrete Emotions (NRC): Which specific emotions (anger, fear, disgust, sadness, joy, trust, anticipation, or surprise) dominate our brand mentions?
  • Energy & Control (VAD): Does customer language feel calm vs. activated (Arousal) and in-control vs. powerless (Dominance)?

📂 What Data You Need

  • Text CSV or Preset Case Study: Customer reviews, social posts, survey verbatims, or ad copy.
  • Optional Grouping Column: Brand, competitor, product tier, or campaign wave to compare profiles across segments.
  • Analysis Mode Selection: Run VADER, NRC Emotions, VAD Circumplex individually, or all three side by side.

💡 What You'll Discover

  • Token-Level Rule Highlighting: Exact inspection of how boosters, negations, and "but" flips alter each review's score.
  • 8-Emotion Radar & Bar Profiles: Normalized Plutchik emotion shares across documents and segments.
  • Russell's Circumplex Map: 2D Valence × Arousal scatter and Dominance comparisons across brands.
🔍 How the Three Lexicons Work: VADER's 6 Rule Layers, NRC Emotions & Russell's Circumplex
📊

Sentiment Analysis (VADER)

How positive or negative is this text, overall?

Scores each token against 7,500+ lexical entries (−4 to +4), then applies six rule layers: boosters ("very"), negation ("not", ×−0.74), contrastive "but" (×0.5 before, ×1.5 after), ALL CAPS, punctuation ("!"), and bigram dampeners ("kind of"). These adjustments combine into one normalized compound score.

VADER · Hutto & Gilbert, 2014
🎭

Emotion Profiling (NRC EmoLex)

Which discrete emotions does this text carry?

Maps 14,000+ English words onto Plutchik's eight primary emotions (anger, anticipation, disgust, fear, joy, sadness, surprise, trust) normalized by matched-token count so short and long reviews compare fairly.

NRC EmoLex · Mohammad & Turney, 2013
🧭

Dimensional Affect (NRC-VAD)

How pleasant, energized, and in-control does the language feel?

Rates 20,000 words from 0 to 1 on Valence (pleasure), Arousal (activation), and Dominance (control), placing every document in Russell's circumplex (e.g., high-V high-A = excitement; low-V high-A = rage/anxiety).

NRC-VAD · Mohammad, 2018
📐 Under the Hood: Model Equations & Variable Definitions
1. VADER Compound Normalization, Ambivalence Index & Lexicon Averages
\[ \text{compound} = \frac{S}{\sqrt{S^2 + \alpha}} \quad (\alpha = 15), \qquad \text{ambivalence} = \frac{2 \cdot \min(\text{pos},\, \text{neg})}{\text{pos} + \text{neg}}, \qquad E_m = \frac{1}{M} \sum_{t=1}^{M} \mathbb{1}[w_t \in L_m] \]
💬 Read it in plain English: VADER sums rule-adjusted word valences into S and normalizes that total onto [−1, +1]. The Ambivalence score separates genuinely neutral text from mixed reviews where strong praise and strong complaints cancel out. NRC and VAD average matched token scores across the M recognized words in each document.
S, α
Rule-Adjusted Valence Sum & Normalization Constant OUTPUT ⓘ
Total summed sentiment valence (S) after applying boosters, negations, caps, and punctuation rules, scaled by constant α = 15.
compound, pos, neg
Normalized Compound Score & Tone Proportions INFERENCE ⓘ
Overall polarity score in [−1, +1] and proportions of positive, negative, and neutral token weight.
ambivalence
Mixed-Sentiment Ambivalence Index OUTPUT ⓘ
Distinguishes a flat, emotionless review (0) from a conflicted review containing equal parts praise and criticism (1).
Em, M, Lm
Normalized Emotion Share & Matched Tokens OUTPUT ⓘ
Proportion of the M matched lexicon tokens in a document that evoke emotion or affect dimension m.

DATA SOURCE

📚

Use a Case Study

📊 Pre-loaded Text Datasets

Use these case studies to practice reading text analysis outputs before uploading your own data. Each scenario suggests a starting method, and you can run any or all three engines on any dataset.

📤

Upload Your Data

Drag & Drop CSV file (.csv, .tsv, .txt, .xls, .xlsx)

The first row should be column headers. One column should contain your text data.

Supports up to 5,000 rows for guests (up to 20,000 rows when signed in).

CONFIGURE YOUR DATA

Choose which column contains the text you want to analyze.

Optional: compare results across groups (e.g., brand, source, product rating).

Selects a column to use as row labels in output tables and inspectors.