In plain words: A new Slovene spell-checker trains a language model on text with fake misspellings slipped in, so it can flag both wrong spellings and words that don't fit the sentence. It beat every existing Slovene checker at catching errors and avoiding false alarms.
Abstract
Spell-checkers are valuable tools that enhance communication by identifying misspelled words in written texts. Recent improvements in deep learning, and in particular in large language models, have opened new opportunities to improve traditional spell-checkers with new functionalities that not only assess spelling correctness but also the suitability of a word for a given context. In our work, we present and compare two new spell-checkers and evaluate them on synthetic, learner, and more general-domain Slovene datasets. The first spell-checker is a traditional, fast, word-based approach, based on a morphological lexicon with a significantly larger word list compared to existing spell-checkers. The second approach uses a language model trained on a large corpus with synthetically inserted errors. We present the training data construction strategies, which turn out to be a crucial component of neural spell-checkers. Further, the proposed neural model significantly outperforms all existing spell-checkers for Slovene in both precision and recall.
Matej Klemen, Martin Božič, Špela Arhar Holdt, Marko Robnik-Šikonja
arXiv:2410.23514 · cs.CL · submitted Oct 30, 2024
abstract · pdf · html · Camera-ready version. Accepted to TSD 2024