From fd917d04eaa3b3295af55d598d735a407a0f2f41 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 16 Dec 2005 20:25:52 +0000 Subject: tutorial elaboration --- doc/tutorial/paleolithic.cf | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) (limited to 'doc/tutorial/paleolithic.cf') diff --git a/doc/tutorial/paleolithic.cf b/doc/tutorial/paleolithic.cf index 08496c800..97da4447f 100644 --- a/doc/tutorial/paleolithic.cf +++ b/doc/tutorial/paleolithic.cf @@ -1,23 +1,8 @@ -PredVP. S ::= NP VP ; -UseV. VP ::= V ; -ComplTV. VP ::= TV NP ; -UseA. VP ::= "is" A ; -This. NP ::= "this" CN ; -That. NP ::= "that" CN ; -Def. NP ::= "the" CN ; -Indef. NP ::= "a" CN ; -ModA. CN ::= A CN ; -Boy. CN ::= "boy" ; -Louse. CN ::= "louse" ; -Snake. CN ::= "snake" ; -Worm. CN ::= "worm" ; -Green. A ::= "green" ; -Rotten. A ::= "rotten" ; -Thick. A ::= "thick" ; -Warm. A ::= "warm" ; -Laugh. V ::= "laughs" ; -Sleep. V ::= "sleeps" ; -Swim. V ::= "swims" ; -Eat. TV ::= "eats" ; -Kill. TV ::= "kills" -Wash. TV ::= "washes" ; +S ::= NP VP ; +VP ::= V | TV NP | "is" A ; +NP ::= "this" CN | "that" CN | "the" CN | "a" CN ; +CN ::= A CN ; +CN ::= "boy" | "louse" | "snake" | "worm" ; +A ::= "green" | "rotten" | "thick" | "warm" ; +V ::= "laughs" | "sleeps" | "swims" ; +TV ::= "eats" | "kills" | "washes" ; -- cgit v1.2.3