Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-05T08:59:22.499Z Has data issue: false hasContentIssue false

Named Entity Recognition Across Datasets and Domains: Resources and Models for Galician

Published online by Cambridge University Press:  01 October 2026

Albina Sarymsakova*
Affiliation:
Instituto de Estudios Gallegos Padre Sarmiento (IEGPS-CSIC), Santiago de Compostela, Galicia, Spain Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS), Universidade de Santiago de Compostela, Galicia, Spain
Ettore Mariotti
Affiliation:
Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS), Universidade de Santiago de Compostela, Galicia, Spain
Helena Pérez Puente
Affiliation:
Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS), Universidade de Santiago de Compostela, Galicia, Spain
Marcos Garcia*
Affiliation:
Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS), Universidade de Santiago de Compostela, Galicia, Spain
*
Corresponding authors: Albina Sarymsakova; Email: albina.sarymsakova.es@gmail.com; Marcos Garcia; Email: marcos.garcia.gonzalez@usc.gal
Corresponding authors: Albina Sarymsakova; Email: albina.sarymsakova.es@gmail.com; Marcos Garcia; Email: marcos.garcia.gonzalez@usc.gal
Rights & Permissions [Opens in a new window]

Abstract

Automatic named entity recognition (NER) is essential for many natural language processing applications, particularly in low-resource languages and those with corpora restricted to a single domain, where the lack of diverse data may hinder cross-domain generalisation. In this context, we attempt to contribute to the Galician NER field by extending manually annotated resources and exploring several approaches to improve the performance of automatic classifiers. To this end, we enrich two new datasets with NER annotations in Galician, which we release in this paper. Through experimental evaluation, we investigate the benefits of fine-tuning transformers on NER data by comparing various monolingual and multilingual BERT models and developing a new extra-small DeBERTa model for Galician. Furthermore, we assess the quality of the NER model by expanding the initial training corpus with additional data from related varieties, including Portuguese and Spanish. For evaluation, we use five Galician corpora, including our two newly annotated datasets and three adapted from existing resources, ensuring assessment across multiple domains. Our findings reveal (1) a positive impact of enhanced cross-lingual training data on improved model performance across five Galician test datasets; (2) similar performance of monolingual and multilingual models depending on the training data; and (3) the competitive effectiveness of extra-small BERT models for Galician NER tasks compared to larger models.

Information

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (https://creativecommons.org/licenses/by-nc-sa/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited. The written permission of Cambridge University Press or the rights holder(s) must be obtained prior to any commercial use.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table 1. Results of inter-annotator agreement (IAA) for the Galician PUD and TreeGal NER labellingTable 1 long description.

Figure 1

Table 2. Distribution of entity classes in Galician PUD, TreeGal, CorNER, and LREC datasetsTable 2 long description.

Figure 2

Table 3. Distribution of entity classes in SLI NERC datasetTable 3 long description.

Figure 3

Table 4. Distribution of entity classes in final training, development, and test datasetTable 4 long description.

Figure 4

Table 5. Accuracy of the baseline model trained with custom splits (70/10/20%) of SLI NERCTable 5 long description.

Figure 5

Figure 1. Results for NER Galician model trained with BERT-base-gl embeddings and diverse hyperparameters.

Figure 6

Table 6. The results on NER task trained with BERT-based monolingual models and evaluated on five different datasetsTable 6 long description.

Figure 7

Table 7. The results on NER task trained with BERT-based multilingual models and evaluated on five different datasetsTable 7 long description.

Figure 8

Table 8. Distribution of entity classes in Spanish AnCora, Portuguese Bosque, and PUD datasetsTable 8 long description.

Figure 9

Table 9. Results for cross-lingual training data augmentation using BERT-base-gl embedding model, compiling Spanish and Portuguese NER corpusTable 9 long description.

Figure 10

Table 10. Results for cross-lingual training data augmentation using mDeBERTa_v3-base embedding model, compiling Spanish and Portuguese NERTable 10 long description.

Figure 11

Table 11. LLM performance (F1-score) across NER datasets under fuzzy span evaluationTable 11 long description.

Figure 12

Table 12. Qualitative analysis micro average results for Galician NER models trained with BERT-based embeddings and evaluated on five Galician datasets. Values in bold are the best F1 results for each category and for each metric (bottom row)Table 12 long description.

Figure 13

Table 13. Span-wise metrics per entity type from Mixed dataset for the best-performing BERT-base-gl (cross-lingual) modelTable 13 long description.

Figure 14

Table 14. NE labels errors for BERT-base-gl predictions evaluated on five Galician datasets and trained with cross-lingual dataTable 14 long description.

Figure 15

Figure 2. Distribution of the erroneously annotates NE for BERT-base-gl predictions among five Galician datasets.

Figure 16

Figure 3. NE labels errors for BERT-base-gl fine-tuned with cross-lingual data evaluated on five Galician test dataset.

Figure 17

Table 15. Tag frequencies of five Galician datasetsTable 15 long description.

Figure 18

Table 16. Total amount of annotated NE over five Galician datasetsTable 16 long description.

Figure 19

Table 17. Comparison of pre-trained models used for fine-tuning on Galician NER data. Parameters include both backbone and vocabulary parameters and are approximate values in millions. Corpus is the approximate size of the respective training corpus. Additional corpus size for BERT-base gl and DeBERTa_v3-xsmall-gl refer to the training corpus of each original model they are based on (mBERT and deberta-v3-xsmall)Table 17 long description.

Figure 20

Table 18. LLM performance (Precision, Recall, and F1-score) on NER under fuzzy span evaluation across datasets. Values in bold are the best P/R/F1 per dataset. BERT-gl, included for comparison, is the BERT-base-gl fine-tuned with Mixed cross-lingual dataTable 18 long description.