Skip to content

zaidmukaddam/live-twitter-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Twitter Sentiment Analysis

Get the sentiment labels of live tweets!

Try the web application here.

Overview

  • This app uses Tweepy to get tweets from Twitter based on the input name/phrase.
  • It then processes the tweets through HuggingFace transformers pipeline function for sentiment analysis.
  • The resulting sentiments and corresponding tweets are then put in a dataframe for display which is what you see as result.

WEB APPLICATION - Live Twitter Sentiment Analysis







Run Locally

  • Clone the repository
    git clone https://github.com/zaidmukaddam/live-twitter-sentiment-analysis.git
  • Navigate to the directory
    cd live-twitter-sentiment-analysis
  • Create a virtual environment
    python3 -m venv venv
  • Install the dependencies:
    pip install -r requirements.txt
    
  • Run the app:
    streamlit run app.py
    

Tech Stacks Used:

About

Live Twitter Sentiment Analysis using tweepy and streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages