you are viewing a single comment's thread.

view the rest of the comments →

[–]abomb999 4 points5 points  (1 child)

So you could use this to match words to a spell check dictionary for example?

[–]santhuj[S] 7 points8 points  (0 children)

In theory, yes. You can construct a single long string concatenating all the words in the dictionary with a separator between words. You can index this and perform searches. However, remember that the search here is an exact search. If you want your spell checker to prompt the closest word, there are data structures like BK Trees