codespell-project / codespell

check code for common misspellings
GNU General Public License v2.0
1.86k stars 471 forks source link

Add distriute->distribute (and variations) to dictionary.txt #3517

Closed corneliusroemer closed 1 week ago

corneliusroemer commented 4 weeks ago

Inspired by typo not fixed by codespell found here: https://github.com/AnswerDotAI/fasthtml/pull/276/files#diff-da54eb210d8f3cd7e1bfa155b3444b91cf3a2937bee50ac8f51094c9b297b805

corneliusroemer commented 3 weeks ago

We could also add distributor and all the typos for it

Some more words

Word Frequency (words per million) per ngram viewer
distribution 93.38
distributed 32.19
distributions 11.13
distribute 5.52
distributive 2.25
distributes 1.11
distributorship 0.46
distributable 0.16
distributively 0.029
corneliusroemer commented 3 weeks ago

A github bug prevents me from merging your suggestions, I agree with them all, save the disturbative, which might appear in dictionaries, but is in practice never used:

Google Chrome 2024-08-18 23 12 03

But I'm happy to remove, doesn't matter.

See bug:

image
DimitriPapadopoulos commented 3 weeks ago

Yes, I'm aware of the GitHub bug on large files, after a very precise size in bytes. I had reported this bug, but it hasn't been fixed so far. Merge requests on such large text files is a niche.

corneliusroemer commented 3 weeks ago

Interesting, thanks! Do you have a link to the issue or is it a private ticket?

DimitriPapadopoulos commented 3 weeks ago

GitHub bugs are were not reported using GitHub issues :smile: So it's a private bug report.

corneliusroemer commented 3 weeks ago

I know one can't make an issue, but one can make a GitHub discussion so that one doesn't need to report the same thing that others have already done.

See https://github.com/orgs/community/discussions/136302

(I also reported privately)

DimitriPapadopoulos commented 3 weeks ago

I just noticed that nowadays https://support.github.com/contact/feedback actually forwards to https://github.com/orgs/community/discussions. Raising this issue again, in a public discussion, might be a good idea.

DimitriPapadopoulos commented 3 weeks ago

See https://github.com/codespell-project/codespell/issues/3017#issuecomment-1675068489 for details on this bug.

DimitriPapadopoulos commented 1 week ago

Thank you @corneliusroemer.