WangZeJun commited on
Commit
6c3a0e3
·
verified ·
1 Parent(s): bcc581d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +76 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # chinese_text_correction
6
+
7
+ 中文文本纠错数据集,包含拼写和语法纠错数据,可用于中文校对模型的训练。
8
+
9
+ ****Repository:**** [zejunwang1/CTCDataset](https://github.com/zejunwang1/CTCDataset)
10
+
11
+ ## Data distribution
12
+
13
+ | Source | Type | Sample |
14
+ | --------- | ------- | ------ |
15
+ | CCTC | grammar | 4470 |
16
+ | cscd-ns | spell | 40000 |
17
+ | CTC2021 | grammar | 969 |
18
+ | ECSpell | spell | 8180 |
19
+ | lemon | spell | 22252 |
20
+ | MCSCSet | spell | 39302 |
21
+ | midu2022 | grammar | 2014 |
22
+ | NLPCC2023 | spell | 1000 |
23
+ | Total | — | 118187 |
24
+
25
+ ## Data Fields
26
+
27
+ | Field | Type | Description |
28
+ | ------ | ------ | ----------------------------- |
29
+ | source | string | 可能包含拼写/语法错误的源句子 |
30
+ | target | string | 纠错后的目标句子 |
31
+ | label | int | 源句子中是否包含错误,若为1,则包含错误,否则不包含错误。 |
32
+
33
+ ```json
34
+ {
35
+ "source": "完善农产品上行发展机智。",
36
+ "target": "完善农产品上行发展机制。",
37
+ "label": 1
38
+ }
39
+ ```
40
+
41
+ ## How to use it
42
+
43
+ ```python
44
+ from datasets import load_dataset
45
+
46
+ data = load_dataset('WangZeJun/chinese_text_correction')
47
+ print(data)
48
+ DatasetDict({
49
+ train: Dataset({
50
+ features: ['source', 'target', 'label'],
51
+ num_rows: 118187
52
+ })
53
+ })
54
+ ```
55
+
56
+ ## License/Terms of Use
57
+
58
+ ### License
59
+
60
+ [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)
61
+
62
+ ### Data Developer
63
+
64
+ [Zejun Wang](https://github.com/zejunwang1)
65
+
66
+ ### Use Case
67
+
68
+ 使用该数据集可进行中文纠错模型的训练。
69
+
70
+ ### Release Date
71
+
72
+ 04/17/2025
73
+
74
+ ## Data Version
75
+
76
+ 1.0 (04/17/2025)