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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Assessing rule-based document segmentation and word normalization for legal ruling classification

Nina Ventura, Alex Marino Gonçalves de Almeida, Adriano Rívolli, Fabíola S. F. Pereira et al.
Conference on Digital Government Research
Artificial Intelligence in Law
article

Assessing rule-based document segmentation and word normalization for legal ruling classification

Nina Ventura, Alex Marino Gonçalves de Almeida, Adriano Rívolli, Fabíola S. F. Pereira, Daniela L. Freire, Giliard A. de Godoi, Luís P. F. Garcia, Márcio de Souza Dias, André Carlos Ponce de Leon Ferreira de Carvalho
article en

Abstract

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.

Conference on Digital Government ResearchVol. 1
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)
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
Openalex Percentile: Top 87%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.