From 750a2639b0f46153c36f6c713f522db5bb2d8587 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 27 Jan 2010 17:51:15 +0000 Subject: command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe --- examples/animals/Questions.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/animals/Questions.gf (limited to 'examples/animals/Questions.gf') diff --git a/examples/animals/Questions.gf b/examples/animals/Questions.gf new file mode 100644 index 000000000..bb25e785d --- /dev/null +++ b/examples/animals/Questions.gf @@ -0,0 +1,10 @@ +-- Simple questions and answers, in present tense. + +abstract Questions = { + cat + Phrase ; Entity ; Action ; + fun + Who : Action -> Entity -> Phrase ; -- who chases X + Whom : Entity -> Action -> Phrase ; -- whom does X chase + Answer : Entity -> Action -> Entity -> Phrase ; -- X chases Y +} -- cgit v1.2.3