Upload ARETA gold reference dataset
Browse files- README.md +27 -53
- gold_ref_hf_annotations.csv +1 -1
README.md
CHANGED
|
@@ -15,56 +15,30 @@ configs:
|
|
| 15 |
|
| 16 |
# ArabiGEE Data
|
| 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 |
-
- `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,
|
| 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,الواو هنا ليست واو الجماعة لأنها حرف أساسي من الكلمة,,
|