When the Dictionary Strikes Back: A Case Study on Slovak Migration Location Term Extraction and NER via Rule-Based vs. LLM Methods
This study explores the task of automatically extracting migration-related locations (source and destination) from media articles, focusing on the challenges posed by Slovak, a low-resource and morphologically complex language.We present the first comparative analysis of rule-based dictionary approaches (NLP4SK) versus Large Language Models (LLMs, e.g.SlovakBERT, GPT-4o) for both geographical relevance classification (Slovakiafocused migration) and specific source/target location extraction.To facilitate this research and future work, we introduce the first manually annotated Slovak dataset tailored for migration-focused locality detection.Our results show that while a fine-tuned SlovakBERT model achieves high accuracy for classification, specialized rule-based methods still have the potential to outperform LLMs for specific extraction tasks, though improved LLM performance with few-shot examples suggests future competitiveness as research in this area continues to evolve.
Authors
- Andrej Findor (ORCID: https://orcid.org/0000-0002-5896-6989)
- Jaroslav Kopčan (ORCID: https://orcid.org/0000-0002-7467-6615)
- Marián Šimko (ORCID: https://orcid.org/0000-0002-2306-4408)
- Martin Takáč (ORCID: https://orcid.org/0000-0001-7455-2025)
- Miroslav Blšták (ORCID: https://orcid.org/0000-0002-8437-8769)
- Marek Šuppa
- Samuel Havran
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.bsnlp-1.11
- Primary Topic
- Data Quality and Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Agentúra na Podporu Výskumu a Vývoja