File size: 2,987 Bytes
c32becb
4f92cbf
 
21c6a4e
4f92cbf
21c6a4e
 
 
4f92cbf
21c6a4e
4f92cbf
21c6a4e
4f92cbf
21c6a4e
4f92cbf
21c6a4e
4f92cbf
21c6a4e
 
4f92cbf
21c6a4e
4f92cbf
21c6a4e
 
 
 
 
c32becb
4f92cbf
 
 
 
 
21c6a4e
4f92cbf
 
 
 
21c6a4e
 
 
 
4f92cbf
78b6827
21c6a4e
78b6827
21c6a4e
 
 
 
 
78b6827
21c6a4e
4f92cbf
21c6a4e
4f92cbf
21c6a4e
 
 
 
 
 
4f92cbf
 
 
 
 
 
78b6827
4f92cbf
78b6827
 
 
 
 
 
 
 
 
4f92cbf
 
21c6a4e
78b6827
21c6a4e
 
78b6827
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f92cbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-sa-4.0
task_categories:
  - token-classification
task_ids:
  - parsing
  - part-of-speech
  - lemmatization
language:
  - vi
annotations_creators:
  - machine-generated
language_creators:
  - found
multilinguality:
  - monolingual
source_datasets:
  - undertheseanlp/UTS_VLC
  - undertheseanlp/UVN-1
size_categories:
  - 10K<n<100K
tags:
  - universal-dependencies
  - vietnamese
  - nlp
  - dependency-parsing
  - pos-tagging
---

# UDD-1: Universal Dependency Dataset for Vietnamese

## Dataset Description

Vietnamese Universal Dependency dataset created by Underthesea NLP. This dataset follows the [Universal Dependencies](https://universaldependencies.org/) annotation guidelines.

### Dataset Summary

- **Language:** Vietnamese (vi)
- **Version:** 1.1
- **Domains:** ⚖️ Legal (Laws) + 📰 News
- **Total Sentences:** 20,000
- **Total Tokens:** ~453,551
- **Annotation:** Machine-generated using Underthesea NLP toolkit

### Data Sources

| Source | Domain | Sentences | Tokens |
|--------|--------|----------:|-------:|
| [UTS_VLC](https://huggingface.co/datasets/undertheseanlp/UTS_VLC) | ⚖️ Legal | 10,000 | ~230,709 |
| [UVN-1](https://huggingface.co/datasets/undertheseanlp/UVN-1) | 📰 News | 10,000 | ~222,842 |
| **Total** | | **20,000** | **~453,551** |

### Data Splits

Following [UD guidelines](https://universaldependencies.org/contributing/repository_files.html):

| Split | Sentences | Percentage |
|-------|----------:|-----------:|
| Train | 18,282 | 91.4% |
| Validation | 859 | 4.3% |
| Test | 859 | 4.3% |
| **Total** | **20,000** | **100%** |

## Usage

```python
from datasets import load_dataset

# Load all splits
dataset = load_dataset("undertheseanlp/UDD-1")
print(dataset)

# Access specific split
train_data = dataset["train"]
dev_data = dataset["validation"]
test_data = dataset["test"]

# Example sentence
print(train_data[0])
```

### Sentence ID Prefixes

- `s*` - Sentences from legal corpus (UTS_VLC)
- `uvn-*` - Sentences from news corpus (UVN-1)

## Fields

| Field | Description |
|-------|-------------|
| `sent_id` | Sentence identifier |
| `text` | Original sentence text |
| `tokens` | Word tokens |
| `lemmas` | Lemmatized forms |
| `upos` | Universal POS tags |
| `xpos` | Language-specific POS tags |
| `feats` | Morphological features |
| `head` | Head token indices (1-indexed, 0=root) |
| `deprel` | Dependency relation labels |
| `deps` | Enhanced dependencies |
| `misc` | Miscellaneous annotations |

## Citation

```bibtex
@misc{underthesea_udd1_2026,
  title = {UDD-1: Universal Dependency Dataset for Vietnamese},
  author = {Underthesea NLP},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/undertheseanlp/UDD-1}
}
```

## License

This dataset is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).

## Contact

- GitHub: [undertheseanlp/underthesea](https://github.com/undertheseanlp/underthesea)
- Email: anhv.ict91@gmail.com