Skip to content

yomostova/TwitterKeyword-VADER-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The program scrapes most recent tweets (posted in the last 7 days) that include a specific keyword . Tweets are then cleaned from links and special characters and duplicates are removed. Afterwards, sentiment analysis is performed using VADER-software.

Usage

pip install -r requirements.txt
export TWITTER_BEARER_TOKEN=<insert your bearer token>
# to download tweets posted in last 7 days with specified keyword:
./scrape.py
# to perform sentiment analysis:
./analysis.py

Example (Keyword: "Munich")

The following results are produced:

Citations

Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.

About

VADER-analysis of recent tweets by keyword

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages