IAES International Journal of Artificial Intelligence (IJ-AI)
Vol 15, No 6: December 2026

Gramatika: a synthetic Indonesian grammatical error correction dataset generated using a rule-based approach

Michael Felix Haryono (Universitas Indonesia)
Rico Tadjudin (Universitas Indonesia)
Jeremy Victor Andre Napitupulu (Universitas Indonesia)
Mirsa Salsabila (Universitas Indonesia)
Ika Alfina (Universitas Indonesia)
Arlisa Yuliawati (Universitas Indonesia)



Article Info

Publish Date
01 Dec 2026

Abstract

Grammatical error correction (GEC) is a natural language processing (NLP) task that detects and corrects errors in a text. This task includes correcting grammatical, semantic, and orthographic errors. GEC research for Indonesian, a low-resource language in NLP, has been hindered by the lack of high-quality datasets for training GEC models. This study aims to develop a new GEC dataset for Indonesian using a rule-based approach to automatically generate annotated sentences, as manual annotation is costly. The rule-based approach utilizes a thesaurus, a dictionary, a part-of-speech (POS) tagger, a morphological analyzer, and a dependency parser to generate errors that more closely resemble naturally occurring errors. Grammatically correct sentences from Indonesian Wikipedia are used as source sentences. The resulting dataset, named Gramatika, consists of 1.5 million sentences covering 17 error types and is available in both M.2 and parallel formats. To evaluate the quality of Gramatika, two established models for the GEC task, text-to-text transfer transformer (T5) and grammatical error correction: tag, not rewrite (GECToR), were fine-tuned on the dataset. The results show that multilingual text-to-text transfer transformer (mT5) achieved the highest F0.5 score of 80.30%, outperforming the best-performing GECToR system by 3.84 percentage points, which achieved an F0.5 score of 76.46%.

Copyrights © 2026






Journal Info

Abbrev

IJAI

Publisher

Subject

Computer Science & IT Engineering

Description

IAES International Journal of Artificial Intelligence (IJ-AI) publishes articles in the field of artificial intelligence (AI). The scope covers all artificial intelligence area and its application in the following topics: neural networks; fuzzy logic; simulated biological evolution algorithms (like ...