KurtMica commited on
Commit
f9237e2
1 Parent(s): 7fc0d09

Create README.md

Browse files

# MAPA Maltese

Named-Entity Recognition dataset from the [MAPA Project](https://mapa-project.eu/).
This dataset has some fixes as detailed in [Cross-Lingual Transfer from Related Languages: Treating Low-Resource Maltese as Multilingual Code-Switching](https://arxiv.org/abs/2401.16895):
- Manually fixed some inconsistencies between Level 1 & Level 2 tags.
- Manually added some spans which were marked as entity spans but didn't have the tags.
- Manually fixed incorrectly marked spans with respect to tokenisation (either having a sub-word marked as an entity span, or having part of a previous word marked as an entity span; in both cases the whole word should've been marked as a span).
- Re-tokenised the dataset using the [MLRS Tokeniser](https://mlrs.research.um.edu.mt/), mainly done to not split off `-` & `'` characters as separate tokens as done by the [official convertor](https://gitlab.com/MAPA-EU-Project/mapa_project/-/blob/master/documentation/detection_training.md#converting-inception-tsv-files-to-jsonlines), since these are linguistically important characters in Maltese. While doing so, any tokens not split off by the tokeniser but which had multiple entity sub-spans, were also split off into separate tokens. Lastly, all tokens ending with `-`/`'` were checked to ensure that these weren't miscellaneous characters (e.g. for number ranges or quotation marks), in which case they were manually split into separate tokens.

For `EurLex` documents the same training/validation/testing splits from [joelniklaus/mapa](https://huggingface.co/datasets/joelniklaus/mapa) are kept.
Otherwise, for the other domains, we split documents in similar ratios.

## Citation

If you used this dataset, please cite these works:
- The original dataset:
```bibtex
@inproceedings{gianola-2020-mapa,
author = {Lucie Gianola and Ēriks Ajausks and Victoria Arranz and Chomicha Bendahman and Laurent Bié and Claudia Borg and Aleix Cerdà and Khalid Choukri and Montse Cuadros and Ona de Gibert and Hans Degroote and Elena Edelman and Thierry Etchegoyhen and Ángela Franco Torres and Mercedes García Hernandez and Aitor García Pablos and Albert Gatt and Cyril Grouin and Manuel Herranz and Alejandro Adolfo Kohan and Thomas Lavergne and Maite Melero and Patrick Paroubek and Mickaël Rigault and Mike Rosner and Roberts Rozis and Lonneke van der Plas and Rinalds Vīksna and Pierre Zweigenbaum},
title = {Automatic Removal of Identifying Information in Official EU Languages for Public Administrations: The {MAPA} Project},
booktitle = {Proceedings of the 33rd International Conference on Legal Knowledge and Information Systems ({JURIX'20})},
pages = {223--226},
year = {2020},
publisher = {IOS Press},
url = {https://ebooks.iospress.nl/volumearticle/56182},
doi = {10.3233/FAIA200869},
}
```
- The fixes & training/validation/testing splits:
```bibtex


@misc

{micallef-etal-2024-maltese-etymology,
title={Cross-Lingual Transfer from Related Languages: Treating Low-Resource {M}altese as Multilingual Code-Switching},
author={Kurt Micallef and Nizar Habash and Claudia Borg and Fadhl Eryani and Houda Bouamor},
year={2024},
eprint={2401.16895},
archivePrefix={arXiv},
primaryClass={cs.CL},
}
```

Files changed (1) hide show
  1. README.md +51 -32
README.md CHANGED
@@ -1,35 +1,54 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: domain
5
- dtype: string
6
- - name: file_name
7
- dtype: string
8
- - name: sentence_number
9
- dtype: int64
10
- - name: lines
11
- sequence: string
12
- - name: tokens
13
- sequence: string
14
- - name: level1_tags
15
- sequence: string
16
- - name: level2_tags
17
- sequence: string
18
- - name: space_after
19
- sequence: bool
20
- splits:
21
- - name: train
22
- num_bytes: 4217486
23
- num_examples: 3901
24
- - name: validation
25
- num_bytes: 1219896
26
- num_examples: 1093
27
- - name: test
28
- num_bytes: 2070537
29
- num_examples: 2109
30
- download_size: 1578713
31
- dataset_size: 7507919
32
  ---
33
- # Dataset Card for "mapa_maltese"
34
 
35
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - token-classification
5
+ task_ids:
6
+ - named-entity-recognition
7
+ language:
8
+ - mt
9
+ pretty_name: MAPA Maltese
10
+ size_categories:
11
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
 
13
 
14
+ # MAPA Maltese
15
+
16
+ Named-Entity Recognition dataset from the [MAPA Project](https://mapa-project.eu/).
17
+ This dataset has some fixes as detailed in [Cross-Lingual Transfer from Related Languages: Treating Low-Resource Maltese as Multilingual Code-Switching](https://arxiv.org/abs/2401.16895):
18
+ - Manually fixed some inconsistencies between Level 1 & Level 2 tags.
19
+ - Manually added the labels for some spans which were marked as entity spans but didn't have the tags.
20
+ - Manually fixed incorrectly marked spans with respect to tokenisation (either having a sub-word marked as an entity span, or having part of a previous word marked as an entity span; in both cases the whole word should've been marked as a span).
21
+ - Re-tokenised the dataset using the [MLRS Tokeniser](https://mlrs.research.um.edu.mt/), mainly done to not split off `-` & `'` characters as separate tokens as done by the [official convertor](https://gitlab.com/MAPA-EU-Project/mapa_project/-/blob/master/documentation/detection_training.md#converting-inception-tsv-files-to-jsonlines), since these are linguistically important characters in Maltese.
22
+ While doing so, any tokens not split off by the tokeniser but which had multiple entity sub-spans, were also split off into separate tokens.
23
+ Lastly, all tokens ending with `-`/`'` were checked to ensure that these weren't miscellaneous characters (e.g. for number ranges or quotation marks), in which case they were manually split into separate tokens.
24
+
25
+ For `EurLex` documents the same training/validation/testing splits from [joelniklaus/mapa](https://huggingface.co/datasets/joelniklaus/mapa) are kept.
26
+ Otherwise, for the other domains, we split documents in similar ratios.
27
+
28
+ ## Citations
29
+
30
+ If you used this dataset, please cite these works:
31
+ - The original dataset:
32
+ ```bibtex
33
+ @inproceedings{gianola-2020-mapa,
34
+ author = {Lucie Gianola and Ēriks Ajausks and Victoria Arranz and Chomicha Bendahman and Laurent Bié and Claudia Borg and Aleix Cerdà and Khalid Choukri and Montse Cuadros and Ona de Gibert and Hans Degroote and Elena Edelman and Thierry Etchegoyhen and Ángela Franco Torres and Mercedes García Hernandez and Aitor García Pablos and Albert Gatt and Cyril Grouin and Manuel Herranz and Alejandro Adolfo Kohan and Thomas Lavergne and Maite Melero and Patrick Paroubek and Mickaël Rigault and Mike Rosner and Roberts Rozis and Lonneke van der Plas and Rinalds Vīksna and Pierre Zweigenbaum},
35
+ title = {Automatic Removal of Identifying Information in Official EU Languages for Public Administrations: The {MAPA} Project},
36
+ booktitle = {Proceedings of the 33rd International Conference on Legal Knowledge and Information Systems ({JURIX'20})},
37
+ pages = {223--226},
38
+ year = {2020},
39
+ publisher = {IOS Press},
40
+ url = {https://ebooks.iospress.nl/volumearticle/56182},
41
+ doi = {10.3233/FAIA200869},
42
+ }
43
+ ```
44
+ - The fixes & training/validation/testing splits:
45
+ ```bibtex
46
+ @misc{micallef-etal-2024-maltese-etymology,
47
+ title={Cross-Lingual Transfer from Related Languages: Treating Low-Resource {M}altese as Multilingual Code-Switching},
48
+ author={Kurt Micallef and Nizar Habash and Claudia Borg and Fadhl Eryani and Houda Bouamor},
49
+ year={2024},
50
+ eprint={2401.16895},
51
+ archivePrefix={arXiv},
52
+ primaryClass={cs.CL},
53
+ }
54
+ ```