Datasets:
Tasks:
Text Classification
Sub-tasks:
acceptability-classification
Languages:
Galician
Size:
10K<n<100K
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,170 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- gl
|
| 4 |
+
pretty_name: GalCoLA
|
| 5 |
license: cc-by-4.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-classification
|
| 8 |
+
task_ids:
|
| 9 |
+
- acceptability-classification
|
| 10 |
+
tags:
|
| 11 |
+
- galician
|
| 12 |
+
- grammar
|
| 13 |
+
- acceptability
|
| 14 |
+
- cola
|
| 15 |
+
- syntax
|
| 16 |
+
- evaluation
|
| 17 |
+
- nlp
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: default
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: "train.tsv"
|
| 25 |
+
- split: validation
|
| 26 |
+
path: "dev.tsv"
|
| 27 |
+
- split: test
|
| 28 |
+
path: "test.tsv"
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
# GalCoLA
|
| 32 |
+
|
| 33 |
+
## Dataset Summary
|
| 34 |
+
|
| 35 |
+
GalCoLA is a Galician grammatical acceptability dataset in TSV format. It is designed for sentence-level binary classification, where each sentence is labeled as grammatically correct or grammatically incorrect.
|
| 36 |
+
|
| 37 |
+
The dataset brings together CoLA-style adaptations of Galician materials from two previous research settings:
|
| 38 |
+
|
| 39 |
+
- targeted syntactic evaluation datasets from **PROPOR 2022**
|
| 40 |
+
- control dependency datasets from **ACL 2023**
|
| 41 |
+
|
| 42 |
+
GalCoLA contains **17,088 sentences** in total.
|
| 43 |
+
|
| 44 |
+
## Dataset Structure
|
| 45 |
+
|
| 46 |
+
The dataset is distributed in **TSV format** and includes three splits:
|
| 47 |
+
|
| 48 |
+
- `train`
|
| 49 |
+
- `validation`
|
| 50 |
+
- `test`
|
| 51 |
+
|
| 52 |
+
Each row contains the following columns:
|
| 53 |
+
|
| 54 |
+
- `paper_id`: identifier of the source publication or experimental setting
|
| 55 |
+
- `source_type`: identifier of the source subset or linguistic phenomenon
|
| 56 |
+
- `source_id`: identifier of the original example
|
| 57 |
+
- `condition`: sentence condition
|
| 58 |
+
- `a` = grammatically correct
|
| 59 |
+
- `b` = grammatically incorrect
|
| 60 |
+
- `sentence`: sentence in Galician
|
| 61 |
+
- `label`: binary acceptability label
|
| 62 |
+
- `1` = grammatically correct
|
| 63 |
+
- `0` = grammatically incorrect
|
| 64 |
+
|
| 65 |
+
### Example
|
| 66 |
+
|
| 67 |
+
| paper_id | source_type | source_id | condition | sentence | label |
|
| 68 |
+
|----------|-------------|-----------|-----------|----------|------:|
|
| 69 |
+
| PROPOR2022 | PER_1 | 1 | a | Cociñei o peixe para o comeres tu. | 1 |
|
| 70 |
+
| PROPOR2022 | NUM_7545 | 3773 | a | Os nenos que xogaban onte alí coa outra cativa presentan mal o acto. | 1 |
|
| 71 |
+
| PROPOR2022 | NUM_4719 | 2360 | a | As rapazas que xogaban onte alí teñen fame. | 1 |
|
| 72 |
+
|
| 73 |
+
## Dataset Creation
|
| 74 |
+
|
| 75 |
+
GalCoLA combines materials adapted to a CoLA-style acceptability format from two main sources.
|
| 76 |
+
|
| 77 |
+
### PROPOR 2022 (A Targeted Assessment of the Syntactic Abilities of Transformer Models for Galician-Portuguese)
|
| 78 |
+
|
| 79 |
+
This part of the dataset comes from targeted syntactic evaluation materials for Galician. It includes controlled examples focused on:
|
| 80 |
+
|
| 81 |
+
- gender agreement
|
| 82 |
+
- number agreement
|
| 83 |
+
- person agreement
|
| 84 |
+
|
| 85 |
+
The original evaluation items were converted into sentence-level acceptability pairs, where one sentence is grammatically correct and the other is incorrect.
|
| 86 |
+
|
| 87 |
+
Total number of rows from this source: **15,552**.
|
| 88 |
+
|
| 89 |
+
### ACL 2023 (Dependency resolution at the syntax-semantics interface: psycholinguistic and computational insights on control dependencies)
|
| 90 |
+
|
| 91 |
+
This part of the dataset comes from experiments on control dependencies in Galician. It includes acceptability materials based on:
|
| 92 |
+
|
| 93 |
+
- proper names
|
| 94 |
+
- pronouns
|
| 95 |
+
|
| 96 |
+
These materials were also adapted into a CoLA-style binary classification format.
|
| 97 |
+
|
| 98 |
+
Total number of rows from this source: **1,536**.
|
| 99 |
+
|
| 100 |
+
## Dataset Statistics
|
| 101 |
+
|
| 102 |
+
- PROPOR 2022 adaptation: **15,552**
|
| 103 |
+
- ACL 2023 adaptation: **1,536**
|
| 104 |
+
- **Total**: **17,088**
|
| 105 |
+
|
| 106 |
+
## Labels
|
| 107 |
+
|
| 108 |
+
| Label | Meaning |
|
| 109 |
+
|------:|---------|
|
| 110 |
+
| 0 | grammatically incorrect |
|
| 111 |
+
| 1 | grammatically correct |
|
| 112 |
+
|
| 113 |
+
## Intended Uses
|
| 114 |
+
|
| 115 |
+
GalCoLA can be used for:
|
| 116 |
+
|
| 117 |
+
- grammatical acceptability classification in Galician
|
| 118 |
+
- evaluation of syntactic agreement phenomena
|
| 119 |
+
- probing morphosyntactic abilities of language models
|
| 120 |
+
- low-resource NLP research for Galician
|
| 121 |
+
|
| 122 |
+
## Limitations
|
| 123 |
+
|
| 124 |
+
- The dataset is focused on targeted grammatical phenomena and does not cover all types of acceptability judgments in Galician.
|
| 125 |
+
- Many examples are controlled or semi-synthetic adaptations derived from experimental materials.
|
| 126 |
+
- The dataset is mainly intended for evaluation and analysis rather than broad-coverage training.
|
| 127 |
+
|
| 128 |
+
## License
|
| 129 |
+
|
| 130 |
+
GalCoLA is released under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
|
| 131 |
+
|
| 132 |
+
Users are free to share and adapt the material, provided that appropriate credit is given to the original source.
|
| 133 |
+
|
| 134 |
+
## Usage
|
| 135 |
+
|
| 136 |
+
Example with `datasets`:
|
| 137 |
+
|
| 138 |
+
```python
|
| 139 |
+
from datasets import load_dataset
|
| 140 |
+
|
| 141 |
+
ds = load_dataset("proxectonos/galcola")
|
| 142 |
+
print(ds["train"][0])
|
| 143 |
+
print(ds["validation"][0])
|
| 144 |
+
print(ds["test"][0])
|
| 145 |
+
```
|
| 146 |
+
## Acknowledgements
|
| 147 |
+
|
| 148 |
+
This dataset was compiled within the Nós Project, funded by the Ministerio para la Transformación Digital y de la Función Pública - Funded by EU – NextGenerationEU within the framework of the project ILENIA with reference 2022/TL22/00215336.
|
| 149 |
+
|
| 150 |
+
## Citation
|
| 151 |
+
|
| 152 |
+
If you use this dataset, please cite the original sources.
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@inproceedings{garcia-crespo2022-targeted,
|
| 156 |
+
title = {A Targeted Assessment of the Syntactic Abilities of Transformer Models for Galician-Portuguese},
|
| 157 |
+
author = {Garcia, Marcos and Crespo-Otero, Alfredo},
|
| 158 |
+
booktitle = {Proceedings of the International Conference on the Computational Processing of Portuguese (PROPOR 2022)},
|
| 159 |
+
year = {2022},
|
| 160 |
+
publisher = {Springer Nature},
|
| 161 |
+
series = {Lecture Notes in Artificial Intelligence}
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
@inproceedings{de-dios-flores-etal-2023-control,
|
| 165 |
+
author = {de-Dios-Flores, Iria and García Amboage, Juan Pablo and Garcia, Marcos},
|
| 166 |
+
title = {Dependency resolution at the syntax-semantics interface: psycholinguistic and computational insights on control dependencies},
|
| 167 |
+
booktitle = {Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics},
|
| 168 |
+
year = {2023}
|
| 169 |
+
}
|
| 170 |
+
```
|