Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Keyang Ding 53826a1278 | 2 years ago | |
---|---|---|
.. | ||
__pycache__ | 2 years ago | |
dataset | 2 years ago | |
layers | 2 years ago | |
log | 2 years ago | |
models | 2 years ago | |
state_dict | 2 years ago | |
README.md | 2 years ago | |
bucket_iterator.py | 2 years ago | |
data_utils.py | 2 years ago | |
data_utils_bert.py | 2 years ago | |
train.py | 2 years ago | |
train_bert.py | 2 years ago |
EMNLP 2021
This repository was used in our paper:
Beta Distribution Guided Aspect-aware Graph for Aspect Category Sentiment Analysis with Affective Knowledge
Bin Liang, Hang Su, Rongdi Yin, Lin Gui, Min Yang, Qin Zhao, Xiaoqi Yu, and Ruifeng Xu. Proceedings of EMNLP 2021
Please cite our paper and kindly give a star for this repository if you use this code.
Download glove.42B.300d.zip from glove website and unzip in project root path.
pip install spacy
and
python3 -m spacy download en
python3 train.py
The BibTex of the citation is as follow:
@inproceedings{liang-etal-2021-beta,
title = "Beta Distribution Guided Aspect-aware Graph for Aspect Category Sentiment Analysis with Affective Knowledge",
author = "Liang, Bin and
Su, Hang and
Yin, Rongdi and
Gui, Lin and
Yang, Min and
Zhao, Qin and
Yu, Xiaoqi and
Xu, Ruifeng",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-main.19",
pages = "208--218",
abstract = "In this paper, we investigate the Aspect Category Sentiment Analysis (ACSA) task from a novel perspective by exploring a Beta Distribution guided aspect-aware graph construction based on external knowledge. That is, we are no longer entangled about how to laboriously search the sentiment clues for coarse-grained aspects from the context, but how to preferably find the words highly related to the aspects in the context and determine their importance based on the public knowledge base. In this way, the contextual sentiment clues can be explicitly tracked in ACSA for the aspects in the light of these aspect-related words. To be specific, we first regard each aspect as a pivot to derive aspect-aware words that are highly related to the aspect from external affective commonsense knowledge. Then, we employ Beta Distribution to educe the aspect-aware weight, which reflects the importance to the aspect, for each aspect-aware word. Afterward, the aspect-aware words are served as the substitutes of the coarse-grained aspect to construct graphs for leveraging the aspect-related contextual sentiment dependencies in ACSA. Experiments on 6 benchmark datasets show that our approach significantly outperforms the state-of-the-art baseline methods.",
}
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》