File size: 7,790 Bytes
d0918d3
b87f63c
 
 
 
 
 
 
 
 
 
 
 
 
d0918d3
b87f63c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6adab94
 
b87f63c
 
 
 
 
 
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
---
license: other
task_categories:
- text-generation
language:
- vi
tags:
- vietnamese
- spell-correction
- error-correction
- nlp
- transformer
size_categories:
- 1K<n<10K
---

# VSEC: Vietnamese Spell Correction Dataset

## Dataset Description

VSEC (Vietnamese Spell Correction) is a comprehensive dataset for Vietnamese spelling error detection and correction, containing 9,341 sentences with 11,202 human-made misspellings across 5,211 unique error types. This dataset represents the largest publicly available collection of Vietnamese spelling errors with syllable-level annotations, making it an invaluable resource for developing and evaluating Vietnamese spell correction systems.

The dataset addresses both **mistyped errors** (occurring during typing) and **misspelled errors** (caused by regional pronunciation differences or word difficulty), providing a realistic foundation for training robust Vietnamese spell correction models. Each sentence includes detailed syllable-level annotations with error detection flags and correction suggestions.

### Dataset Summary

- **Total sentences**: 9,341
- **Total errors**: 11,202  
- **Unique error types**: 5,211
- **Average errors per sentence**: 1.20
- **Language**: Vietnamese
- **Format**: JSONL with syllable-level annotations
- **Error coverage**: 100% (all sentences contain at least one error)

## Dataset Structure

### Data Fields

Each example in the dataset contains the following fields:

- `text` (string): The original sentence containing spelling errors
- `corrected_text` (string): The corrected version of the sentence
- `syllable_annotations` (list): Detailed syllable-level annotations including:
  - `syllable` (string): The syllable text
  - `is_correct` (boolean): Whether the syllable is correctly spelled
  - `corrections` (list): List of correction suggestions for incorrect syllables
  - `position` (int): Position of the syllable in the sentence (0-indexed)
- `error_count` (int): Number of errors in the sentence
- `error_positions` (list): List of positions where errors occur
- `correction_pairs` (list): List of error-correction pairs with position information
- `has_errors` (boolean): Whether the sentence contains any errors

### Data Example

```json
{
  "text": "Thông qua công tác tuyên truyền, vận động này phụ huynh sẽ hiểu rõ hơn tầm quan trọng của việc gìn giữ môi trường sanh , sạch , đẹp.",
  "corrected_text": "Thông qua công tác tuyên truyền, vận động này phụ huynh sẽ hiểu rõ hơn tầm quan trọng của việc gìn giữ môi trường xanh , sạch , đẹp.",
  "error_count": 1,
  "error_positions": [51],
  "correction_pairs": [
    {
      "error": "sanh",
      "correction": "xanh", 
      "position": 51
    }
  ],
  "has_errors": true
}
```

## Error Types

The dataset covers two main categories of Vietnamese spelling errors:

### 1. Mistyped Errors
Errors occurring during the typing process, typically caused by:
- **Non-word errors**: Resulting in syllables that don't exist in Vietnamese dictionaries
- **Real-word errors**: Valid Vietnamese syllables used in incorrect contexts

### 2. Misspelled Errors  
Errors caused by:
- Regional pronunciation differences
- Difficulty with certain Vietnamese words
- Confusion between similar-sounding syllables

## Dataset Creation

### Source Data
The VSEC dataset was constructed from a large corpus of Vietnamese text sources, including news articles and educational materials. The original corpus contained approximately 14.8 million news articles and content from TaiLieu.VN.

### Annotation Process
- Human annotators manually identified and corrected spelling errors
- Syllable-level annotations were created with error detection flags
- Correction suggestions were provided for each identified error
- Quality assurance processes ensured annotation consistency

### Data Processing
The dataset underwent comprehensive preprocessing including:
- Noise character removal (emojis, line breaks)
- Case normalization (uppercase to lowercase conversion)  
- Mark standardization using telex typing form mapping
- Merged syllable splitting using word segmentation algorithms

## Uses

### Intended Use
This dataset is primarily intended for:
- **Research and development** of Vietnamese spell correction systems
- **Educational purposes** in natural language processing courses
- **Benchmarking** spell correction algorithms for Vietnamese
- **Training** transformer-based models for Vietnamese error correction

### Research Applications
- Developing sequence-to-sequence models for spell correction
- Studying Vietnamese linguistic error patterns
- Comparing different neural architectures for error correction
- Analyzing the effectiveness of subword tokenization for Vietnamese

## Limitations

### Technical Limitations
- Dataset focuses specifically on Vietnamese language
- Limited to syllable-level errors (not word-level semantic errors)
- May not cover all possible Vietnamese dialects and regional variations
- Annotation quality depends on human annotator expertise

### Scope Limitations  
- Primarily covers written text errors, not speech recognition errors
- May not represent all domains of Vietnamese text equally
- Error distribution may not match real-world typing error frequencies

## Licensing and Legal Information

### License
This dataset is released under a custom "other" license with specific terms for research and educational use.

### Usage Terms
- **Primary intended use**: Research and educational purposes
- **Commercial use**: Users must ensure compliance with all applicable copyright laws and proceed at their own legal risk
- **Attribution**: Required when using this dataset (see citation below)

### Important Legal Disclaimer

**⚠️ COPYRIGHT NOTICE**: This dataset is built from copyrighted source materials including news articles and educational content. While the dataset is made available for research purposes, users must be aware that:

1. **Commercial Use Responsibility**: For any commercial applications, users are solely responsible for ensuring compliance with copyright laws of all underlying source materials
2. **Risk Assumption**: Commercial users proceed entirely at their own legal risk
3. **No Commercial License Granted**: This release does not grant any commercial rights to the underlying copyrighted content
4. **Research Focus**: This dataset is optimized for academic research and educational applications

The dataset creators make no warranties regarding the copyright status of underlying materials and assume no liability for any copyright infringement claims arising from dataset usage.

### Recommended Use Cases**Recommended**: Academic research, educational projects, non-commercial NLP development, algorithm benchmarking

⚠️ **Use with Caution**: Commercial applications (ensure proper legal review and copyright compliance)

## Citation

If you use this dataset in your research, please cite the original paper:

```bibtex
@inproceedings{do2021vsec,
  title={Vsec: Transformer-based model for vietnamese spelling correction},
  author={Do, Dinh-Truong and Nguyen, Ha Thanh and Bui, Thang Ngoc and Vo, Hieu Dinh},
  booktitle={Pacific Rim International Conference on Artificial Intelligence},
  pages={259--272},
  year={2021},
  organization={Springer}
}
```

## Dataset Card Authors

This dataset card was prepared to facilitate responsible use of the VSEC dataset while respecting the intellectual property rights of original content creators.

## Additional Information

### Additional Resources
For technical details and methodology, please refer to the original research paper.

### Version History
- **v1.0**: Initial release with 9,341 sentences and 11,202 errors