Papers › PyEuroVoc: A Tool for Multilingual Legal Document Classification with EuroVoc Descriptors

PyEuroVoc: A Tool for Multilingual Legal Document Classification with EuroVoc Descriptors

2 Aug 2021RANLP 2021 9arXiv:2108.01139archive 2025-07-28

Andrei-Marius Avram, Vasile Pais, Dan Tufis

EuroVoc is a multilingual thesaurus that was built for organizing the legislative documentary of the European Union institutions. It contains thousands of categories at different levels of specificity and its descriptors are targeted by legal texts in almost thirty languages. In this work we propose a unified framework for EuroVoc classification on 22 languages by fine-tuning modern Transformer-based pretrained language models. We study extensively the performance of our trained models and show that they significantly improve the results obtained by a similar tool - JEX - on the same dataset. The code and the fine-tuned models were open sourced, together with a programmatic interface that eases the process of loading the weights of a trained model and of classifying a new document.

PaperPDFConference PDFCode

Code

racai-ai/EuroVoc-BERT officialmentioned in papermentioned on GitHubpytorch report
racai-ai/pyeurovoc officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Document ClassificationSpecificity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections