This project is a sentiment analysis tool that analyzes tweets from Twitter to determine their sentiment (positive, negative, or neutral). Built with Flask, it provides a web interface to interact with the sentiment analysis functionality.
Ensure you have the following installed:
- Python (3.x recommended)
- pip (Python package installer)
git clone https://github.com/leylamemiguven/twitter-sentiment-analysis.git
cd twitter-sentiment-analysispython -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`pip install -r requirements.txtpython app.pyHere is what the app preview looks like:
As it can be seen in the picture above, the machine learning model has classified the word "iğrenç" (which translates to "disgusting")as negative with 63% probablitiy . Here are some other examples:
Here the phrase "çok güzel olmuş ellerinize sağlık" translates to "This is wonderful good job". As this is a positive sentiment, it is classified as positive.
Here the phrase "bok gibi olmuş bir daha olmasın" translates to "This is so bad like s*it, please don't let it happen again". As this is a negative sentiment, it is classified as negative.
Feel free to enhance or customize this project as needed!


