Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
LYFY7 c3f8fba0c1 | 2 years ago | |
---|---|---|
.. | ||
__pycache__ | 2 years ago | |
datasets | 2 years ago | |
layers | 2 years ago | |
models | 2 years ago | |
senticNet | 2 years ago | |
.DS_Store | 2 years ago | |
300_rest14_embedding_matrix.pkl | 2 years ago | |
README.md | 2 years ago | |
bucket_iterator.py | 2 years ago | |
bucket_iterator_bert.py | 2 years ago | |
bucket_iterator_cp.py | 2 years ago | |
data_utils.py | 2 years ago | |
data_utils_bert.py | 2 years ago | |
dependency_graph.py | 2 years ago | |
dependency_tree.py | 2 years ago | |
generate_dependency_graph.py | 2 years ago | |
generate_graph.py | 2 years ago | |
generate_sentic_dependency_graph.py | 2 years ago | |
generate_sentic_graph.py | 2 years ago | |
get_dependency.py | 2 years ago | |
handle_mams_xml.py | 2 years ago | |
infer.py | 2 years ago | |
lap14_word2idx.pkl | 2 years ago | |
rest14_word2idx.pkl | 2 years ago | |
run_senticgcn.sh | 2 years ago | |
run_senticgcn_bert.sh | 2 years ago | |
sentic_dependency_graph.py | 2 years ago | |
sentic_dependency_graph_abs.py | 2 years ago | |
train.py | 2 years ago | |
train_bert.py | 2 years ago | |
train_cross.py | 2 years ago |
This repository was used in our paper:
Aspect-Based Sentiment Analysis via Affective Knowledge Enhanced Graph Convolutional Networks
Bin Liang, Hang Su, Lin Gui, Erik Cambria, Ruifeng Xu. Knowledge-Based Systems, 2021: 107643.
Please cite our paper and kindly give a star for this repository if you use this code.
pip install spacy
and
python -m spacy download en
python generate_dependency_graph.py
python generate_sentic_graph.py
python generate_sentic_dependency_graph.py
Train with command, optional arguments could be found in train.py & train_bert.py
Please tune the argument of --seed for better performance
Run senticgcn: ./run_senticgcn.sh
Run senticgcn_bert: ./run_senticgcn_bert.sh
The BibTex of the citation is as follow:
@article{liang2021aspect,
title={Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks},
author={Liang, Bin and Su, Hang and Gui, Lin and Cambria, Erik and Xu, Ruifeng},
journal={Knowledge-Based Systems},
pages={107643},
year={2021},
publisher={Elsevier}
}
Open Source Sentiment Analysis Algorithm inlcuding Aspect-Based Sentiment Analysis (-ABSA) and Emotion Cause Extraction (-ECE).
Pickle Raw token data Text CSV Python other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》