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/Animals.gf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/animals/Animals.gf (limited to 'examples/animals/Animals.gf') diff --git a/examples/animals/Animals.gf b/examples/animals/Animals.gf new file mode 100644 index 000000000..33b56e740 --- /dev/null +++ b/examples/animals/Animals.gf @@ -0,0 +1,12 @@ +-- The Question grammar specialized to animals. + +abstract Animals = Questions ** { + + flags startcat=Phrase ; + + fun + -- a lexicon of animals and actions among them + Dog, Cat, Mouse, Lion, Zebra : Entity ; + Chase, Eat, See : Action ; +} + -- cgit v1.2.3