summaryrefslogtreecommitdiff
path: root/tests/onlyincompound2.aff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/onlyincompound2.aff')
-rw-r--r--tests/onlyincompound2.aff12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/onlyincompound2.aff b/tests/onlyincompound2.aff
new file mode 100644
index 0000000..5d0ac5e
--- /dev/null
+++ b/tests/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