Assessing rule-based document segmentation and word normalization for legal ruling classification
The Brazilian judiciary has shown promising interest in applying Natural Language Processing (NLP) techniques to various legal tasks. One such application is classifying legal rulings by the topics of recurring appeals. This study investigates two key strategies for preprocessing legal documents, drawing on insights from legal domain experts: whether using specific sections of the document is more effective for legal ruling classification than analyzing the entire document, and which expressions can be normalized to standardize the document vocabulary. The experimental results indicate that combining normalization preprocessing with the extraction of the judge’s manifestation section yields better performance, as measured by the F1 score. Additionally, we demonstrate how the Jaccard similarity index provides valuable insight into the impact of the preprocessing pipeline on the TF-IDF feature extraction method and, by extension, on document representation. This paper underscores the importance of leveraging domain expertise to guide an optimal set of preprocessing operations.
Authors
- Nina Ventura (ORCID: https://orcid.org/0000-0003-2364-1612)
- Alex Marino Gonçalves de Almeida (ORCID: https://orcid.org/0000-0002-6805-3753)
- Adriano Rívolli (ORCID: https://orcid.org/0000-0001-6445-3007)
- Fabíola S. F. Pereira (ORCID: https://orcid.org/0000-0003-2914-1803)
- Daniela L. Freire (ORCID: https://orcid.org/0000-0002-5363-3608)
- Giliard A. de Godoi (ORCID: https://orcid.org/0000-0002-1715-0852)
- Luís P. F. Garcia (ORCID: https://orcid.org/0000-0003-0679-9143)
- Márcio de Souza Dias (ORCID: https://orcid.org/0000-0003-1116-6965)
- André Carlos Ponce de Leon Ferreira de Carvalho (ORCID: https://orcid.org/0000-0002-3693-082X)
Institutions
- Universidade Tecnológica Federal do Paraná (BR)
- Universidade de Brasília (BR)
- Universidade de São Paulo (BR)
- Universidade Federal do Cariri (BR)
- Ourofino Saúde Animal (Brazil) (BR)
- Universidade Federal de Uberlândia (BR)
Publication Details
- Journal
- Conference on Digital Government Research
- Published
- 2025-05-19
- DOI
- https://doi.org/10.59490/dgo.2025.948
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior