-
Notifications
You must be signed in to change notification settings - Fork 472
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
Dictionary questions #1660
Comments
I'm open to more suggestions. But i would favor a "fix stuff 2.0" 😄 |
I think a meta-problem exists. #1660, #1469, #1468, #1275 Codespell wants to fix, enGB, enUS and coding slang. Thus, some merge requests cannot be accepted (f.e. #1485, #1626 ), since their words are not in in aspell. And the naming of dictionary_code.txt is contradicting to the naming of the other books. It is basically dictionary_don't_check_ code_with_this.txt. |
As well as |
The --help explains quite a bit. If it's not sufficient then we should be improving that first.
Same as sting->string, the chances of meaning one but typing the other. Or in other words it was somewhere for us to move existing corrections that were actually real words. As @sebweb3r mentioned, I've pondered if we should split rare further based on presence in some level of aspell dictionary or some other arbitrary decision (but something like aspell means it can be automated).
I wasn't personally aware of this, that might be an argument to remove it, or just for you to add it to the ignore list when using it.
I don't know, but I'd imagine they're from the Linux kernel or something. Adding a few more suggestions (with space of the original and the correction) would probable keep everyone happy.
We could turn off the aspell checking and accept them now, but then we're back to #1624 . To me personally, having clean and accurate replacements is more important than having the impossibly 100% coverage. Although as I've mentioned elsewhere I'd personally favour splitting some of these dictionaries for words that either aren't in aspell at all, or aren't in easy aspell dictionaries, as it would then mean there are only a handful of words we need to go over with a fine toothed comb when they're added to the dictionary as they aren't in aspell.
Which does it conflict with? names has names correcting to other words, rare has real words that are rare correcting to what the person is more likely to have typed.
Aren't they just missing a correction to the one with a space in as well? |
I'd probably agree actually, isconnection->isconnected should probably go looking at grep.app (or suggest disconnection). Whereas iscrated->iscreated appears to have some merit. |
I've not yet got my head around the way the multiple dictionaries work and/or fit together (some examples in README of what the different dictionaries are and how they're expected to be used would be helpful 😉 ), but...
crate->create
in dictionary_rare.txt ?crate
seems like a perfectly normal word to me (and is obviously used quite extensively in the Rust community).Maybe the latter should be added to #1624 @sebweb3r ?
The text was updated successfully, but these errors were encountered: