Coder Social home page Coder Social logo

ferouk / twitter-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 1.0 55 KB

A python framework for sentiment analysis (Opinion mining) on Twitter data

License: MIT License

Python 100.00%
sentiment-analysis twitter twitter-data python-framework machine-learning social-network-analysis

twitter-sentiment-analysis's Introduction

Twitter Sentiment Analysis

Twitter sentiment analysis

This project is a python framework for sentiment analysis on Twitter data. Essentially, this framework is an experimental work on a submitted paper about US elections 2016. However, it should work with any other subjects with positive, negative and neutral opinions polarity.

Introduction

pipeline

The general framework of our approach is as follows (See figure above):

First, we collect data from Twitter about a specific topic using related seed keywords as filters then we store these gathered data on a local storage system.

Next, we normalize and filter the collected data in order to prepare it for analysis.

Then, we create a set of labeled data using a semi-supervised manner in order to reduce human intervention in the tweet-clusters labeling instead of labeling each tweet separately. We use the final set of labeled data to train a set of supervised classifiers that will be combined for stable and accurate predictions.

Finally, the obtained results are stored into a local storage for visualization, where we couple well established visualization techniques to provide summarized sentiment analysis statistics that resolve the information overload of results efficiently.

Requirements

There are some requirements in order to use this project. First you have to install python (version 3).

1. Installing Packages The required packages could be easily installed using pip (Python package index).

Open a terminal and access the project directory, Then type this command:

pip install -r requirements.txt

Once the install is finished, you have to install NLTK additional data. For more info read Installing NLTK Data.

2. Installing ElasticSearch and Kibana

Now you are ready to move on to the usage section.

Usage

Work in progress

Demo

Work in progress

Licence

This project is licensed under the MIT License

twitter-sentiment-analysis's People

Contributors

dependabot[bot] avatar ferouk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mahmud83

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.