hunspell-spellchecker
hunspell-spellchecker copied to clipboard
Compound rules don't handle cases like "Hochwasser" in dictionary-de
The dictionary-de is generated from igerman98, using the generated hunspell/de_DE.{dic,aff}. In those, "Hochwasser" (flooding, literally high water) is handled as compound of "Hoch" und "Wasser". This can be tested by calling hunspell on the dic/aff files manually and verifying that it doesn't parse Hochwasser as an error. However, hunspell-spellchecker thinks "Hochwasser" is an error.
Repro:
repro.dic:
2
Hoch/X
wasser/Z
repro.aff:
COMPOUNDBEGIN A
COMPOUNDEND Z
COMPOUNDPERMITFLAG C
SFX X Y 1
SFX X 0 0/AC .