Zaznava protislovij v pravnih besedilih
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.
Authors
- Primož Križnar
- Aleš Završník (ORCID: https://orcid.org/0000-0002-4531-2740)
- Marko Bajec (ORCID: https://orcid.org/0000-0002-8502-6765)
- Miha Malenšek
- Saša Krajnc
- Slavko Žitnik
Institutions
- University of Ljubljana (SI)
- Institute of Criminology (SI)
- Kranj School Centre (SI)
Publication Details
- Journal
- Repository of the University of Ljubljana (University of Ljubljana)
- Published
- 2026-02-03
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Javna Agencija za Raziskovalno Dejavnost RS
- Univerza v Ljubljani