Skip to content

bdevorem/sentiment-wars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Wars

A sentiment analysis web app of 'Star Wars: The Force Awakens' tweets, using a finite automaton to determine if a tweet has positive or negative sentiment
Python 3.5.1 required

##Usage ###Web Interface Head on over to http://sentiment-wars.herokuapp.com
Look for a tweet that sparks your interest, and click "Analyze"

###Command Line Interface Download or clone this project. Navigate to the src/ directory and run the following command:
python main.py
You will be prompted with directions on how to analyze previously-queried tweets regarding 'Star Wars: The Force Awakens' or enter your own input.

##To Do

  • learn Twitter Search API
  • write sentiment automaton
  • query and analyze relevant tweets
  • format web app (templates and Bootstrap)

##Future Work

  • add user input functionality on site
  • add dynamic pages to analyze new tweets

##Sources https://dev.twitter.com/rest/public/search
http://marcobonzanini.com/2015/03/02/mining-twitter-data-with-python-part-1/
http://docs.tweepy.org/en/latest/index.html
https://en.wikipedia.org/wiki/Sentiment_analysis
http://www.dototot.com/write-twitter-bot-python-tweepy-unfollow-non-followers-command-line/

About

Sentiment analysis program of 'Star Wars: The Force Awakens' tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages