RoLegalGEC: Legal Domain Grammatical Error Detection and Correction Dataset for Romanian

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Timpuriu, Mircea, Cercel, Mihaela-Claudia, Cercel, Dumitru-Clementin
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917429085470720
author Timpuriu, Mircea
Cercel, Mihaela-Claudia
Cercel, Dumitru-Clementin
author_facet Timpuriu, Mircea
Cercel, Mihaela-Claudia
Cercel, Dumitru-Clementin
contents The importance of clear and correct text in legal documents cannot be understated, and, consequently, a grammatical error correction tool meant to assist a professional in the law must have the ability to understand the possible errors in the context of a legal environment, correcting them accordingly, and implicitly needs to be trained in the same environment, using realistic legal data. However, the manually annotated data required by such a process is in short supply for languages such as Romanian, much less for a niche domain. The most common approach is the synthetic generation of parallel data; however, it requires a structured understanding of the Romanian grammar. In this paper, we introduce, to our knowledge, the first Romanian-language parallel dataset for the detection and correction of grammatical errors in the legal domain, RoLegalGEC, which aggregates 350,000 examples of errors in legal passages, along with error annotations. Moreover, we evaluate several neural network models that transform the dataset into a valuable tool for both detecting and correcting grammatical errors, including knowledge-distillation Transformers, sequence tagging architectures for detection, and a variety of pre-trained text-to-text Transformer models for correction. We consider that the set of models, together with the novel RoLegalGEC dataset, will enrich the resource base for further research on Romanian.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19593
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle RoLegalGEC: Legal Domain Grammatical Error Detection and Correction Dataset for Romanian
Timpuriu, Mircea
Cercel, Mihaela-Claudia
Cercel, Dumitru-Clementin
Computation and Language
Artificial Intelligence
Machine Learning
The importance of clear and correct text in legal documents cannot be understated, and, consequently, a grammatical error correction tool meant to assist a professional in the law must have the ability to understand the possible errors in the context of a legal environment, correcting them accordingly, and implicitly needs to be trained in the same environment, using realistic legal data. However, the manually annotated data required by such a process is in short supply for languages such as Romanian, much less for a niche domain. The most common approach is the synthetic generation of parallel data; however, it requires a structured understanding of the Romanian grammar. In this paper, we introduce, to our knowledge, the first Romanian-language parallel dataset for the detection and correction of grammatical errors in the legal domain, RoLegalGEC, which aggregates 350,000 examples of errors in legal passages, along with error annotations. Moreover, we evaluate several neural network models that transform the dataset into a valuable tool for both detecting and correcting grammatical errors, including knowledge-distillation Transformers, sequence tagging architectures for detection, and a variety of pre-trained text-to-text Transformer models for correction. We consider that the set of models, together with the novel RoLegalGEC dataset, will enrich the resource base for further research on Romanian.
title RoLegalGEC: Legal Domain Grammatical Error Detection and Correction Dataset for Romanian
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2604.19593