-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"ret", "prev" and "goes" are "fixed" when using en-us #592
Comments
varcon is an interesting thing
I'm not finding an
I'm having a hard time finding these british words
Again, not finding anything. |
In particular, This also makes me wonder how many more of these we have. Ideally, we'd have a list of universal words and force the variations support to not correct one of those words. Unsure how to fully get that ideal, so we might just have to play whack-a-mole. |
Few other strange cases:
(the |
I just ran across this project and was intrigued by the white-list approach mentioned in the readme of known-good substitutions, not just dictionary guesses. I ran it on a project (Lua) and was absolutely bombarded by false positives. Looking through the diffs I can see a few geed catches, but the miss rate is something like 95%, making it utterly unusable. I was surprised the results were so bad and decided to check out the issue tracker, which lands me here. Some of the most common misses are mentioned here (prepend→perpend, ret→ert, prev→perv, etc.). If this project is supposed to operate on code then I can't understand why these sorts of things are white-listed. Programmers are probably orders of magnitudes more likely to use "prev" to mean "previous" than "pervert",and so forth. How did these get listed at all? |
This issue is specifically for when people opt-in to a feature, like setting The reason why it made it in is that we are leveraging varcon, like other dictionaries, as best as I understand it. As for why a lot of these went unnoticed for so long is that his is an op-tin feature and one that doesn't seem to be used all that much based on the number of concerns raised here (I also don't use it) An easy workaround is to use the default behavior, rather than enable this feature. |
Main problem with the workaround of "do not enable this" is that the feature is otherwise very useful, especially for people whose native languages are different from US English – it's very easy to introduce a variant spelling by mistake. |
Seems like this has been fixed (probably by #1086) 🎉 |
#1087 verified they are addressed |
Running
typos
(v1.12.8, binary from GitHub release) withtypos.toml
containing:causes some interesting suggestions:
The text was updated successfully, but these errors were encountered: