mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe
This commit is contained in:
15
examples/animals/QuestionsI.gfe
Normal file
15
examples/animals/QuestionsI.gfe
Normal 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" ;
|
||||
Answer woman_N love_V2 man_N = %ex Utt "the woman loves men" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user