Question: # P3: Tweets Sentiment Analysis **Sentiment Analysis** : Social media can be a great place to connect with others and share positive thoughts and experiences.
# P3: Tweets Sentiment Analysis
**Sentiment Analysis**: Social media can be a great place to connect with others and share positive thoughts and experiences. However, it can also be a breeding ground for negativity and hate speech. This project aims to develop a system to rank tweets by kindness in order to promote more positive and supportive online interactions.
**Benefits:**
The proposed system has the potential to provide a number of benefits, including:
- Promoting more positive and supportive online interactions
- Reducing the spread of negativity and hate speech
- Helping people to find and connect with others who share their values
- Making social media a more enjoyable and welcoming place for everyone
**Dataset**:
1. `tweets.txt` - a list of tweets (one per line)
1. `words_positive.txt` - a list of positive words like "love," "compassion," and "gratitude"
1. `words_negative.txt` - a list of negative words like "hate," "anger," and "fear"
**Requirements:**
The proposed system will use sentiment analysis to identify and rank tweets based on their level of positiveness and negativeness.
The system should display the tweets sorted by their score, with the most positive tweets first.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
