GithubHelp home page GithubHelp logo

shahil98 / opinion_mining_and_analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18.85 MB

This repository has the code for an application that performs different types of analysis on tweets.

License: MIT License

Python 59.58% HTML 40.42%

opinion_mining_and_analysis's Introduction

Opinion Mining And Analysis

This is a NLP, Deep Learning and Data Analysis Project.

Types of analysis performed in this project on tweets fetched using a keyword or sentence searched

  1. Displaying most frequently used hashtags.
  2. Sentiment Analysis
  3. Visibility Analysis i.e. calculating the reach of positive tweets vs negative tweets.

Sentiment Classification Architecture

alt text

Getting started

  1. Clone this repository.
git clone https://github.com/Shahil98/Opinion_Mining_And_Analysis.git
  1. Create a twitter developer account.
  2. Execute pip install -r requirements.txt to install necessary libraries.
  3. Download dataset from https://www.kaggle.com/kazanova/sentiment140 and place the csv file inside Classification network folder.
  4. Execute python generate_data.py inside Classification network folder to generate data for training the sentiment classification network.
  5. Execute python network.py to train the netwotk. After execution is completed a model.h5 and model.json file will be created.
  6. Move to webApp folder and execute set FLASK_APP=main.py.
  7. Add twitter developer credentials in main.py file.
  8. Execute python main.py to start the application at http://localhost:5000.

opinion_mining_and_analysis's People

Contributors

shahil98 avatar

Watchers

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