Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 680 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 680 Bytes

Tweep

This currently does a crude sentiment analysis on a query specified by the user using tweepy
Just messing around with twitter api, maybe will try a more complex/specific analysis

Usage

Clone and change to the correct directory in terminal
Type your desired query as an arguement when running the python file
For example typing Python app.py @realDonaldTrump
in terminal will do a sentiment analysis on recent tweets that mentions @realDonaldTrump

Sentiment is calculated by counting the number of positive and negative words
The range is from -1 to 1 where -1 is the most negative score and 1 is the most positive score