germancompounding.aff 1.5 KB

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