diff options
Diffstat (limited to 'extensions/spellcheck/hunspell/tests/unit/data/onlyincompound2.aff')
-rw-r--r-- | extensions/spellcheck/hunspell/tests/unit/data/onlyincompound2.aff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/spellcheck/hunspell/tests/unit/data/onlyincompound2.aff b/extensions/spellcheck/hunspell/tests/unit/data/onlyincompound2.aff new file mode 100644 index 0000000000..5d0ac5e69b --- /dev/null +++ b/extensions/spellcheck/hunspell/tests/unit/data/onlyincompound2.aff @@ -0,0 +1,12 @@ +# affixes only in compounds (see also fogemorpheme example) +ONLYINCOMPOUND O +COMPOUNDFLAG A +COMPOUNDPERMITFLAG P + +SFX B Y 1 +SFX B 0 s/OP . + +# obligate fogemorpheme by forbidding the stem (0) in compounds + +CHECKCOMPOUNDPATTERN 1 +CHECKCOMPOUNDPATTERN 0/B /A |