I have created a very minimal dictionary/affix file to
illustrate a problem where homony support seems broken.
In my opinion a word flagged with "ONLYINCOMPOUND"
should only have this one applied for exactly that
dictionary entry. However it seems to act like the
forbidden flag sometimes for non compound words.
See this aff file:
SFX N Y 1
SFX N 0 n .
SFX S Y 1
SFX S 0 s .
SFX P Y 1
SFX P 0 en .
SFX Q Y 2
SFX Q 0 e .
SFX Q 0 en .
and this dictionary file:
I would expect weg and all affix expansions of the Q
Flag ("wege" and "wegen") to be allowed at the end of
compound words while "weg", "wegen" (from weg/P) and
"wege" are also correct stand alone words. Hunspell
# echo "weg wege wegen" | hunspell
& wegen 1 9: wege
Hmm... this is kind of inconsistent. Either
"wegen" should be incorrect if both "wege" and "weg"
are incorrect, too - or:
"weg", "wege" and "wegen" should be considered to be
correct (which is the behaviour I would prefer and expect).