Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- token-classification
|
| 4 |
+
language:
|
| 5 |
+
- vi
|
| 6 |
+
---
|
| 7 |
+
## Dataset Card for ViLexNorm
|
| 8 |
+
|
| 9 |
+
### 1. Dataset Summary
|
| 10 |
+
|
| 11 |
+
**ViLexNorm** is a Vietnamese lexical normalization corpus of **10,467** comment pairs, each comprising an *original* noisy social‑media comment and its *normalized* counterpart. In this unified version, all pairs are merged into one CSV with a `type` column indicating `train` / `dev` / `test`, and two additional columns `input`/`output` containing the tokenized forms.
|
| 12 |
+
|
| 13 |
+
### 2. Supported Tasks and Metrics
|
| 14 |
+
|
| 15 |
+
* **Primary Task**: Sequence‑to‑sequence lexical normalization
|
| 16 |
+
* **Metric**:
|
| 17 |
+
|
| 18 |
+
* **Error Reduction Rate (ERR)** (van der Goot 2019)
|
| 19 |
+
* **Token‑level accuracy**
|
| 20 |
+
|
| 21 |
+
### 3. Languages
|
| 22 |
+
|
| 23 |
+
* Vietnamese
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
### 4. Dataset Structure
|
| 27 |
+
|
| 28 |
+
| Column | Type | Description |
|
| 29 |
+
| ------------ | ------ | -------------------------------------------- |
|
| 30 |
+
| `original` | string | The raw, unnormalized comment. |
|
| 31 |
+
| `normalized` | string | The corrected, normalized comment. |
|
| 32 |
+
| `input` | list | Tokenized original text (list of strings). |
|
| 33 |
+
| `output` | list | Tokenized normalized text (list of strings). |
|
| 34 |
+
| `type` | string | Split: `train` / `validation` / `test`. |
|
| 35 |
+
| `dataset` | string | Always `ViLexNorm` for provenance. |
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
### 5. Data Fields
|
| 39 |
+
|
| 40 |
+
* **original** (`str`): Noisy input sentence.
|
| 41 |
+
* **normalized** (`str`): Human‑annotated normalized sentence.
|
| 42 |
+
* **input** (`List[str]`): Token list of `original`.
|
| 43 |
+
* **output** (`List[str]`): Token list of `normalized`.
|
| 44 |
+
* **type** (`str`): Which split the example belongs to.
|
| 45 |
+
* **dataset** (`str`): Always `ViLexNorm`.
|
| 46 |
+
|
| 47 |
+
### 6. Usage
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
ds = load_dataset("visolex/ViLexNorm")
|
| 53 |
+
|
| 54 |
+
train = ds.filter(lambda ex: ex["type"] == "train")
|
| 55 |
+
val = ds.filter(lambda ex: ex["type"] == "dev")
|
| 56 |
+
test = ds.filter(lambda ex: ex["type"] == "test")
|
| 57 |
+
|
| 58 |
+
print(train[0])
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
### 7. Source & Links
|
| 63 |
+
|
| 64 |
+
* **Paper**: Nguyen et al. (2024), “ViLexNorm: A Lexical Normalization Corpus for Vietnamese Social Media Text”
|
| 65 |
+
[https://aclanthology.org/2024.eacl-long.85](https://aclanthology.org/2024.eacl-long.85)
|
| 66 |
+
* **Hugging Face** (this unified version):
|
| 67 |
+
[https://huggingface.co/datasets/visolex/ViLexNorm](https://huggingface.co/datasets/visolex/ViLexNorm)
|
| 68 |
+
* **Original GitHub** (if available):
|
| 69 |
+
[https://github.com/ngxtnhi/ViLexNorm](https://github.com/ngxtnhi/ViLexNorm)
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
### 8. Contact Information
|
| 73 |
+
|
| 74 |
+
* **Ms. Thanh‑Nhi Nguyen**: [21521232@gm.uit.edu.vn](mailto:21521232@gm.uit.edu.vn)
|
| 75 |
+
* **Mr. Thanh‑Phong Le**: [21520395@gm.uit.edu.vn](mailto:21520395@gm.uit.edu.vn)
|
| 76 |
+
|
| 77 |
+
### 9. Licensing and Citation
|
| 78 |
+
|
| 79 |
+
#### License
|
| 80 |
+
|
| 81 |
+
Released under **CC BY‑NC‑SA 4.0** (Creative Commons Attribution‑NonCommercial‑ShareAlike 4.0 International).
|
| 82 |
+
|
| 83 |
+
#### How to Cite
|
| 84 |
+
|
| 85 |
+
```bibtex
|
| 86 |
+
@inproceedings{nguyen-etal-2024-vilexnorm,
|
| 87 |
+
title = {ViLexNorm: A Lexical Normalization Corpus for Vietnamese Social Media Text},
|
| 88 |
+
author = {Nguyen, Thanh-Nhi and Le, Thanh-Phong and Nguyen, Kiet},
|
| 89 |
+
booktitle = {Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)},
|
| 90 |
+
month = mar,
|
| 91 |
+
year = {2024},
|
| 92 |
+
address = {St. Julian's, Malta},
|
| 93 |
+
publisher = {Association for Computational Linguistics},
|
| 94 |
+
url = {https://aclanthology.org/2024.eacl-long.85},
|
| 95 |
+
pages = {1421--1437}
|
| 96 |
+
}
|
| 97 |
+
```
|