An NLP-based sentiment analysis project that uses VADER (Valence Aware Dictionary and sEntiment Reasoner) to analyze user-provided text and classify it as Positive, Negative, or Neutral.
This project performs sentiment analysis on text input using VADER, a lexicon and rule-based sentiment analysis tool designed for understanding the sentiment of text.
The program takes user input, calculates sentiment scores, and displays the overall sentiment category.
- Interactive user input
- Calculates positive, negative, and neutral sentiment scores
- Classifies text into:
- 😊 Positive
- 😞 Negative
- 😐 Neutral
- Continuous analysis until the user exits
- Simple command-line interface
- Python 🐍
- VADER Sentiment
- Natural Language Processing (NLP)
Sentiment-Analysis-VADER
│
├── Sentiment_analysis.py
├── requirements.txt
├── README.md
└── .gitignore
Clone the repository:
git clone https://github.com/Sathyabyte/Sentiment-Analysis-VADER.gitInstall dependencies:
pip install -r requirements.txtRun the program:
python Sentiment_analysis.pyEnter any sentence when prompted.
Example:
Enter a sentence: I love learning Artificial Intelligence
Overall Sentiment: Positive 😊
To exit:
quit
The analyzer provides:
- Negative score
- Neutral score
- Positive score
- Compound sentiment score
The compound score determines the final sentiment classification.
- Add graphical user interface (GUI)
- Analyze text from social media platforms
- Add sentiment visualization
- Support multiple languages
Sathyabyte
BCA (Hons) Student | Data Science + AI/ML