Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Improving Computational Efficiency and Accuracy of Damerau-Levenshtein Distance for Indonesian Spelling Correction using Cosine Similarity

View through CrossRef
Spelling correction is an automatic correction feature useful in detecting spelling errors and providing word suggestions if necessary. Spelling correction is one of the crucial preprocessing phases in text mining. The Damerau-Levenshtein Distance method is one of the spelling correction methods that has high accuracy. This method has four types of operations: insertion, deletion, substitution, and transposition. The basic approach in detecting spelling errors in the Indonesian language is to use a dictionary search. Despite its accuracy, the Damerau-Levenshtein Distance method has a slow computation time. Furthermore, when the dictionary contains several suggested words that have the same distance from the target word, it will be difficult to prioritize the most appropriate suggestions. To overcome this problem, we introduce a caching mechanism to store previously calculated corrections, thereby speeding up the computation process. In addition, we use the cosine similarity method to rank words in Damerau-Levenshtein Distance results. The results of our approach have a significant improvement in accuracy, increasing from 72.13% to 83.60% by integrating caching and cosine similarity for ranking, which shows a significant improvement in both efficiency and effectiveness
Title: Improving Computational Efficiency and Accuracy of Damerau-Levenshtein Distance for Indonesian Spelling Correction using Cosine Similarity
Description:
Spelling correction is an automatic correction feature useful in detecting spelling errors and providing word suggestions if necessary.
Spelling correction is one of the crucial preprocessing phases in text mining.
The Damerau-Levenshtein Distance method is one of the spelling correction methods that has high accuracy.
This method has four types of operations: insertion, deletion, substitution, and transposition.
The basic approach in detecting spelling errors in the Indonesian language is to use a dictionary search.
Despite its accuracy, the Damerau-Levenshtein Distance method has a slow computation time.
Furthermore, when the dictionary contains several suggested words that have the same distance from the target word, it will be difficult to prioritize the most appropriate suggestions.
To overcome this problem, we introduce a caching mechanism to store previously calculated corrections, thereby speeding up the computation process.
In addition, we use the cosine similarity method to rank words in Damerau-Levenshtein Distance results.
The results of our approach have a significant improvement in accuracy, increasing from 72.
13% to 83.
60% by integrating caching and cosine similarity for ranking, which shows a significant improvement in both efficiency and effectiveness.

Related Results

PENDETEKSIAN KESALAHAN KETIK DENGAN DAMERAU-LEVENSHTEIN DISTANCE DAN TRIE
PENDETEKSIAN KESALAHAN KETIK DENGAN DAMERAU-LEVENSHTEIN DISTANCE DAN TRIE
Typographical errors are commonly found in text. Many applications implement a spell checking feature to detect and correct typographical errors. Spell checking requires an algorit...
News event
News event
When analyzing news media data with automated content analysis techniques, studies often aggregate their measures at the article level (Nicholls & Bright, 2019). However, many ...
Serial Computations of Levenshtein Distances
Serial Computations of Levenshtein Distances
In the previous chapters, we discussed problems involving an exact match of string patterns. We now turn to problems involving similar but not necessarily exact pattern matches. Th...
Improved Cosine Similarity Measures for q-Rung Orthopair Fuzzy Sets
Improved Cosine Similarity Measures for q-Rung Orthopair Fuzzy Sets
In this paper, we introduce some novel cosine similarity measures for \(q\)-rung orthopair fuzzy sets (\(q\)-ROFSs), which capture both direction and magnitude aspects of fuzzy set...
Exploring Tamil–Korean linguistic parallels: A computational and historical analysis of possible Pre-Hangul contact
Exploring Tamil–Korean linguistic parallels: A computational and historical analysis of possible Pre-Hangul contact
This study investigates potential linguistic parallels between the Dravidian language Tamil and the Koreanic language Korean, evaluating whether observed similarities may reflect t...
Improved cosine similarity measures for q-Rung orthopair fuzzy sets
Improved cosine similarity measures for q-Rung orthopair fuzzy sets
In this short correspondence, we introduce some novel cosine similarity measures tailored for \(q\)-rung orthopair fuzzy sets (\(q\)-ROFSs), which capture both the direction and ma...
The contributions of reading and phonological awareness for spelling in grade three isiXhosa learners
The contributions of reading and phonological awareness for spelling in grade three isiXhosa learners
One factor, which is consistently highlighted in research on literacy, is the lack of understanding of how literacy develops in the Southern-Bantu languages. In particular, little ...
The Development of Spelling Ability in Emerging Literates: An Investigation of Different Models
The Development of Spelling Ability in Emerging Literates: An Investigation of Different Models
Purpose – The aim of this paper is to analyse the existing models of spelling development. Researchers who have observed children’s writing have not been able to reach a consensus ...

Back to Top