1
0
forked from GitHub/gf-core

example of example-based grammar writing

This commit is contained in:
aarne
2010-04-20 09:28:24 +00:00
parent 14a053a81b
commit 254e9e002c

15
examples/animals/Koe.gfe Normal file
View File

@@ -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 and chase" ;
Answer woman_N love_V2 man_N = %ex Utt "the woman loves and chases men" ;
}