aict-sharif-edu commited on
Commit
12ac368
·
verified ·
1 Parent(s): 767ca96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +68 -3
README.md CHANGED
@@ -1,3 +1,68 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - fa
5
+ size_categories:
6
+ - 10K<n<100K
7
+ ---
8
+
9
+ # Persian Typo Correction Dataset
10
+
11
+ ## Dataset Summary
12
+
13
+ The **Persian Typo Correction Dataset** is a parallel corpus consisting of Persian (Farsi) sentences with common typographical, spelling, and orthographic errors alongside their corrected versions. This resource is designed for training and evaluating machine learning models for automatic text correction, normalization, and spell checking in Persian. It is suitable for both academic research and real-world NLP applications, particularly those focusing on Persian language processing.
14
+
15
+ ## Data Structure
16
+
17
+ Each sample in the dataset consists of:
18
+ - **with_typos**: A Persian sentence containing natural or simulated typographical and spelling errors.
19
+ - **fixed**: The same sentence with all errors corrected.
20
+
21
+ The dataset is available in CSV format with two columns:
22
+ - `with_typos`: string, sentence with typos
23
+ - `fixed`: string, corrected sentence
24
+
25
+ ### Example
26
+
27
+ | with_typos | fixed |
28
+ |------------|-------|
29
+ | وزیر امور خارجه در سخنانی اظعار داشت که ایران به دنبال تقوییت روابط با همسایگان است. | وزیر امور خارجه در سخنانی اظهار داشت که ایران به دنبال تقویت روابط با همسایگان است. |
30
+ | نمایشگاه بین المللی کتاب تهران، فرصتی مناسب برای اشنایی با اخرین اثار منتشره در حوزه کتاب و نشر است. | نمایشگاه بین‌المللی کتاب تهران، فرصتی مناسب برای آشنایی با آخرین آثار منتشر شده در حوزه کتاب و نشر است. |
31
+ | نمایشگاه بین المللی کتاب تهران با حضور ناشران داخلی و خارجی در شهر آفتاب برگزار میشود. | نمایشگاه بین المللی کتاب تهران با حضور ناشران داخلی و خارجی در شهر آفتاب برگزار می‌شود. |
32
+
33
+ ## Dataset Applications
34
+
35
+ This dataset can be used for:
36
+
37
+ - **Spell and Grammar Correction**: Training sequence-to-sequence models (e.g., T5, BART, mBART) to automatically correct spelling and grammar mistakes in Persian text.
38
+ - **Data Cleaning Tools**: Building preprocessing pipelines for Persian text normalization.
39
+ - **NLP Research**: Benchmarking and evaluating typo correction algorithms for low-resource languages.
40
+ - **Text Input Assistance**: Enhancing user experience in chatbots, virtual keyboards, and writing assistants for Persian speakers.
41
+
42
+ ## Intended Use
43
+
44
+ This dataset is intended for:
45
+ - Researchers developing Persian NLP models for error correction.
46
+ - Developers aiming to improve Persian language text input on websites, apps, or messaging services.
47
+ - Language technology companies interested in Persian language tools.
48
+
49
+
50
+ ## Dataset Format
51
+
52
+ - **Files**: `train.csv`, `test.csv`
53
+ - **Encoding**: UTF-8
54
+ - **Language**: Persian (Farsi)
55
+
56
+ ## Citation
57
+
58
+ If you use this dataset in your research or application, please cite as:
59
+
60
+ ```bibtex
61
+ @misc{persian_typo_correction_2024,
62
+ title = {Persian Typo Correction Dataset},
63
+ author = {AICT Sharif},
64
+ year = {2025},
65
+ url = {https://huggingface.co/datasets/aict-sharif-edu/perisan_texts_with_typos},
66
+ note = {A parallel corpus for typo correction in Persian.}
67
+ }
68
+ ```