The Sentiment Analysis Tool is designed to perform sentiment analysis on social media posts. Users can upload a CSV file containing social media captions, and the tool will classify them as Positive, Negative, or Neutral based on sentiment scores.
- Sentiment Analysis: Analyzes the sentiment of each caption in the CSV and classifies it as Positive, Negative, or Neutral.
- Results Display: Shows the number of captions under each sentiment category in the output box.
- Python: Ensure you have Python installed.
Ensure the following Python libraries are installed:
tkinter- For the GUI interface.pandas- Data manipulation and analysis.textblob- Natural language processing tasks.
You can install them using pip:
pip install pandas textblob(Note: tkinter is included with most standard Python installations.)
- Save the provided Python script to a file, for example,
sentimentAnalysis.py. - Open your terminal or command prompt.
- Navigate to the directory where you saved the file.
- Run the command:
python sentimentAnalysis.pyThe Sentiment Analysis Tool provides a seamless way to perform sentiment analysis on social media posts.