Bangla Grammatical Error Detection Using T5 Transformer Model

H. A. Z. Sameen Shahgir, Khondker Salman Sayeed
3/19/2023
cs.CLcs.LG

No official code found. Best implementation: ramisa2108/Bangla-Complex-Named-Entity-Recognition-Challenge (7 stars, last commit 2023-03-21).

Abstract

This paper presents a method for detecting grammatical errors in Bangla using a Text-to-Text Transfer Transformer (T5) Language Model, using the small variant of BanglaT5, fine-tuned on a corpus of 9385 sentences where errors were bracketed by the dedicated demarcation symbol. The T5 model was primarily designed for translation and is not specifically designed for this task, so extensive post-processing was necessary to adapt it to the task of error detection. Our experiments show that the T5 model can achieve low Levenshtein Distance in detecting grammatical errors in Bangla, but post-processing is essential to achieve optimal performance. The final average Levenshtein Distance after post-processing the output of the fine-tuned model was 1.0394 on a test set of 5000 sentences. This paper also presents a detailed analysis of the errors detected by the model and discusses the challenges of adapting a translation model for grammar. Our approach can be extended to other languages, demonstrating the potential of T5 models for detecting grammatical errors in a wide range of languages.

View on arXivView PDF

Code Implementations(1)

Winning Solution for the Bangla Complex Named Entity Recognition Challenge - BDOSN NLP Hackathon 2023

70Python, Jupyter NotebookJan 20, 20233 years ago
deep-learningmachine-learningmultilingual-nlpnamed-entity-recognitionnlp

Similar Papers

Cite this paper

@article{shahgir2023bangla,
  title  = {Bangla Grammatical Error Detection Using T5 Transformer Model},
  author = {H. A. Z. Sameen Shahgir and Khondker Salman Sayeed},
  year   = {2023},
  eprint = {2303.10612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.10612v1}
}

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/2303.10612.svg)](https://codeofpaper.com/paper/2303.10612)

Discussion