/TweetPoll

Analyzing Twitter Sentiment for Election Insights

Primary LanguagePython

TweetSentiment Analysis App

Overview

This application, named TweetSentiment, is designed to analyze sentiment from Twitter data related to the 2024 election between Narendra Modi and Rahul Gandhi. It utilizes natural language processing (NLP) techniques and machine learning algorithms to extract valuable insights from Twitter conversations.

Usage

To deploy the application locally, follow these steps:

  1. Clone the repository to your local machine.

  2. Install the required dependencies using pip: pip install -r requirements.txt

  3. Run the application using the Streamlit command: streamlit run 1_sentiment_analysis_app.py

  4. Once the app is running, you can upload a CSV file containing Twitter data. Ensure that the CSV file has a column named "text" which contains the tweets to be analyzed.

Tech Stack

  • Python
  • Natural Language Processing (NLP)
  • Support Vector Regression (SVR)
  • Streamlit

Folder Structure

  • 1_sentiment_analysis_app.py: Main Python script containing the Streamlit application code.
  • requirements.txt: File listing the dependencies required to run the application.

Feedback

If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. Your feedback is highly appreciated!