The implementation of "DAGCN: Distance-based and Aspect-oriented Graph Convolutional Network for Aspect-based Sentiment Analysis" accepted by NAACL 2024.
To install requirements, run pip install -r requirements.txt
.
- Download and unzip Glove vectors (
glove.840B.300d.zip
) from https://nlp.stanford.edu/projects/glove/ and put it into./glove
directory. - Prepare vocabulary with
sh build_vocab.sh
To train the DAGCN model, run:
sh run.sh
The code and datasets in this repository are based on DualGCN and SSEGCN.