vader-sentiment-analysis

Scores sentiment in social media text using VADER with multi-tier and longitudinal trajectory analysis.

13|2|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/aaddrick/written-voice-replication --skill vader-sentiment-analysis-aaddrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vader-sentiment-analysis
Source: https://github.com/aaddrick/written-voice-replication/tree/main/.claude/skills/vader-sentiment-analysis
Command: npx skills add https://github.com/aaddrick/written-voice-replication --skill vader-sentiment-analysis-aaddrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nltk, pandas, numpy.

What problem does it solve? Analyzing sentiment in informal text like social media posts, comments, and reviews requires preserving signals (capitalization, punctuation, emoticons) that standard NLP preprocessing destroys, and naive scoring produces misleading aggregates without calibration or temporal windowing. ## Core Features & Use Cases - VADER-Safe Preprocessing: Cleans text while preserving capitalization, punctuation, and emoticons that carry sentiment intensity signals. - Multi-Tier Scoring: Scores titles and body text separately, detects sentiment mismatches, and computes weighted combined compound scores. - Longitudinal Trajectory Analysis: Aggregates scores into temporal windows and detects volatility spikes, inflections, plateaus, and polarity reversals. - Use Case: Given a Reddit data export, score every post's title and body, calibrate positive/negative thresholds on boundary cases, then chart how the author's sentiment evolved month over month and write a structured report to docs/analysis/. ## Quick Start Use the vader-sentiment-analysis skill to score sentiment across my corpus of Reddit posts and write the analysis report.

Frequently Asked Questions about vader-sentiment-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze sentiment of social media text with VADER?

Use NLTK's SentimentIntensityAnalyzer to compute polarity_scores on each text, producing positive, negative, neutral, and compound values. Preprocess by removing URLs, mentions, and HTML while preserving capitalization, punctuation, and emoticons that VADER uses as intensity signals.

What is the VADER compound score and how is it interpreted?

The compound score is a normalized valence sum bounded to [-1, +1] using the formula sum(V_i) / sqrt(sum(V_i)^2 + 15). Texts scoring at or above 0.05 are classified positive, at or below -0.05 negative, and between them neutral, though thresholds should be calibrated per corpus.

Should I lowercase text before running VADER sentiment analysis?

No, lowercasing destroys capitalization signals that VADER uses for intensity boosting, worth roughly 0.733 valence per ALL CAPS word. Pass original-case text and only remove noise like URLs, mentions, and HTML tags.

When should I not use VADER for sentiment analysis?

Avoid VADER for formal, technical, legal, or financial text, non-English content, and corpora dominated by sarcasm or irony, which it systematically misreads. It also cannot provide aspect-level sentiment toward specific entities or serve as evidence of emotional states.

How do I track sentiment changes over time with VADER?

Resample per-text compound scores into temporal windows (daily, weekly, or monthly depending on corpus span) with minimum text counts per window, then compute rolling smoothed means. Detect patterns like volatility spikes, inflections, and polarity reversals from the windowed trajectory.

Why does VADER classify sarcastic text incorrectly?

VADER is lexicon-based and reads literal word valence without understanding context, so a phrase like 'Oh great, another failure' scores positive. Flag sarcasm-prone corpora in the report limitations and cross-validate with a transformer model or manual review.