3 ms·
This is really cool and I'm wondering if you could improve the ability of this by adding a markov chain/tree structure of most word usage patterns and doing con
by gravypod 10y ago
This is really cool and I'm wondering if you could improve the ability of this by adding a markov chain/tree structure of most word usage patterns and doing contextual searching for your word. You wouldn't need your wordlist and your could compress and package this.
The way this would work is by looking at the previous word, and the next word is available. It would find every word combination that looks like that and then do a Levenshtein distance for all of the words that come between these two items.
Is this the way "big" spelling correction methods work or is it by other means?
- jomamaxx 10y agoYes, using language models is how it's done. Theoretically, it's not that hard, in practice, it's really hard. There is an online language modelling course from Stanford that you should check out if you want to take a stab.