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
- Matúš Pleva (ORCID: https://orcid.org/0000-0003-4380-0801)
- Maroš Harahus (ORCID: https://orcid.org/0000-0002-1756-123X)
- Zuzana Sokolová (ORCID: https://orcid.org/0000-0002-2337-8749)
- Daniel Hládek (ORCID: https://orcid.org/0000-0003-1148-3194)
Institutions
- Technical University of Košice (SK)
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