diff options
| author | peb <unknown> | 2004-06-15 18:24:17 +0000 |
|---|---|---|
| committer | peb <unknown> | 2004-06-15 18:24:17 +0000 |
| commit | aa9f1ee7a3474b1c66ea778f1dd267b78291d989 (patch) | |
| tree | d6d0dbd73f8afe86c2db7841bfc5d96952d54ab0 /grammars/testConversions/SimpleSwe.gf | |
| parent | 3fb91e0f448aa4be317a112fdc95673fb99fa6f6 (diff) | |
*** empty log message ***
Diffstat (limited to 'grammars/testConversions/SimpleSwe.gf')
| -rw-r--r-- | grammars/testConversions/SimpleSwe.gf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/grammars/testConversions/SimpleSwe.gf b/grammars/testConversions/SimpleSwe.gf index 36ca77ee0..eb02681c5 100644 --- a/grammars/testConversions/SimpleSwe.gf +++ b/grammars/testConversions/SimpleSwe.gf @@ -8,6 +8,8 @@ NP = {s : Str}; V = {s : Str}; N = {s : Num => Str ; g : Gen}; D = {s : Gen => Str ; n : Num}; +PP = {s : Str}; +P = {s : Str}; lin cyclic x = x; @@ -15,14 +17,18 @@ mkS x y = {s = x.s ++ y.s}; mkVP x y = {s = x.s ++ y.s}; mkNP1 x y = {s = x.s ! y.g ++ y.s ! x.n}; mkNP2 x = {s = x.s ! Pl}; +mkNP3 x y = {s = x.s ++ y.s}; +mkPP x y = {s = y.s ++ x.s}; robin = {s = "Robin"}; dog = {s = table {Sg => "hund" ; Pl => "hundar"} ; g = Utr}; child = {s = table {_ => "barn"} ; g = Neu}; love = {s = "älskar"}; -hate = {s = "hatar"}; -one = {s = table {Utr => "en" ; Neu => "ett"} ; n = Sg}; +hate = {s = variants{"hatar"; "avskyr"}}; +one = {s = variants{table {Utr => "en" ; Neu => "ett"}; + table {Utr => "någon" ; Neu => "något"}} ; n = Sg}; all = {s = table {_ => "alla"} ; n = Pl}; +inside = {s = variants{"i"; "inuti"}}; } |
