1# German compounding
2
3# handle special casing of German sharp s
4
5CHECKSHARPS
6
7# compound flags
8
9COMPOUNDBEGIN U
10COMPOUNDMIDDLE V
11COMPOUNDEND W
12
13# Prefixes are allowed at the beginning of compounds,
14# suffixes are allowed at the end of compounds by default:
15# (prefix)?(root)+(affix)?
16# Affixes with COMPOUNDPERMITFLAG may be inside of compounds.
17COMPOUNDPERMITFLAG P
18
19# for German fogemorphemes (Fuge-element)
20# Hint: ONLYINCOMPOUND is not required everywhere, but the
21# checking will be a little faster with it.
22
23ONLYINCOMPOUND X
24
25# for decapitalizing nouns with fogemorphemes
26
27CIRCUMFIX Y
28
29# for handling Fuge-elements with dashes (Arbeits-)
30# dash will be a special word
31
32COMPOUNDMIN 1
33WORDCHARS -
34
35# compound settings and fogemorpheme for `Arbeit'
36
37SFX A Y 3
38SFX A 0 s/UPX .
39SFX A 0 s/VPXDY .
40SFX A 0 0/WXDY .
41
42# compound settings for `Computer'
43
44SFX B Y 2
45SFX B 0 0/UPX .
46SFX B 0 0/VWPXDY .
47
48# a suffix for `Computer'
49
50SFX C Y 2
51SFX C 0 n .
52SFX C 0 n/WXDY .
53
54# for forbid exceptions (*Arbeitsnehmer)
55
56FORBIDDENWORD Z
57
58# dash prefix for compounds with dash (Arbeits-Computer)
59
60PFX - Y 2
61PFX - 0 -/PUVW .
62PFX - 0 -/PY .
63
64# decapitalizing prefix
65# circumfix for positioning in compounds
66
67PFX D Y 29
68PFX D A a/PXY A
69PFX D � �/PXY �
70PFX D B b/PXY B
71PFX D C c/PXY C
72PFX D D d/PXY D
73PFX D E e/PXY E
74PFX D F f/PXY F
75PFX D G g/PXY G
76PFX D H h/PXY H
77PFX D I i/PXY I
78PFX D J j/PXY J
79PFX D K k/PXY K
80PFX D L l/PXY L
81PFX D M m/PXY M
82PFX D N n/PXY N
83PFX D O o/PXY O
84PFX D � �/PXY �
85PFX D P p/PXY P
86PFX D Q q/PXY Q
87PFX D R r/PXY R
88PFX D S s/PXY S
89PFX D T t/PXY T
90PFX D U u/PXY U
91PFX D � �/PXY �
92PFX D V v/PXY V
93PFX D W w/PXY W
94PFX D X x/PXY X
95PFX D Y y/PXY Y
96PFX D Z z/PXY Z
97