TextCNN and Gated Recurrent Unit(GRU) with Additive Attention for Character-Level Yoruba Spell Correction

Authors
  • Opeyemi O. ASAOLU

    Author

  • Tomilayo F. ADEBIYI

    Author

  • Kazeem M. OLAGUNJU

    Author

Keywords:
Yoruba Language; Orthographic Error Correction; TextCNN; GRU; Additive Attention.
Abstract

This Automatic spell correction for Yoruba, a tonal Niger-Congo language spoken by more than 40 million people, remains an open problem in low-resource natural language processing. This paper evaluates two deep learning architectures, a pure convolutional TextCNN and a Bidirectional GRU with additive attention (GRU+Attn) for character-level Yoruba orthographic error correction. Both models were trained on a 1,244,871-token corpus drawn from four open-access repositories: Masakhane NER, AfriSenti, MasakhaPOS, and MasakhaNEWS. A balanced dataset of 127,905 correction pairs was constructed by injecting five Yoruba-specific error types into a 1,000-word vocabulary. TextCNN reached 83.9% test accuracy in 1.82 minutes of Graphics Processing Unit (GPU) training. GRU+Attn reached 83.6% in 2.49 minutes. Both architectures corrected character insertion errors above 93% accuracy. Tone mark omission was the hardest category for both, peaking at 77.3% (TextCNN), a result consistent with the information-theoretic difficulty of resolving homographs without sentential context. These results extend the existing Yoruba benchmark and establish TextCNN as a deployment-practical alternative to stacked recurrent models.

References
Cover Image
Published
15-08-2026
Section
Articles
License

Copyright (c) 2026 Opeyemi O. ASAOLU, Tomilayo F. ADEBIYI, Kazeem M. OLAGUNJU (Author)

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

How to Cite

[1]
O. O. ASAOLU, T. F. ADEBIYI, and K. M. OLAGUNJU, “TextCNN and Gated Recurrent Unit(GRU) with Additive Attention for Character-Level Yoruba Spell Correction ”, FJET, vol. 2, no. 2, pp. 209–218, Aug. 2026, doi: 10.33003/v2kyhn30.

Similar Articles

11-20 of 119

You may also start an advanced similarity search for this article.