File size: 3,009 Bytes
233c808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
task_categories:
- text-classification
language:
- vi
---
## VLSP2018-ABSA-Hotel

### Dataset Summary

The VLSP 2018 Hotel corpus is designed for Vietnamese Aspect-Based Sentiment Analysis (ABSA), covering two sub-tasks of Aspect Category Sentiment Analysis (ACSA):

1. **Aspect Category Detection (ACD):** identify which `Aspect#Category` pairs are present in each review.
2. **Sentiment Polarity Classification (SPC):** assign one of three sentiment labels (`Positive`, `Negative`, `Neutral`) to each detected `Aspect#Category`.

This unified CSV contains **5,600** reviews with a `type` column for `train`/`dev`/`test` and binary indicators for each aspect–category (0=no, 1=positive, 2=negative, 3=neutral).


### Supported Tasks and Metrics

* **Aspect Category Detection:** multi-label classification
* **Sentiment Polarity Classification:** multi-class classification
* **Metrics:** Precision, Recall, F1 (for both ACD and SPC)


### Languages

* Vietnamese


### Dataset Structure

| Column                           | Type  | Description                                               |
| -------------------------------- | ----- | --------------------------------------------------------- |
| `Review`                         | `str` | The raw hotel review text.                                |
| `<Aspect#Category>` (34 columns) | `int` | One-hot+polarity indicator per aspect#category (0/1/2/3). |
| `type`                           | `str` | Split: `train` / `validation` / `test`.                   |
| `dataset`                        | `str` | Always `VLSP2018-ABSA-Hotel`.                             |

The 34 aspect–category columns are:

```
FACILITIES#CLEANLINESS, FACILITIES#COMFORT, …, SERVICE#GENERAL
```

(each value: 0=absent, 1=positive, 2=negative, 3=neutral)


### Usage

```python
from datasets import load_dataset

ds = load_dataset("visolex/vlsp2018-absa-hotel")

train = ds.filter(lambda ex: ex["type"] == "train")
val   = ds.filter(lambda ex: ex["type"] == "dev")
test  = ds.filter(lambda ex: ex["type"] == "test")

print(train[0])
```


### Source & Links

* **GitHub:** [https://github.com/ds4v/absa-vlsp-2018](https://github.com/ds4v/absa-vlsp-2018 "https://github.com/ds4v/absa-vlsp-2018") 
* **Publication:** End-to-end Multi-task Solutions for ACSA on Vietnamese (VLSP 2018)


### Citation

```bibtex
@INPROCEEDINGS{9865479,
  author={Dang, Hoang-Quan and Nguyen, Duc-Duy-Anh and Do, Trong-Hop},
  booktitle={2022 IEEE International Conference on Cybernetics and Computational Intelligence (CyberneticsCom)}, 
  title={Multi-task Solution for Aspect Category Sentiment Analysis on Vietnamese Datasets}, 
  year={2022},
  volume={},
  number={},
  pages={404-409},
  keywords={Sentiment analysis;Analytical models;Computational modeling;Multitasking;Task analysis;Cybernetics;Computational intelligence;Aspect-based Sentiment Analysis;PhoBERT;Aspect Category Detection;Sentiment Polarity Classification},
  doi={10.1109/CyberneticsCom55287.2022.9865479}}
}
```