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

Upload ARETA gold reference dataset

Browse files
Files changed (2) hide show
  1. README.md +27 -53
  2. gold_ref_hf_annotations.csv +1 -1
README.md CHANGED
@@ -15,56 +15,30 @@ configs:
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`.
 
15
 
16
  # ArabiGEE Data
17
 
18
+ Paper title: **ArabiGEE: A Hierarchical Taxonomy for Arabic Grammatical Error Explanation**
19
+
20
+ ## gold_ref_hf_annotations.csv
21
+
22
+ - `context_id`: Links the annotation row to `gold_ref_hf_contexts.csv`.
23
+ - `pair_id`: Word-pair identifier in this dataset.
24
+ - `original_pair_id`: Original pair identifier in the source data.
25
+ - `error_id`: Error number within the same `pair_id`.
26
+ - `erroneous_word`: Erroneous word or phrase.
27
+ - `correct_word`: Corrected word or phrase.
28
+ - `areta_label`: ARETA edit label.
29
+ - `lex_code`: Lexical explanation code.
30
+ - `lex_explanation_text`: Lexical explanation text.
31
+ - `orth_code`: Orthographic explanation code.
32
+ - `orth_explanation_text`: Orthographic explanation text.
33
+ - `morph_code`: Morphological explanation code.
34
+ - `morph_explanation_text`: Morphological explanation text.
35
+ - `synt_code`: Syntactic explanation code.
36
+ - `synt_explanation_text`: Syntactic explanation text.
37
+
38
+ ## gold_ref_hf_contexts.csv
39
+
40
+ - `context_id`: Context identifier in this dataset.
41
+ - `source_dataset`: Source dataset label.
42
+ - `source_sentence_id`: Original sentence identifier in the source data.
43
+ - `src_context`: Erroneous sentence context.
44
+ - `target_context`: Corrected sentence context.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gold_ref_hf_annotations.csv CHANGED
@@ -1,4 +1,4 @@
1
- context_id,pair_id,source_pair_id,annotation_index_in_pair,erroneous_word,correct_word,areta_label,lex_code,lex_explanation_text,orth_code,orth_explanation_text,morph_code,morph_explanation_text,synt_code,synt_explanation_text
2
  1,1,5,1,انشاء,إن شاء,REPLACE_S,,,ex6,الهمزة هنا يجب أن تكون همزة قطع لأن الكلمة حرف والحروف لا تبدأ بهمزة وصل,,,,
3
  1,1,5,2,انشاء,إن شاء,REPLACE_S,,,ex78,يجب أن تكتب مسافة هنا لأنهما كلمتان مختلفتان يجب فصلهما بمسافة,,,,
4
  2,2,14,1,فهوا,فهو,REPLACE_OD+REPLACE_OG,,,ex31,يجب أن لا تكتب ألف بعد الواو لأنها ليست واو الجماعة,ex96,الواو هنا ليست واو الجماعة لأنها حرف أساسي من الكلمة,,
 
1
+ context_id,pair_id,original_pair_id,error_id,erroneous_word,correct_word,areta_label,lex_code,lex_explanation_text,orth_code,orth_explanation_text,morph_code,morph_explanation_text,synt_code,synt_explanation_text
2
  1,1,5,1,انشاء,إن شاء,REPLACE_S,,,ex6,الهمزة هنا يجب أن تكون همزة قطع لأن الكلمة حرف والحروف لا تبدأ بهمزة وصل,,,,
3
  1,1,5,2,انشاء,إن شاء,REPLACE_S,,,ex78,يجب أن تكتب مسافة هنا لأنهما كلمتان مختلفتان يجب فصلهما بمسافة,,,,
4
  2,2,14,1,فهوا,فهو,REPLACE_OD+REPLACE_OG,,,ex31,يجب أن لا تكتب ألف بعد الواو لأنها ليست واو الجماعة,ex96,الواو هنا ليست واو الجماعة لأنها حرف أساسي من الكلمة,,