summaryrefslogtreecommitdiff
path: root/examples/animals/QuestionsI.gfe
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-01-27 17:51:15 +0000
committeraarne <aarne@chalmers.se>2010-01-27 17:51:15 +0000
commit750a2639b0f46153c36f6c713f522db5bb2d8587 (patch)
treeeb021744f904a0e62b44d4012bea27368651faad /examples/animals/QuestionsI.gfe
parent890d45579300f39d50a5a18a9f6feed8634ae8ba (diff)
command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe
Diffstat (limited to 'examples/animals/QuestionsI.gfe')
-rw-r--r--examples/animals/QuestionsI.gfe15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/animals/QuestionsI.gfe b/examples/animals/QuestionsI.gfe
new file mode 100644
index 000000000..abb28742b
--- /dev/null
+++ b/examples/animals/QuestionsI.gfe
@@ -0,0 +1,15 @@
+-- to compile: echo "eb -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo
+-- or use directly gf <mkAnimals.gfs
+
+incomplete concrete QuestionsI of Questions = open Lang in {
+ lincat
+ Phrase = Utt ;
+ Entity = N ;
+ Action = V2 ;
+
+ lin
+ Who love_V2 man_N = %ex Utt "who loves men" ;
+ Whom man_N love_V2 = %ex Utt "whom does the man love" ;
+ Answer woman_N love_V2 man_N = %ex Utt "the woman loves men" ;
+
+}