• + 0 comments

    I guess you're using Levenshtein Distance (LD) to compare the word-to-be-corrected with (correct) words in a dictionary. Do you scan the dictionary linearly ( O(n) ), or using some kind of sorting ( O(log(n)) ) or hashing ( O(k) )?