JAIT 2023 Vol.14(3): 399-410
doi: 10.12720/jait.14.3.399-410

Spelling Check: A New Cognition-Inspired Sequence Learning Memory

Thasayu Soisoonthorn1,* , Herwig Unger2 , Maleerat Maliyaem1

  • 1Faculty of Information Technology and Digital Innovation, King Mongkut’s University of Technology North Bangkok, Bangkok, Thailand
  • 2University of Hagen, Hagen, Germany

* Corresponding author

  • Manuscript receivedSeptember 8, 2022
  • revisedNovember 5, 2022
  • acceptedDecember 14, 2022
  • publishedMay 5, 2023

Abstract

This study aimed to use a cognition-inspired method following Hawkins’s approach to optimize learning sequences for efficiency. The model for this learning approach is a new, flexible associative form of memory that can handle keys of different lengths to address all fitting sequences. Furthermore, it cannot only identify existing sequences but also learn new ones and ensure fault-tolerant operations. After introducing such memory hardware, its practicability is approved as a new kind of spelling checker. The evaluation uses the TREC-5 Confusion Track standard dataset to automatically correct incorrect words by comparing them with Levenshtein Distance, pyspellchecker, Long Short-Term Memory (LSTM), and Semantically Conditioned LSTM plus Elmo Transformer (Elmosclstm). In a small data set and at the word level, the processing time is only 0.001s, which is lower than other methods. At the sentence level, the cognition-inspired method can achieve 99.31% accuracy, better than Elmosclstm at 81.97% for training data. In a big data set and at the word level, the highest accuracy is 87.38% and 87.03%, beyond Elmosclstm at 77.44% and 74.41% for training data and testing data. At the sentence level, the cognition-inspired method can achieve 96.73% and 91.42%, better than Elmosclstm at 81.50% and 72.18% for training and testing data, respectively.

Keywords

  • Artificial Intelligence (AI)
  • Hierarchical Temporal Memory (HTM)
  • spelling check
JAIT-V14N3-399

How to Cite

Copied

Thasayu Soisoonthorn, Herwig Unger, and Maleerat Maliyaem, "Spelling Check: A New Cognition-Inspired Sequence Learning Memory," Journal of Advances in Information Technology, vol. 14, no. 3, pp. 399-410, 2023. https://doi.org/10.12720/jait.14.3.399-410

Copyright & License

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions