From 59052fd1b6e5b6ed76494aaf5ca8d6597a85d952 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 17 Oct 2007 19:08:09 +0000 Subject: added coordination to tutorial grammar example. --- examples/tutorial/syntax/Grammar.gf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples/tutorial/syntax/Grammar.gf') diff --git a/examples/tutorial/syntax/Grammar.gf b/examples/tutorial/syntax/Grammar.gf index 7dd06f6df..5484321ee 100644 --- a/examples/tutorial/syntax/Grammar.gf +++ b/examples/tutorial/syntax/Grammar.gf @@ -19,6 +19,7 @@ abstract Grammar = { V ; -- intransitive verb e.g. "boil" V2 ; -- two-place verb e.g. "eat" Pol ; -- polarity (pos or neg) + Conj ; -- conjunction e.g. "and" fun PhrS : S -> Phr ; @@ -41,6 +42,9 @@ abstract Grammar = { IDetCN : IDet -> CN -> IP ; + ConjS : Conj -> S -> S -> S ; + ConjNP : Conj -> NP -> NP -> NP ; + -- lexical insertion UseN : N -> CN ; @@ -64,6 +68,7 @@ abstract Grammar = { very_AdA : AdA ; + and_Conj : Conj ; -- polarities PPos, PNeg : Pol ; -- cgit v1.2.3