AnnyNguyen commited on
Commit
233c808
·
verified ·
1 Parent(s): 3a160b2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text-classification
4
+ language:
5
+ - vi
6
+ ---
7
+ ## VLSP2018-ABSA-Hotel
8
+
9
+ ### Dataset Summary
10
+
11
+ The VLSP 2018 Hotel corpus is designed for Vietnamese Aspect-Based Sentiment Analysis (ABSA), covering two sub-tasks of Aspect Category Sentiment Analysis (ACSA):
12
+
13
+ 1. **Aspect Category Detection (ACD):** identify which `Aspect#Category` pairs are present in each review.
14
+ 2. **Sentiment Polarity Classification (SPC):** assign one of three sentiment labels (`Positive`, `Negative`, `Neutral`) to each detected `Aspect#Category`.
15
+
16
+ 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).
17
+
18
+
19
+ ### Supported Tasks and Metrics
20
+
21
+ * **Aspect Category Detection:** multi-label classification
22
+ * **Sentiment Polarity Classification:** multi-class classification
23
+ * **Metrics:** Precision, Recall, F1 (for both ACD and SPC)
24
+
25
+
26
+ ### Languages
27
+
28
+ * Vietnamese
29
+
30
+
31
+ ### Dataset Structure
32
+
33
+ | Column | Type | Description |
34
+ | -------------------------------- | ----- | --------------------------------------------------------- |
35
+ | `Review` | `str` | The raw hotel review text. |
36
+ | `<Aspect#Category>` (34 columns) | `int` | One-hot+polarity indicator per aspect#category (0/1/2/3). |
37
+ | `type` | `str` | Split: `train` / `validation` / `test`. |
38
+ | `dataset` | `str` | Always `VLSP2018-ABSA-Hotel`. |
39
+
40
+ The 34 aspect–category columns are:
41
+
42
+ ```
43
+ FACILITIES#CLEANLINESS, FACILITIES#COMFORT, …, SERVICE#GENERAL
44
+ ```
45
+
46
+ (each value: 0=absent, 1=positive, 2=negative, 3=neutral)
47
+
48
+
49
+ ### Usage
50
+
51
+ ```python
52
+ from datasets import load_dataset
53
+
54
+ ds = load_dataset("visolex/vlsp2018-absa-hotel")
55
+
56
+ train = ds.filter(lambda ex: ex["type"] == "train")
57
+ val = ds.filter(lambda ex: ex["type"] == "dev")
58
+ test = ds.filter(lambda ex: ex["type"] == "test")
59
+
60
+ print(train[0])
61
+ ```
62
+
63
+
64
+ ### Source & Links
65
+
66
+ * **GitHub:** [https://github.com/ds4v/absa-vlsp-2018](https://github.com/ds4v/absa-vlsp-2018 "https://github.com/ds4v/absa-vlsp-2018")
67
+ * **Publication:** End-to-end Multi-task Solutions for ACSA on Vietnamese (VLSP 2018)
68
+
69
+
70
+ ### Citation
71
+
72
+ ```bibtex
73
+ @INPROCEEDINGS{9865479,
74
+ author={Dang, Hoang-Quan and Nguyen, Duc-Duy-Anh and Do, Trong-Hop},
75
+ booktitle={2022 IEEE International Conference on Cybernetics and Computational Intelligence (CyberneticsCom)},
76
+ title={Multi-task Solution for Aspect Category Sentiment Analysis on Vietnamese Datasets},
77
+ year={2022},
78
+ volume={},
79
+ number={},
80
+ pages={404-409},
81
+ keywords={Sentiment analysis;Analytical models;Computational modeling;Multitasking;Task analysis;Cybernetics;Computational intelligence;Aspect-based Sentiment Analysis;PhoBERT;Aspect Category Detection;Sentiment Polarity Classification},
82
+ doi={10.1109/CyberneticsCom55287.2022.9865479}}
83
+ }
84
+ ```