Skip to content

NUSTM/ECPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (Outstanding Paper Award). [pdf]

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages