The basic idea is that when i type a word that doesn't exist like: "someting" then I want an aggressive fix to the closest match in the dictionary.
Run each typed word through a dictionary of words and automatically fix it to the "closest" match.
To start out we can use a specific English dictionary.
Things out of scope for now:
- capitalization "Someting" can be fixed to "something"
- Only is triggers a new word. "someting " will be fixed, "someting." will not be fixed
- run through spell check to find most likely fix
I don't know how we determine if a word is "close" yet.
Ideally we'd take into account the closeness of letters. For example "telescipe" instead of "telescope" the iis right next to the o so it's the most likely typo.
We do not have to start this way.
The basic idea is that when i type a word that doesn't exist like: "someting" then I want an aggressive fix to the closest match in the dictionary.
Run each typed word through a dictionary of words and automatically fix it to the "closest" match.
To start out we can use a specific English dictionary.
Things out of scope for now:
I don't know how we determine if a word is "close" yet.
Ideally we'd take into account the closeness of letters. For example "telescipe" instead of "telescope" the
iis right next to theoso it's the most likely typo.We do not have to start this way.