Git Product home page Git Product logo

political-sentiment's Introduction

Understanding Political Twitter with Sentiment Analysis

Project for DIS Spring 2020: Computational Analysis of Big Data

Authors: Duncan Grubbs and Meghan Mandi

📚 Introduction

When you think of politicians and Twitter, chances are President Donald J. Trump comes to mind. Ever since he launched his run for office in 2015, Trump has become infamous for what many have described as derogatory, negative, and somewhat inflammatory tweets. Turns out that with even as little as 280 characters, he can communicate a whole spectrum of emotions, “facts”, and, believe it or not, opinions. Check out this article by NYT to get what we mean here. Seriously, even Vox did a study on this because Trump tweets a lot and they can be really out there.

Over the past decade, the use of political Twitter accounts has skyrocketed. Nowadays it seems like every political leader and their entire family has a Twitter account, and they all feel the need to share their opinions with all of us on the platform. In fact, many leaders use Twitter as their primary mode of communication to the public rather than public addresses or newsletters. However, this has caused some interesting problems. Often tweets aren’t vetted, and when coming from “personal” accounts rather than “official government-run communications” they can be quite polarizing or problematic.

All of this got us thinking, how do other politicians and world leaders come across on Twitter?

🔨 Tools Used

  • Python >= 3.6
  • TextBlob
  • Numpy
  • WordCloud
  • Matplotlib
  • Google Translate API
  • OMGOT3 Library

For more Check out the blog post!

political-sentiment's People

Contributors

duncangrubbs avatar msm315 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.