languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.27k stars 1.38k forks source link

check words with numbers #3130

Open danielnaber opened 4 years ago

danielnaber commented 4 years ago

User feedback:

Could you please begin to check words with numbers in them? At least give us the option to select the word without the number. I very often hit the number above the key I'm typing, such as 3 with e, 4 with r, 5/6 with t, 7 with y, 8 with i, 9 with o.

(at least German and English are affected, have not tested others)

MikeUnwalla commented 4 years ago

such as 3 with e, 4 with r, 5/6 with t, 7 with y, 8 with i, 9 with o.

The incorrect keys are dependent on the keyboard layout. (Admittedly, a standard English layout, but are all keyboard layouts the same in all languages? A person can use a French keyboard to type English text.)

Possible quick win. Make a rule that says "this word contains a digit. Make sure that the word is correct."

tiff commented 4 years ago

@danielnaber @MikeUnwalla we should be careful. This will cause IMO more false alarms than it helps. There are so many product and brand names that contain a combination of letter and digit. (Airbus A380, BMW M3, DinA4, ...)

MikeUnwalla commented 4 years ago

@tiff , I agree that we should be careful.

We could make a rule for lower-case letters only. I think that very few organizations use lower-case+digit as a name.

Also, we could make a rule that we use for development only to find company names that contain upper-case letters and digits and that are not tagged as proper nouns.

Tokay2020 commented 4 years ago

Checking words with numbers will cause plenty of false positives. Everyone uses l33t once in a while.

T00 m4n`/ f4ls3 p0s1t1v3s.

danielnaber commented 4 years ago

Examples from the user:

Dani3el i8nclude 9own o9wn