Comparison of BERT-Based Classifiers for Detecting Grammatical Errors in Slovak Sentences

This paper presents a comparative analysis of clas-sifiers for detecting grammatical errors in Slovak sentences. We experiment with state-of-the-art transformer models, in-cluding the BERT multilingual base model, SlovakBERT, and XLM-RoBERTa, trained on datasets containing synthetically introduced grammatical errors. The datasets were created by corrupting words in various ways, simulating different types of grammatical errors such as incorrect letters, punctuation, and case sensitivity. These datasets range in size from 50,000 to 1,000,000 sentences, with varying ratios of correct-to-incorrect sentences. The models were fine-tuned on these datasets and evaluated using key metrics such as accuracy, precision, recall, and F1 score. Our results highlight the impact of dataset size, error type, and sentence distribution on the models' ability to detect grammatical errors. The findings provide valuable insights into the development of grammar-checking systems for the Slovak language.

Authors

Institutions

Publication Details

Published
2024-10-24
DOI
https://doi.org/10.1109/iceta63795.2024.10850785
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of BERT-Based Classifiers for Detecting Grammatical Errors in Slovak Sentences

Matúš Pleva, Maroš Harahus, Zuzana Sokolová, Daniel Hládek
Natural Language Processing Techniques
article

Comparison of BERT-Based Classifiers for Detecting Grammatical Errors in Slovak Sentences

Matúš Pleva, Maroš Harahus, Zuzana Sokolová, Daniel Hládek
article en

Abstract

This paper presents a comparative analysis of clas-sifiers for detecting grammatical errors in Slovak sentences. We experiment with state-of-the-art transformer models, in-cluding the BERT multilingual base model, SlovakBERT, and XLM-RoBERTa, trained on datasets containing synthetically introduced grammatical errors. The datasets were created by corrupting words in various ways, simulating different types of grammatical errors such as incorrect letters, punctuation, and case sensitivity. These datasets range in size from 50,000 to 1,000,000 sentences, with varying ratios of correct-to-incorrect sentences. The models were fine-tuned on these datasets and evaluated using key metrics such as accuracy, precision, recall, and F1 score. Our results highlight the impact of dataset size, error type, and sentence distribution on the models' ability to detect grammatical errors. The findings provide valuable insights into the development of grammar-checking systems for the Slovak language.

Technical University of Košice (SK)
Quality Education
Openalex Percentile: Top 76%
Natural Language Processing Techniques
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.