diff options
| author | peb <unknown> | 2004-06-02 11:17:15 +0000 |
|---|---|---|
| committer | peb <unknown> | 2004-06-02 11:17:15 +0000 |
| commit | 7716f818869971da138cf706c124a6be73bbab62 (patch) | |
| tree | 4ec44ec8a042d15b48a4554ef8333e6395487689 /grammars/testConversions/SimpleEng.gf | |
| parent | 9b0a96859790a4d30bf2071a20a7e7d29dbd1131 (diff) | |
*** empty log message ***
Diffstat (limited to 'grammars/testConversions/SimpleEng.gf')
| -rw-r--r-- | grammars/testConversions/SimpleEng.gf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/grammars/testConversions/SimpleEng.gf b/grammars/testConversions/SimpleEng.gf index dce5fb999..20bed94ff 100644 --- a/grammars/testConversions/SimpleEng.gf +++ b/grammars/testConversions/SimpleEng.gf @@ -8,6 +8,8 @@ NP = {s : Str ; n : Num}; V = {s : Num => Str}; N = {s : Num => Str}; D = {s : Str ; n : Num}; +P = {s : Str}; +PP = {s : Str}; lin cyclic x = x; @@ -15,6 +17,8 @@ mkS x y = {s = x.s ++ y.s ! x.n}; mkVP x y = {s = table {n => x.s ! n ++ y.s}}; mkNP1 x y = {s = x.s ++ y.s ! x.n ; n = x.n}; mkNP2 x = {s = x.s ! Pl ; n = Pl}; +mkNP3 x y = {s = x.s ++ y.s; n = x.n}; +mkPP x y = {s = x.s ++ y.s}; robin = {s = "Robin" ; n = Sg}; dog = {s = table {Sg => "dog" ; Pl => "dogs"}}; @@ -23,6 +27,7 @@ love = {s = table {Sg => "loves" ; Pl => "love"}}; hate = {s = table {Sg => "hates" ; Pl => "hate"}}; one = {s = "one" ; n = Sg}; all = {s = "all" ; n = Pl}; +inside= {s = "in"}; } |
