CAER-TABSA is the pytorch implementation of the paper: Context-aware Embedding for Targeted Aspect-based Sentiment Analysis. It aims to create target and aspect representation based on sentence context for targeted aspect-based sentiment analysist.
Why should we create target and aspect representation?
Targets and aspects may contain same words, which results in targets or aspects having the same vector representations in different contexts and losing the context dependent information.
The structure of CAER-TABSA
CAER-TABSA looks like:
Datases used in CAER-TABSA
Two benchmark datasets are used to evaluate the performance of CAER-TABSA.
They are: SentiHood, Task 12 of Semeval 2015
Comparative Results of CAER-TABSA with other methods
We can input the target and aspect representation to existing methods to evaluate its effect.
From the result we can find: CAER-TABSA can improve the performance of existing models.
Visualization of aspect representation
Here is the visualization of aspect representation
How to use CAER-TABSA?
You can run train.py.
You can download source code in here to run: CAER-TABSA Download