Coder Social home page Coder Social logo

twitter-sentimental-analysis's Introduction

Twitter-sentimental-analysis


This Program uses Mongodb, LingPipe tool kit and MapReduce to classify whether the tweet is positive or negative.

I have collected public tweets when the Government Shutdown was about to begin in US because of Obamacare. I have stored over 15000 tweets on to mongodb. The program for storing public tweet that I have wrote can be found here

https://github.com/kailashjoshi/twitter-mongodb

The data that I have collected for mongodb can be downloaded from

https://dl.dropboxusercontent.com/u/91258003/Obama.zip

Pre-requisite for running this program

1. Install Mongodb and start mongodb with the data downloaded from above
   For example ./mongod --dbpath data/db
2. Install Hadoop cluster for running MapReduce Job and start the cluster
3. Install Spring Tool Suite because the program is written on Spring Data
4. Install Maven

Steps for running the program

  1. Download the source
  2. Unzip the folder and open a java class Classify.java
  3. Edit the path of classifier.txt file (Save and close the file)
  4. Go to the download source folder from your terminal window
  5. Run maven command " mvn clean compile package"
  6. Open Spring Tool Suite and import the project
  7. Run the project

twitter-sentimental-analysis's People

Contributors

kailashjoshi avatar

Watchers

James Cloos avatar william 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.