Model for evaluating the properties of spelling correction algorithms and its use for Ukrainian applications

Authors

  • Kostenko S.V. https://orcid.org/0000-0003-0817-8957 , Національний університет харчових технологій, м. Київ, Україна
  • Lytvynov V.A. https://orcid.org/0000-0001-5568-7629 , Інститут проблем математичних машин і систем НАН України, м. Київ, Україна

DOI:

https://doi.org/10.34121/1028-9763-2021-2-62-73

Keywords:

Spell Checking, correction of errors in the words of the Ukrainian language, simulation model for estimating dictionary indexing algorithms, перевірка і забезпечення правопису, виправлення помилок у словах української мови, імітаційна модель оцінки алгоритмів індексації словника

Abstract

A significant part of the methods and approaches to automatic spelling correction is language-dependent since they are focused on grammatical rules and phonetics of a particular language. The vast majority of works in this field is devoted to texts in English, a smaller part – to other Germanic languages, a very small part – to Slavic languages and the smallest part – to the Ukrainian language. A special toolkit (a simulation model (SM)) and the evaluation results of the corrective properties of some algorithms in relation to the correction of typical typing errors in Ukrainian words, taking into account the preliminary dictionary indexation, are considered in the article. SM has a modular structure and is configurable for specific dictionaries, types of errors and index generation algorithms. For the «dictionary – type of errors – algorithm» combination SM distorts the words of the given dictionary with a mistake and searches for the «closest» words-candidates to correct the wrong word. A general algorithm for processing a word with an error includes pre-selection (PS) of a set of words-candidates according to the rules of the indexing algorithm, and final selection (FS) as a prioritization of the selected words and narrowing the search area for a «correct» word according to the accepted proximity criteria for the word to be corrected, and various selection criteria. A trial simulation was performed for Soundex and Metaphone phonetic algorithms adapted to the Ukrainian language. An ensemble of errors is a set of typing errors which includes four different basic single misspellings (replacements, insertions, omissions and rearrangement of letters), as well as double errors which are a mixture of basic errors. 59,6 million words with errors were processed; the average time for processing one word was 0,07 ms. The simulation results contain the total number of corrected words grouped by the type of error, the number of correct words-candidates offers, the number of incorrect offers, the number of missing offers and the average number of candidates in the offers at the PS and FS stages.

References

Peterson J.L. Computer programs for detecting and correcting spelling errors. Communications of the A.C.M. 1980. Vol. 23 (12). Р. 676–687.

Kukich K.K. Technique for automatically correcting words in text. ACM Computing Surveys. 1992. Vol. 24 (4). P. 377–439.

The Top 31 Spellcheck Open Source Projects. URL: https://awesomeopensource.com/projects/spellcheck.

Rimrott A., Heift T. Evaluating automatic detection of misspellings in German. Language Learning & Technology. 2008. Vol. 12, N 3. Р. 73–92.

Sarr M. Improving Precision and Recall Using a Spellchecker in a Search Engine. Department of Numerical Analysis and Computer Science. Stockholm Royal Institute of Technology, Stockholms Universitet, 2003. 39 p.

Andrade G., Teixeira F., Xavier C.R., Oliveira R.S., Rocha L.C., Evsukoff A.G. HASCH: High Performance Automatic Spell Checker for Portuguese Texts from the Web. Procedia Computer Science. 2012. Vol. 9. Р. 403–411.

Aqeel S.U., Beitzel S., Jensen E., Grossman D., Frieder O. On the Development of Name Search Techniques for Arabic. Journal of the American Society for Information Science and Technology. 2006. Vol. 57, Issue 6. Р. 728–739.

Каньковский П. Русский метафон. URL: http://forum.aeroion.ru/topic461.html.

Український правопис. 14 нових правил. URL: https://glavcom.ua/country/science/ukrajinskiy-pravopis-14-novih-pravil-yaki-varto-zapamyatati--596631.html.

Литвинов В.А., Майстренко С.Я., Хурцилава К.В., Костенко С.В. Критерии и модели оценки корректирующих свойств референтного орфографического словаря при автоматическом исправлении типовых ошибок пользователя. Математичні машини i системи. 2018. № 2. С. 72–81.

Литвинов В.А., Крамаренко В.В. Контроль достоверности и восстановление информации в человеко-машинных системах. Київ: Техніка, 1988. 200 с.

Фонетика. Орфоепія. Теоретичний матеріал. URL: https://eschool.dn.ua/mod/book/tool/print/index.php?id=203161.

Про впорядкування транслітерації українського алфавіту латиницею. URL: https://zakon.rada.gov.ua/laws/show/55-2010-%D0%BF.

Phonetic Matching Algorithms. URL: https://medium.com/@ievgenii.shulitskyi/phonetic-matching-algorithms-50165e684526.

Downloads

Views: 98
Downloads: 29

Published

2021-06-01

Issue

Section

SIMULATION AND MANAGEMENT

How to Cite

Model for evaluating the properties of spelling correction algorithms and its use for Ukrainian applications. (2021). Mathematical Machines and Systems, 2, 62–73. https://doi.org/10.34121/1028-9763-2021-2-62-73