Giter Site home page Giter Site logo

dinghe / aspect-based-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peace195/aspect-based-sentiment-analysis

0.0 2.0 0.0 61.83 MB

Aspect Based Sentiment Analysis

Home Page: https://peace195.github.io/choose-distinct-units-in-lstm/

License: GNU General Public License v3.0

Makefile 0.90% Shell 4.05% MATLAB 3.76% Python 30.67% C 23.40% C++ 36.39% Perl 0.84%

aspect-based-sentiment-analysis's Introduction

SentimentAnalysis

Status

Aspect-Based Sentiment Analysis Using Bitmask Bidirectional Long Short Term Memory Networks

Descriptions

SemEval-2014 Task 4: Aspect Based Sentiment Analysis

SemEval-2015 Task 12: Aspect Based Sentiment Analysis

SemEval-2016 Task 5: Aspect Based Sentiment Analysis

I specialize in restaurants and laptops domain. You can see final results of these contests in [1][2]. The purposes of this project are:

  • Aspect based sentiment analysis.
  • A sample of bidirectional LSTM (tensorflow 1.2.0).
  • A sample of picking some special units of a recurrent network (not all units) to train and predict their labels.
  • Compare between struct programming and object-oriented programming in Deep Learning model.
  • Build stop words, incremental, decremental, positive & negative dictionary for sentiment problem.

Step by step:

  1. Used contest data and "addition restaurants review data" to learn word embedding by fastText.
  2. Used bidirectional LSTM in the model as above. The input of the model is the vector of word embedding that we trained before.

alt text

Results

BINGO!!

  • Outperforms state-of-the-art in semeval2014 dataset [3].

  • Achieved 81.2% accuracy. Better than 2.5% winner team in the semeval2015 competition [1].

  • Achieved 85.8% accuracy. rank 3/28 in the semeval2016 competition [2].

Getting Started

Data

Prerequisites

Installing

$ python sa_aspect_term_oop.py

Authors

Binh Do

References

[1] http://alt.qcri.org/semeval2015/cdrom/pdf/SemEval082.pdf

[2] http://alt.qcri.org/semeval2016/task5/index.php?id=data-and-tools

[3] http://alt.qcri.org/semeval2014/task4/index.php?id=data-and-tools

License

This project is licensed under the GNU License

aspect-based-sentiment-analysis's People

Contributors

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