Zaznava protislovij v pravnih besedilih
Abstract
This paper lays the foundation for using Large Language Models (LLMs) in the Slovenian legal domain. We address data scarcity in low-resource languages by constructing the largest publicly available Slovene Legal Corpus, spanning over one billion tokens from legislative, judicial, and governmental texts. We introduce PravniBERT, a domain-specific Slovene legal language model, and evaluate it on contradiction-based legal article retrieval, achieving 83.6% ac-curacy@3. Our results demonstrate the feasibility of applying LLMs to complex legal reasoning in under-resourced settings and highlight the potential for transparent, domain-adapted legal AI in Slovenia.
Fields of Study & Subjects
Artificial Intelligence in Law
Topic Modeling
Natural Language Processing Techniques
Publication details
- Journal / source
- Repository of the University of Ljubljana (University of Ljubljana)
- Publication date
- 3 February 2026
- Language
- EN