/TD-LSTM

Attention-based Aspect-term Sentiment Analysis implemented by tensorflow.

Primary LanguagePython

NNCM

Attention-based Neural Network Classification Models. Implemented by tensorflow.

Install

Requires Python3 (Tested on Python3.6) and Tensorflow (tested on 1.3)

Pip install: pip3 install -r requirements.txt

1. Effective LSTMs for Target-Dependent Sentiment Classification with Long Short Term Memory

Duyu Tang, Bing Qin, Xiaocheng Feng, Ting Liu

Proceeding of the 26th International Conference on Computational Linguistics (COLING 2016, full paper)

[https://arxiv.org/abs/1512.01100]

2. Attention-based LSTM for Aspect-level Sentiment Classification

Yequan Wang, Minlie Huang, Li Zhao, Xiaoyan Zhu

Conference on Empirical Methods in Natural Language Processing (EMNLP 2016, full paper)

[http://www.aclweb.org/anthology/D/D16/D16-1058.pdf]

3. Aspect Level Sentiment Classification with Deep Memory Network

Duyu Tang, Bing Qin, Ting Liu

Conference on Empirical Methods in Natural Language Processing (EMNLP 2016, full paper)

[http://arxiv.org/abs/1605.08900]

source code tree

.
├── README.md
├── show
├── data
│   ├── restaurant
│   └── twitter
├── lstm.py
├── tc_lstm.py        Paper 1
├── td_lstm.py        Paper 1
├── at_lstm.py        Paper 2
├── utils.py