Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Latest commit 3387205 Jul 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_combine Add files via upload Jul 30, 2019
utils Add files via upload May 29, 2019
Ind-BiLSTM.py Add files via upload May 29, 2019
P_cause.py Add files via upload May 29, 2019
P_emotion.py Add files via upload May 29, 2019
README.md Update README.md Jun 30, 2019
pair.py Add files via upload May 29, 2019

README.md

Emotion-Cause Pair Extraction: A New Task to Emotion Analysis in Texts

This repository contains the code for our ACL 2019 paper:

Rui Xia and Zixiang Ding. Emotion-Cause Pair Extraction: A New Task to Emotion Analysis in Texts. ACL 2019. https://arxiv.org/abs/1906.01267

Please cite our paper if you use this code.

Dependencies

  • Python 2 (tested on python 2.7.15)
  • Tensorflow 1.8.0

Usage

Step1 (There are three optional methods):

  • python Ind-BiLSTM.py
  • python P_cause.py
  • python P_emotion.py

Step2:

  • python pair.py
You can’t perform that action at this time.