Coder Social home page Coder Social logo

piyushvarshney / twitter-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 13 KB

Twitter Sentiment analysis with polarity and subjectivity using Python

Python 21.39% HTML 78.61%
twiiter twitter-sentiment-analysis textblob textblob-sentiment-analysis tweets polarity tweepy sentiment-analysis sentiment python highcharts

twitter-sentiment-analysis's Introduction

Machine Learning based Tweet Sentiment Analysis

Search for Tweets and download the data labeled with it's Polarity in CSV format

demo image

Development Guide (Steps)

  1. Go to (https://apps.twitter.com), create development application there for API access
  2. Create a virtual Environment. virtualenv venv
  3. Activate venv. source venv/bin/activate
  4. Install the requirements. pip install -r requirements.txt
  5. Save the ACCESS_TOKEN, ACCESS_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET as environment variables. You can follow this guide for Heroku (or any other online server you wish to run this upon).
  6. Change twitter username in app.py at line 8 to yours(one that was used to create API access at (https://apps.twitter.com)
  7. Run the server. python app.py

twitter-sentiment-analysis's People

Contributors

piyushvarshney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.