sentiment-analyzer
Analyze text sentiment (positive/negative/neutral) with confidence scores, emotion detection, and visualization. Supports single text, CSV batch, and trend analysis.
npx skills add majiayu000/claude-skill-registry --skill sentiment-analyzer-dkyazzentwatwa-chatgpt-skills-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Sentiment Analyzer Analyze the sentiment of text content with detailed scoring, emotion detection, and visualization capabilities. Process single texts, CSV files, or track sentiment trends over time. ## Quick Start ```python from scripts.sentiment_analyzer import SentimentAnalyzer # Analyze single text analyzer = SentimentAnalyzer() result = analyzer.analyze("I love this product! It's amazing.") print(f"Sentiment: {result['sentiment']} ({result['score']:.2f})") # Batch analyze CSV results = analyzer.analyze_csv("reviews.csv", text_column="review") analyzer.plot_distribution("sentiment_dist.png") ``` ## Features - **Sentiment Classification**: Positive, negative, neutral with confidence - **Polarity Scoring**: -1.0 (negative) to +1.0 (positive) - **Subjectivity Detection**: Objective vs subjective content - **Emotion Detection**: Joy, anger, sadness, fear, surprise - **Batch Processing**: Analyze CSV files with any text column - **Trend Analysis**: Track sentiment over time - **Visualizations**: Distribution plots, trend charts, word clouds ## API Reference ### Initialization ```python analyzer = SentimentAnalyzer() ``` ### Single Text Analysis ```python result = analyzer.analyze
- Quick Start
- Features
- API Reference
- Initialization
- Single Text Analysis
- Batch Analysis
- Trend Analysis
- Visualizations
- CLI Usage
- CLI Arguments
- Examples
- Product Review Analysis
- Social Media Monitoring
- Customer Feedback Categorization
Analyze single text python sentiment_analyzer.py --text "I love this product!" Analyze file python sentiment_analyzer.py --input reviews.csv --column review --output results.csv With visualization python sentiment_analyzer.py --input reviews.csv --column text --plot distribution.png Trend analysis python sentiment_analyzer.py --input posts.csv --column content --date posted_at --trend trend.png
What does the sentiment-analyzer skill do?
Analyze text sentiment (positive/negative/neutral) with confidence scores, emotion detection, and visualization. Supports single text, CSV batch, and trend analysis.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill sentiment-analyzer-dkyazzentwatwa-chatgpt-skills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
