mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
refreshing gfe example
This commit is contained in:
17
examples/animal/QuestionsI.gfe
Normal file
17
examples/animal/QuestionsI.gfe
Normal file
@@ -0,0 +1,17 @@
|
||||
--# -resource=../../lib/resource-1.0/english/LangEng.gf
|
||||
|
||||
-- to compile: gf -examples QuestionsI.gfe
|
||||
-- or use directly gf <mkAnimals.gfs
|
||||
|
||||
incomplete concrete QuestionsI of Questions = open Lang in {
|
||||
lincat
|
||||
Phrase = Phr ;
|
||||
Entity = N ;
|
||||
Action = V2 ;
|
||||
|
||||
lin
|
||||
Who love_V2 man_N = in Phr "who loves men" ;
|
||||
Whom man_N love_V2 = in Phr "whom does the man love" ;
|
||||
Answer woman_N love_V2 man_N = in Phr "the woman loves men" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user