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license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- token-classification
|
| 5 |
+
language:
|
| 6 |
+
- es
|
| 7 |
+
- en
|
| 8 |
+
- tr
|
| 9 |
+
- pl
|
| 10 |
+
- eu
|
| 11 |
+
- ru
|
| 12 |
+
- cs
|
| 13 |
+
tags:
|
| 14 |
+
- lemmatization
|
| 15 |
+
- morphology
|
| 16 |
+
- shortest-edit-scripts
|
| 17 |
+
pretty_name: Multilingual SES Datasets for Contextual Lemmatization
|
| 18 |
---
|
| 19 |
+
|
| 20 |
+
## Dataset Details
|
| 21 |
+
|
| 22 |
+
### Dataset Description
|
| 23 |
+
|
| 24 |
+
This dataset contains lemmatization data for seven languages: **Basque, Czech, English, Polish, Russian, Spanish, and Turkish**.
|
| 25 |
+
For each language, the data is provided in three different **Shortest Edit Script (SES)** representations:
|
| 26 |
+
|
| 27 |
+
- `ses-udpipe`
|
| 28 |
+
- `ses-ixapipes`
|
| 29 |
+
- `ses-morpheus`
|
| 30 |
+
|
| 31 |
+
The datasets were created for the experiments presented in *Evaluating Shortest Edit Script Methods for Contextual Lemmatization* [(Toporkov and Agerri (2024))](https://aclanthology.org/2024.lrec-main.572/) and are intended for multilingual contextual lemmatization.
|
| 32 |
+
The files are provided in a format ready for model training and can be used to fine-tune pretrained language models such as XLM-RoBERTa-large as a token classification task, where the model predicts an edit script that is subsequently applied to generate the lemma.
|
| 33 |
+
The three SES variants encode the transformation from a surface word form to its lemma using different edit-script generation strategies, allowing the effect of lemma representation on contextual lemmatization performance to be studied across languages with different morphological profiles.
|
| 34 |
+
|
| 35 |
+
- **Curated by:** Olia Toporkov and Rodrigo Agerri
|
| 36 |
+
- **Language(s):** Basque (`eu`), Czech (`cs`), English (`en`), Polish (`pl`), Russian (`ru`), Spanish (`es`), and Turkish (`tr`)
|
| 37 |
+
- **License:** Apache-2.0
|
| 38 |
+
|
| 39 |
+
## Dataset Sources
|
| 40 |
+
|
| 41 |
+
- **Paper:** [Evaluating Shortest Edit Script Methods for Contextual Lemmatization](https://aclanthology.org/2024.lrec-main.572/)
|
| 42 |
+
- **Original code and resources:** [hitz-zentroa/ses-lemma](https://github.com/hitz-zentroa/ses-lemma)
|
| 43 |
+
- **Project:** [Multilingual Contextual Lemmatization](https://hitz-zentroa.github.io/multilingual-contextual-lemmatization/)
|
| 44 |
+
|
| 45 |
+
## Uses
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
The dataset is intended for training and evaluating **contextual lemmatization models** that formulate lemmatization as a token classification task.
|
| 50 |
+
|
| 51 |
+
In particular, it can be used to:
|
| 52 |
+
|
| 53 |
+
- train models to predict Shortest Edit Script labels from words in context;
|
| 54 |
+
- compare different SES representations for contextual lemmatization;
|
| 55 |
+
- evaluate multilingual and language-specific pretrained language models;
|
| 56 |
+
- study lemmatization across languages with different morphological characteristics;
|
| 57 |
+
- reproduce or extend the experiments described in [Toporkov and Agerri (2024)](https://aclanthology.org/2024.lrec-main.572/).
|
| 58 |
+
|
| 59 |
+
The data can be used with multilingual pretrained encoders such as **XLM-RoBERTa**, as well as suitable language-specific encoder models.
|
| 60 |
+
|
| 61 |
+
## Dataset Structure
|
| 62 |
+
|
| 63 |
+
The dataset is organized by **language** and **Shortest Edit Script representation**.
|
| 64 |
+
Each SES variant contains the corresponding data used for training and evaluation. Depending on the language and experimental setting, the resources include **training, development, in-domain test, and out-of-domain test data**.
|
| 65 |
+
The SES label associated with each token encodes the sequence of transformations required to convert the observed word form into its lemma.
|
| 66 |
+
|
| 67 |
+
For each of the seven languages, three SES variants are provided along with all-labels files listing the unique SES labels found in the training, development, and test corpora, and requiered to reproduce the experiments:
|
| 68 |
+
|
| 69 |
+
- `ses-udpipe`
|
| 70 |
+
- `ses-ixapipes`
|
| 71 |
+
- `ses-morpheus`
|
| 72 |
+
|
| 73 |
+
The structure of the files in each ses-folder is the following:
|
| 74 |
+
- `in-domain-train-file`
|
| 75 |
+
- `in-domain-dev-file`
|
| 76 |
+
- `in-domain-test-file`
|
| 77 |
+
- `out-of-domain-test-file`
|
| 78 |
+
- `all-labels-file`
|
| 79 |
+
|
| 80 |
+
### Source Data
|
| 81 |
+
|
| 82 |
+
The experimental data originates from existing linguistically annotated corpora and treebanks used in the corresponding publication.
|
| 83 |
+
|
| 84 |
+
The in-domain datasets include:
|
| 85 |
+
|
| 86 |
+
- **Spanish:** GSD
|
| 87 |
+
- **Russian:** GSD
|
| 88 |
+
- **English:** English Web Treebank (EWT)
|
| 89 |
+
- **Basque:** Basque Dependency Treebank (BDT)
|
| 90 |
+
- **Turkish:** ITU-METU-Sabancı Treebank (IMST)
|
| 91 |
+
- **Czech:** Czech Academic Corpus (CAC)
|
| 92 |
+
- **Polish:** LFG corpus
|
| 93 |
+
|
| 94 |
+
The paper additionally evaluates the models on out-of-domain corpora, including resources such as **AnCora**, **SynTagRus**, **GUM**, **Armiarma**, and **PUD**, depending on the language.
|
| 95 |
+
Please refer to the paper for the complete description and citations of the original corpora.
|
| 96 |
+
|
| 97 |
+
### Data Collection and Processing
|
| 98 |
+
|
| 99 |
+
The original corpora provide tokenized text together with lemma annotations.
|
| 100 |
+
For every word–lemma pair, three alternative SES representations were automatically generated:
|
| 101 |
+
|
| 102 |
+
1. **UDPipe SES (`ses-udpipe`)**
|
| 103 |
+
Based on the lemmatization approach used in [UDPipe (Straka et al., 2016)](https://aclanthology.org/L16-1680/). It encodes casing information separately from character-level edit operations and uses the longest common substring between the word form and lemma to identify the unchanged part.
|
| 104 |
+
|
| 105 |
+
2. **IXA pipes SES (`ses-ixapipes`)**
|
| 106 |
+
Based on the edit-script approach used in [IXA pipes (Agerri et al., 2014)](https://aclanthology.org/L14-1063/), which in turn builds on the lemma-class representation introduced by [Chrupała et al. (2008)](https://aclanthology.org/L08-1176/).
|
| 107 |
+
|
| 108 |
+
3. **Morpheus SES (`ses-morpheus`)**
|
| 109 |
+
Based on [Morpheus (Yildiz and Tantuğ, 2019)](https://aclanthology.org/W19-4205/), which represents the transformation from a surface form to its lemma through character-level edit operations such as keeping, deleting, replacing, and inserting characters.
|
| 110 |
+
|
| 111 |
+
These SES labels are used as classification labels during model fine-tuning.
|
| 112 |
+
|
| 113 |
+
### Annotations
|
| 114 |
+
|
| 115 |
+
The lemma annotations originate from the corresponding source corpora.
|
| 116 |
+
The Shortest Edit Script labels provided in this dataset are automatically derived from the word-form and lemma pairs using the three SES generation methods.
|
| 117 |
+
|
| 118 |
+
### Recommendations
|
| 119 |
+
|
| 120 |
+
Users comparing SES representations should keep training data, model architecture, preprocessing, and evaluation settings consistent whenever possible.
|
| 121 |
+
For full reproducibility of the experiments, please consult the original paper and accompanying code repository.
|
| 122 |
+
|
| 123 |
+
## Citation
|
| 124 |
+
|
| 125 |
+
If you use this dataset, please cite:
|
| 126 |
+
|
| 127 |
+
**Toporkov, Olia and Rodrigo Agerri. 2024. “Evaluating Shortest Edit Script Methods for Contextual Lemmatization.” In Proceedings of LREC-COLING 2024, pp. 6451–6463.**
|
| 128 |
+
|
| 129 |
+
### BibTeX
|
| 130 |
+
|
| 131 |
+
```bibtex
|
| 132 |
+
@inproceedings{toporkov-agerri-2024-evaluating,
|
| 133 |
+
title = "Evaluating Shortest Edit Script Methods for Contextual Lemmatization",
|
| 134 |
+
author = "Toporkov, Olia and
|
| 135 |
+
Agerri, Rodrigo",
|
| 136 |
+
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
|
| 137 |
+
month = may,
|
| 138 |
+
year = "2024",
|
| 139 |
+
address = "Torino, Italia",
|
| 140 |
+
publisher = "ELRA and ICCL",
|
| 141 |
+
url = "https://aclanthology.org/2024.lrec-main.572/",
|
| 142 |
+
pages = "6451--6463"
|
| 143 |
+
}
|
| 144 |
+
```
|
| 145 |
+
|
| 146 |
+
## More Information
|
| 147 |
+
|
| 148 |
+
For additional information about the SES implementations, experimental settings, model configurations, and evaluation results, see:
|
| 149 |
+
|
| 150 |
+
- [Paper](https://aclanthology.org/2024.lrec-main.572/)
|
| 151 |
+
- [Code repository](https://github.com/hitz-zentroa/ses-lemma)
|
| 152 |
+
- [Multilingual Contextual Lemmatization project page](https://hitz-zentroa.github.io/multilingual-contextual-lemmatization/)
|
| 153 |
+
|
| 154 |
+
## Dataset Card Contact
|
| 155 |
+
|
| 156 |
+
For questions, bug reports, or issues related to the dataset, please open an issue in the associated GitHub repository.
|