From 7716f818869971da138cf706c124a6be73bbab62 Mon Sep 17 00:00:00 2001 From: peb Date: Wed, 2 Jun 2004 11:17:15 +0000 Subject: *** empty log message *** --- grammars/testConversions/SimpleEng.gf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'grammars/testConversions/SimpleEng.gf') 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"}; } -- cgit v1.2.3