This repository contains the demo code of the paper:
[Commonsense Knowledge Enhanced Sentiment Dependency Graph for Sarcasm Detection]
which has been accepted by IJCAI2023.
- Python3
- NumPy
- Spacy
- nltk
- PyTorch
- Please use COMET to generate commonsense of sentences in the dataset first, and then generate sentiment graphs and dependency graphs.
- Train with command, optional arguments could be found in train.py