File size: 5,912 Bytes
434518a
f88660e
 
 
 
 
 
4244029
0439b41
 
 
 
 
434518a
c4e67aa
434518a
 
c4e67aa
434518a
c4e67aa
434518a
c4e67aa
 
434518a
 
c4e67aa
434518a
c4e67aa
434518a
c4e67aa
1704480
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
434518a
4244029
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
pretty_name: "Aspect Sentiment Triplet Extraction v2"
language:
- en
arxiv:
- 2107.12214
- 2010.02609
- 1911.01616
size_categories:
- 1K<n<10K
task_categories:
- token-classification
- text-classification
configs:
- config_name: 2014-laptop-sem-eval
  data_files:
  - split: train
    path: "data/2014/laptop/sem-eval/train.gz.parquet"
  - split: valid
    path: "data/2014/laptop/sem-eval/valid.gz.parquet"
  - split: test
    path: "data/2014/laptop/sem-eval/test.gz.parquet"
- config_name: 2014-laptop-aste-v2
  data_files:
  - split: train
    path: "data/2014/laptop/aste/train.gz.parquet"
  - split: valid
    path: "data/2014/laptop/aste/valid.gz.parquet"
  - split: test
    path: "data/2014/laptop/aste/test.gz.parquet"
- config_name: 2014-restaurant-sem-eval
  data_files:
  - split: train
    path: "data/2014/restaurant/sem-eval/train.gz.parquet"
  - split: valid
    path: "data/2014/restaurant/sem-eval/valid.gz.parquet"
  - split: test
    path: "data/2014/restaurant/sem-eval/test.gz.parquet"
- config_name: 2014-restaurant-aste-v2
  data_files:
  - split: train
    path: "data/2014/restaurant/aste/train.gz.parquet"
  - split: valid
    path: "data/2014/restaurant/aste/valid.gz.parquet"
  - split: test
    path: "data/2014/restaurant/aste/test.gz.parquet"
---

## Dataset Description

### Task Summary

Aspect Sentiment Triplet Extraction (ASTE) is the task of extracting the triplets of target entities, their associated sentiment, and opinion spans explaining the reason for the sentiment.
This task is firstly proposed by (Peng et al., 2020) in the paper [Knowing What, How and Why: A Near Complete Solution for Aspect-based Sentiment Analysis (In AAAI 2020)](https://arxiv.org/abs/1911.01616).

For Example, given the sentence:

> The screen is very large and crystal clear with amazing colors and resolution .

The objective of the Aspect Sentiment Triplet Extraction (ASTE) task is to predict the triplets:

> [('screen', 'large', 'Positive'), ('screen', 'clear', 'Positive'), ('colors', 'amazing', 'Positive'), ('resolution', 'amazing', 'Positive')]

where a triplet consists of (target, opinion, sentiment).

### Dataset Summary

Sentiment analysis is increasingly viewed as a vital task both from an academic and a commercial standpoint.
The majority of current approaches, however, attempt to detect the overall polarity of a sentence, paragraph, or text span, regardless of the entities mentioned (e.g., laptops, restaurants) and their aspects (e.g., battery, screen; food, service).
By contrast, this task is concerned with aspect based sentiment analysis (ABSA), where the goal is to identify the aspects of given target entities and the sentiment expressed towards each aspect.
Datasets consisting of customer reviews with human-authored annotations identifying the mentioned aspects of the target entities and the sentiment polarity of each aspect will be provided.

### Dataset Source

The ASTE dataset is from the [xuuuluuu/SemEval-Triplet-data](https://github.com/xuuuluuu/SemEval-Triplet-data) repository.

It is based on the [Sem Eval 2014 Task 4](https://alt.qcri.org/semeval2014/task4/) dataset, with some preprocessing applied to the text.

### Dataset Details

The train, validation and test splits come from the ASTE dataset.
There are the following columns:

 * index
   The ASTE and Sem Eval datasets had multiple annotations per document.
   This dataset has a single annotation per row.
   To make it easier to collect all annotations for a document the index can be used to group them.
   All annotations for a given document will have the same index.

 * text
   This is the document that is annotated, either in the ASTE form or in the Sem Eval form (see below for details).

 * aspect_start_index
   The zero based character index for the first letter of the aspect term

 * aspect_end_index
   The zero based character index for the last letter of the aspect term

 * aspect_term
   The aspect term as it appears in the text

 * opinion_start_index
   The zero based character index for the first letter of the opinion term

 * opinion_end_index
   The zero based character index for the last letter of the opinion term

 * opinion_term
   The opinion term as it appears in the text

 * sentiment
   The sentiment class for the opinion about the aspect.
   One of _negative_, _neutral_ or _positive_.

The ASTE dataset involved preprocessing the SemEval text.
This preprocessing fixed some of the spelling mistakes, for example:

> Keyboard good sized and wasy to use.

(easy misspelt as wasy).

The preprocessing also includes tokenization of the text and then separating the tokens with whitespace, for example:

> It 's just as fast with one program open as it is with sixteen open .

Since the added whitespace can lead to unnatrual text I have provided two forms of the dataset.
Subsets that end with `aste-v2` have the preprocessed text with spelling correction and additional whitespace.
Subsets that end with `sem-eval` have the original Sem Eval text.

### Citation Information

```
@misc{xu2021learning,
      title={Learning Span-Level Interactions for Aspect Sentiment Triplet Extraction},
      author={Lu Xu and Yew Ken Chia and Lidong Bing},
      year={2021},
      eprint={2107.12214},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
@misc{xu2021positionaware,
      title={Position-Aware Tagging for Aspect Sentiment Triplet Extraction},
      author={Lu Xu and Hao Li and Wei Lu and Lidong Bing},
      year={2021},
      eprint={2010.02609},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
@misc{peng2019knowing,
      title={Knowing What, How and Why: A Near Complete Solution for Aspect-based Sentiment Analysis},
      author={Haiyun Peng and Lu Xu and Lidong Bing and Fei Huang and Wei Lu and Luo Si},
      year={2019},
      eprint={1911.01616},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
```