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

Andrei-Marius Avram, Vasile Pais, Dan Tufis
8/2/2021
22 citations
cs.CLcs.AIcs.LG

Official code: racai-ai/pyeurovoc (29 stars, Python, MIT, last commit 2023-06-10).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

racai-ai/pyeurovocOfficial100%
MIT

Legal document classification with EuroVoc descriptors on 22 languages.

2910Python, ShellFeb 24, 20213 years agoMIT
bertclassificationdocumenteurovoclegal+1 more

Similar Papers

Cite this paper

@article{avram2021pyeurovoc,
  title  = {PyEuroVoc: A Tool for Multilingual Legal Document Classification with EuroVoc Descriptors},
  author = {Andrei-Marius Avram and Vasile Pais and Dan Tufis},
  year   = {2021},
  eprint = {2108.01139},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.01139}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.01139.svg)](https://codeofpaper.com/paper/2108.01139)

Discussion