Skip to content

Nlp plays a major role in this project. Based on the keywords given as inputs , tweets based on the keyword are searched, preprocessed and then sentiment analysis is carried out on them to give us a brief idea on which topic/keyword has more positive responses.

Notifications You must be signed in to change notification settings

Charan-7406/Sentiment-Comparison-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-Comparison-engine

Nlp plays a major role in this project. Based on the keywords given as inputs , tweets based on the keyword are searched, preprocessed and then sentiment analysis is carried out on them to give us a brief idea on which topic/keyword has more positive responses.

System requirements

A laptop with python installed and running would be sufficeint.

Libraries required

  • tweepy
  • vaderSentiment
  • tweet-preprocessor
  • matplotlib
  • streamlit (used for the deployment of the model)

About the project:

NLP plays a major role in this sentiment comparison engine project. First using the library 'tweepy' we obtain tweets realted to the keywords that is submitted and then the tweets are preprocessed. Then using sentiment analysis i.e. vadersentiment we get the scores for the tweet. Sentiment Analysis is the process of ‘computationally’ determining whether a piece of writing is positive, negative or neutral. It’s also known as opinion mining, deriving the opinion or attitude of a speaker. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media. Based on the positive scores obtained, we understand which is the better keyword/topic.

This reprository contains:

  • app.py which is the program which will be deployed on heroku.
  • sent_comparison.py is the python file which has the code for the project.
  • The remaing files such as setup.sh, requirements.txt, Procfile are used when deploying the model on heroku.

About

Nlp plays a major role in this project. Based on the keywords given as inputs , tweets based on the keyword are searched, preprocessed and then sentiment analysis is carried out on them to give us a brief idea on which topic/keyword has more positive responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published