File size: 3,995 Bytes
7923cbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
task_categories:
- text-classification
language:
- vi
---
## Dataset Card for ViSFD

### 1. Dataset Summary

**UIT‑ViSFD** is a Vietnamese smartphone‐feedback corpus for **aspect‐based sentiment analysis**. It contains **11,122** human‐annotated comments collected from a major e‑commerce platform, with **10 aspect** categories and **3 sentiment polarities** per comment (positive/neutral/negative). In this unified version, train/dev/test splits have been merged into one CSV with a `type` column indicating the split.

### 2. Supported Tasks and Metrics

* **Primary Task**: Multi‐aspect sentiment classification
* **Metrics**:

  * **Accuracy** (per‐aspect and overall)
  * **Macro‑averaged F1** (per‐aspect and overall)


### 3. Languages

* Vietnamese

### 4. Dataset Structure

| Column      | Type   | Description                                                                                     |
| ----------- | ------ | ----------------------------------------------------------------------------------------------- |
| `comment`   | string | The raw user feedback text (Vietnamese).                                                        |
| `n_star`    | int    | Number of stars given by the user (1–5).                                                        |
| `data_time` | string | Timestamp when the comment was posted.                                                          |
| `label`     | string | JSON‐encoded mapping from each of the **10 aspects** to one of `{negative, neutral, positive}`. |
| `type`      | string | Split: `train` / `validation` / `test`.                                                         |
| `dataset`   | string | Always `ViSFD` (for provenance).                                                                |

### 5. Data Fields

* **comment** (`str`): The raw consumer feedback.
* **n\_star** (`int`): User rating (1–5).
* **data\_time** (`str`): Posting date/time of the comment.
* **label** (`str`): A JSON object mapping each aspect to its polarity label.
* **type** (`str`): Which split the sample belongs to.
* **dataset** (`str`): Always `ViSFD`.


### 6. Usage

```python
from datasets import load_dataset
import json

ds = load_dataset("visolex/visfd")

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

# Inspect one example
example = train[0]
labels = json.loads(example["label"])
print("Comment:", example["comment"])
print("Aspects ▶️", labels)
```


### 7. Source & Links

* **Original GitHub (data & code)**
  [https://github.com/LuongPhan/UIT-ViSFD](https://github.com/LuongPhan/UIT-ViSFD) 
* **Conference Paper**
  Phan et al. (2021), “SA2SL: From Aspect‑Based Sentiment Analysis to Social Listening System for Business Intelligence” 

---

### 8. Contact Information

* **Author**: Luong Luc Phan et al.
* **Institute**: University of Information Technology – VNUHCM, Vietnam
* **Email**: [18521073@gm.uit.edu.vn](mailto:18521073@gm.uit.edu.vn)

> If any organization intends to use this dataset for commercial purposes, please contact us at [18521073@gm.uit.edu.vn](mailto:18521073@gm.uit.edu.vn).

---

### 10. Licensing and Citation

#### License

Refer to the original repository’s LICENSE. If unspecified, assume **CC BY 4.0**.

#### How to Cite

**Conference Paper**

```bibtex
@InProceedings{10.1007/978-3-030-82147-0_53,
  author    = {Luc Phan, Luong and Pham, Phuc and Nguyen, Kim Thi-Thanh and Huynh, Sieu Khai
               and Nguyen, Tham Thi and Nguyen, Luan Thanh and Huynh, Tin Van and Nguyen, Kiet Van},
  title     = {SA2SL: From Aspect-Based Sentiment Analysis to Social Listening System for Business Intelligence},
  booktitle = {Knowledge Science, Engineering and Management},
  year      = {2021},
  publisher = {Springer International Publishing},
  pages     = {647--658},
  isbn      = {978-3-030-82147-0}
}
```