English

Spelling Correction with Denoising Transformer

Computation and Language 2021-05-14 v1 Artificial Intelligence Machine Learning

Abstract

We present a novel method of performing spelling correction on short input strings, such as search queries or individual words. At its core lies a procedure for generating artificial typos which closely follow the error patterns manifested by humans. This procedure is used to train the production spelling correction model based on a transformer architecture. This model is currently served in the HubSpot product search. We show that our approach to typo generation is superior to the widespread practice of adding noise, which ignores human patterns. We also demonstrate how our approach may be extended to resource-scarce settings and train spelling correction models for Arabic, Greek, Russian, and Setswana languages, without using any labeled data.

Keywords

Cite

@article{arxiv.2105.05977,
  title  = {Spelling Correction with Denoising Transformer},
  author = {Alex Kuznetsov and Hector Urdiales},
  journal= {arXiv preprint arXiv:2105.05977},
  year   = {2021}
}

Comments

9 pages, 3 figures

R2 v1 2026-06-24T02:03:32.381Z