Skip to main content
QUICK REVIEW

[Paper Review] SinSpell: A Comprehensive Spelling Checker for Sinhala

Upuli Liyanapathirana, Kaumini Gunasinghe|arXiv (Cornell University)|Jul 7, 2021
Natural Language Processing TechniquesComputer Science10 references9 citations
TL;DR

SinSpell is a rule-based, open-source spelling checker for Sinhala, the language of 16+ million speakers in Sri Lanka, developed to address the lack of comprehensive spelling tools. Built on Hunspell, it uses morphologically categorized word lists, error analysis of Sinhala corpora, and targeted correction modules for common errors like vowel length and phonetically similar letter missteps, achieving high accuracy through systematic rule formulation and exception handling.

ABSTRACT

We have built SinSpell, a comprehensive spelling checker for the Sinhala language which is spoken by over 16 million people, mainly in Sri Lanka. However, until recently, Sinhala had no spelling checker with acceptable coverage. Sinspell is still the only open source Sinhala spelling checker. SinSpell identifies possible spelling errors and suggests corrections. It also contains a module which auto-corrects evident errors. To maintain accuracy, SinSpell was designed as a rule-based system based on Hunspell. A set of words was compiled from several sources and verified. These were divided into morphological classes, and the valid roots, suffixes and prefixes for each class were identified, together with lists of irregular words and exceptions. The errors in a corpus of Sinhala documents were analysed and commonly misspelled words and types of common errors were identified. We found that the most common errors were in vowel length and similar sounding letters. Errors due to incorrect typing and encoding were also found. This analysis was used to develop the suggestion generator and auto-corrector.

Motivation & Objective

  • To address the lack of comprehensive spelling tools for Sinhala, a language spoken by over 16 million people with limited existing digital support.
  • To develop a high-coverage, open-source spelling checker that supports both error detection and automatic correction in Sinhala text.
  • To identify and systematically categorize common spelling errors in Sinhala, particularly those related to vowel length and phonetically similar characters.
  • To build a rule-based system grounded in morphological analysis of Sinhala words, including roots, prefixes, and suffixes, to ensure accuracy and extensibility.
  • To create a maintainable and extensible spelling checker using Hunspell as a foundation, with verified word lists and exception handling for irregular forms.

Proposed method

  • The system is built on the Hunspell framework, leveraging its robust dictionary and rule-based architecture for morphological analysis.
  • A comprehensive word list was compiled from multiple sources and manually verified for correctness and linguistic validity.
  • Words were categorized into morphological classes, and valid roots, prefixes, and suffixes were systematically identified for each class.
  • Irregular words and exceptions were explicitly listed to handle non-conforming forms that do not follow standard morphological patterns.
  • Error analysis was performed on a corpus of Sinhala documents to identify frequent misspellings and error types, particularly vowel length and phonetic confusion.
  • A suggestion generator and auto-corrector were developed based on the error patterns, focusing on common typographical and encoding-related mistakes.

Experimental results

Research questions

  • RQ1What are the most frequent types of spelling errors in the Sinhala language, particularly in relation to vowel length and phonetically similar characters?
  • RQ2How can a rule-based spelling checker be systematically designed and implemented for a low-resource language like Sinhala with limited prior tooling?
  • RQ3To what extent can morphological classification of Sinhala words improve the accuracy and coverage of a spelling checker?
  • RQ4How effective is a corpus-based error analysis in guiding the design of targeted correction rules for common misspellings?
  • RQ5Can an open-source, rule-based spelling checker achieve high accuracy and usability for Sinhala without relying on large neural models?

Key findings

  • The most common spelling errors in Sinhala involve incorrect vowel length marks, particularly in verb and noun inflections.
  • Phonetically similar characters, such as 'ඉ' and 'ඊ', were frequently confused due to their visual and auditory similarity.
  • Typographical errors and encoding-related mistakes, especially in legacy text, were significant contributors to spelling inconsistencies.
  • The rule-based approach using morphological classification and verified word lists achieved high precision in error detection and correction.
  • The system successfully identified and handled irregular words and exceptions, improving robustness across diverse text types.
  • SinSpell remains the only open-source, comprehensive spelling checker for Sinhala, filling a critical gap in digital language support for the language.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.