SHARE
TWEET

Untitled

Lyric42 Dec 3rd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. File Edit Options Buffers Tools Help                                          
  2. ALPHABET = [A-Za-z] ä ü ö \^ \# <adj> <pos> <comp> <sup> <m> <f> <n> <nom> <ge\
  3. n> <dat> <acc> <U>
  4.  
  5.  
  6. $Root$ = müde | stark<U> | weit | schwierig | klein | kompliziert
  7.  
  8. % Lexical Mapping
  9.  
  10. $POS$ = <adj>:<>
  11.  
  12. $Mode$ = \
  13.   {<pos>}:{} |\
  14.   {<comp>}:{\^er} |\
  15.   {<sup>}:{\^st}
  16.  
  17. $KasGen$ = <>:\^ (\
  18.   {<nom><m>}:{er} |\
  19.   {<acc><m>}:{en} |\
  20.   {<dat><m>}:{em} |\
  21.   {<gen><m>}:{en} |\
  22.   {<nom><f>}:{e} |\
  23.   {<acc><f>}:{e} |\
  24.   {<dat><f>}:{er} |\
  25.   {<gen><f>}:{er} |\
  26.   {<nom><n>}:{es} |\
  27.   {<acc><n>}:{es} |\
  28.   {<dat><n>}:{em} |\
  29.   {<gen><n>}:{en})
  30.  
  31. $Lexical$ = $Root$ $POS$ $Mode$ $KasGen$ <>:\#
  32.  
  33. $del-ee$ = e:<> ^-> (__\^e)
  34.  
  35. $add-e$ = {st}:{est} ^-> (s|t)\^ __ (\^|\#)
  36.  
  37. $umlaut$ =  [aou]:[äöü] ^-> __ .* <U> \^
  38.  
  39. % Surface Mapping
  40.  
  41. $Surface$ = [\^\#<U>]:<> ^-> .*__.*
  42.  
  43.  
  44.  
  45.   $Lexical$ || $del-ee$ || $add-e$ || $umlaut$ || $Surface$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top