khaled44 commited on
Commit
79d4607
·
verified ·
1 Parent(s): 729443b

Upload ARETA gold reference dataset

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ configs:
5
+ - config_name: annotations
6
+ default: true
7
+ data_files:
8
+ - split: test
9
+ path: gold_ref_hf_annotations.csv
10
+ - config_name: contexts
11
+ data_files:
12
+ - split: test
13
+ path: gold_ref_hf_contexts.csv
14
+ ---
15
+
16
+ # ArabiGEE Data
17
+
18
+ This dataset accompanies the paper **ArabiGEE: A Hierarchical Taxonomy for
19
+ Arabic Grammatical Error Explanation**. It contains Arabic grammatical error
20
+ data and gold reference explanation annotations. The data is split into two CSV
21
+ tables to avoid repeating full sentence contexts across annotation rows.
22
+
23
+ ## Citation
24
+
25
+ If you use this dataset, please cite:
26
+
27
+ **ArabiGEE: A Hierarchical Taxonomy for Arabic Grammatical Error Explanation**
28
+
29
+ ## Tables
30
+
31
+ ### annotations
32
+
33
+ `gold_ref_hf_annotations.csv` contains one row per annotated error. A word pair
34
+ can have multiple annotation rows, linked by the same `pair_id` and ordered with
35
+ `annotation_index_in_pair`.
36
+
37
+ Columns:
38
+
39
+ - `context_id`: joins to `gold_ref_hf_contexts.csv`
40
+ - `pair_id`: unique word-pair identifier in this export
41
+ - `source_pair_id`: original pair id from the source dataset
42
+ - `annotation_index_in_pair`: 1-based index for multiple annotations on the same pair
43
+ - `erroneous_word`: erroneous surface form
44
+ - `correct_word`: corrected surface form
45
+ - `areta_label`: original ARETA edit label
46
+ - `lex_code`, `orth_code`, `morph_code`, `synt_code`: explanation code by tier
47
+ - `lex_explanation_text`, `orth_explanation_text`, `morph_explanation_text`, `synt_explanation_text`: explanation text by tier
48
+
49
+ ### contexts
50
+
51
+ `gold_ref_hf_contexts.csv` contains one row per source sentence/context.
52
+
53
+ Columns:
54
+
55
+ - `context_id`: joins to `gold_ref_hf_annotations.csv`
56
+ - `source_dataset`: source corpus label
57
+ - `source_sentence_id`: original sentence id from the source dataset
58
+ - `src_context`: erroneous sentence/context
59
+ - `target_context`: corrected sentence/context
60
+
61
+ ## Usage
62
+
63
+ ```python
64
+ from datasets import load_dataset
65
+
66
+ annotations = load_dataset("REPO_ID", "annotations", split="test")
67
+ contexts = load_dataset("REPO_ID", "contexts", split="test")
68
+ ```
69
+
70
+ Join `annotations` to `contexts` with `context_id`.
gold_ref_hf_annotations.csv ADDED
The diff for this file is too large to render. See raw diff
 
gold_ref_hf_contexts.csv ADDED
The diff for this file is too large to render. See raw diff