About 4 weeks ago, we made a change that lets LT check all-uppercase words in English. This, however, has a side effect of new false alarms. Words like these used to be ignored, now they are considered errors:
PHP
CSS
JSON
CET
CEST
I’ve added those to spelling.txt so they are accepted now, but adding words one by one doesn’t seem to be a clever solution here. What I could do is download lists of acronyms from the net, check them, and add them to spelling.txt. Does anybody have a better idea? Or does anybody know a list of acronyms that would be appropriate for this?
For a given number of letters, the number of possible uppercase acronyms is more than the number of dictionary words. (Some combinations of letters are not standard English, but an acronym does not have that restriction.)
If you add all known acronyms, the spell checker will be useless.
You added 5 acronyms, and I easily found these 3 false negatives:
THE CHILDREN WANT A PET. WE DECIDED TO GET A PHP.
TELL JSON ABOUT THE PROBLEM.
“CET REAL!” screamed Alice.
I do not have a solution to the problem. Can we put acronyms in a different file (acronyms.txt) and give users the option to ignore them?
Well, there have been reports from time to time from people who were wondering why their all-uppercase text wasn’t checked at all. That was the reason to make this change in the first place.
And I also find it a positive change. That is why I assisted with the acronym list, which further perfects this function.
The polemic is about false positives on upper cased texts, not before it. If acronyms can cause false negatives, so do rare words, and they are not treated differently.