How mohan843/sentiment-analysis-agent works
A compact command-line sentiment tool accepts text from arguments or standard input, validates it, asks VADER for polarity scores, applies compound-score thresholds, and prints the label and score breakdown. The CSV is a separate reference set for manual exploration, not runtime training data. The repository contains no other substantial runtime modules.
Main entry points: sentiment_agent.py Sentiment classifier · sample_data.csv Example sentences
Components 5
Other components
- User
- CLI input/output
sentiment_agent.py - Sentiment classifier
sentiment_agent.py - VADER analyzer
- Example sentences
sample_data.csv
Connections 5
- User → CLI input/output: provides text
README.md - CLI input/output → Sentiment classifier: analyzes text
sentiment_agent.py - Sentiment classifier → VADER analyzer: gets polarity scores
sentiment_agent.py - Sentiment classifier → CLI input/output: returns result
sentiment_agent.py - User → Example sentences: explores examples
README.md