languagetool-org / languagetool

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

[en] AmE, spelling loop for decafarad > dekafarad #10735

Open MikeUnwalla opened 1 month ago

MikeUnwalla commented 1 month ago

image

I will make a pull request for the missing postags for the deca~ terms for units of measurement. The SI units of measurement and their prefixes are in SI-Brochure-9-EN.pdf, available on https://www.bipm.org/en/publications/si-brochure. Possibly, the problem will go away.

MikeUnwalla commented 1 month ago

I closed LT and when I started it again, strange but true... Look, we have postags and no spelling contradiction: image

@languagetool-org/developers, please close this issue (I cannot).

MikeUnwalla commented 1 month ago

Sorry. This issue is my stupidity. The first screen shot is from the LanguageTool-6.5-SNAPSHOT.zip for the new English dictionaries from @jaumeortola.

Juame, the spelling for the deca~ terms for AmE is possibly too restrictive. The SI brochure gives the prefix as deca~. Another part of the brochure says that small spelling variants for terms are permitted (example liter/litre). Webster tells me that for AmE, deca~ and deka~ are variants (https://www.merriam-webster.com/dictionary/deca-). Thus, possibly, deca~ is correct AmE, and it is a style choice whether to use deca~ or deka~. @AzadehSafakish, do you have a definitive answer?

AzadehSafakish commented 1 month ago

Thus, possibly, deca~ is correct AmE, and it is a style choice whether to use deca~ or deka~. @AzadehSafakish, do you have a definitive answer?

A quick Google ngram lookup tells me they're used at roughly the same rate in AmE.

It seems the new dictionaries are missing some units of measurement; I've added the missing deca- measurements here.