languagetool
languagetool copied to clipboard
[en] replace.txt for British/American words
(Related to https://github.com/languagetool-org/languagetool/issues/10721)
There is a file that suggests replacements for American -> British words in the en-GB variant: https://github.com/languagetool-org/languagetool/blob/master/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/en-GB/replace.txt
automaker=carmaker
garbage=rubbish
But it works only partially. It works only for words that are allowed by the en-GB speller (garbage, but not automaker).
Possible solutions:
- Add the American words to the British spelling dictionary.
- Give higher priority to the rule
EN_GB_SIMPLE_REPLACE_
(prio=-50) so that it is not hidden byMORFOLOGIK_RULE_EN_GB
(prio=-10).
@MikeUnwalla @AzadehSafakish @evan-defran-lt