From 2657c51e040964d9704f5c69945685ebd546eb6a Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 4 Mar 2006 22:14:33 +0000 Subject: example based also with treebank, with real term parser --- examples/animal/QuestionsI.gf | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'examples') diff --git a/examples/animal/QuestionsI.gf b/examples/animal/QuestionsI.gf index e79b2e0c2..bc8451681 100644 --- a/examples/animal/QuestionsI.gf +++ b/examples/animal/QuestionsI.gf @@ -1,23 +1,17 @@ -- File generated by GF from QuestionsI.gfe ---# -resource=../../lib/resource-1.0/english/LangEng.gf ---# -path=.:present:prelude - --- to compile: gf -examples QuestionsI.gfe --- or use directly gf \love_V2 -> \man_N -> % Lang.PhrUtt % Lang.NoPConj (% Lang.UttS (% Lang.UseCl % Lang.TPres % Lang.ASimul % Lang.PPos (% Lang.PredVP (% Lang.DetCN (% Lang.DetSg (% Lang.SgQuant % Lang.DefArt)% Lang.NoOrd)(% Lang.UseN % Lang.woman_N)) (% Lang.ComplV2 % Lang.love_V2 (% Lang.DetCN (% Lang.DetPl (% Lang.PlQuant % Lang.IndefArt)% Lang.NoNum % Lang.NoOrd)(% Lang.UseN % Lang.man_N)))))) % Lang.NoVoc ; + lincat Entity = N ; + lincat Phrase = Phr ; + lin Who = \love_V2 -> \man_N -> in Phr "who lovs men" ; + lin Whom = \man_N -> \love_V2 -> % Lang.PhrUtt % Lang.NoPConj (% Lang.UttQS (% Lang.UseQCl % Lang.TPres % Lang.ASimul % Lang.PPos (% Lang.QuestSlash % Lang.whoPl_IP (% Lang.SlashV2 (% Lang.DetCN (% Lang.DetSg (% Lang.SgQuant % Lang.DefArt)% Lang.NoOrd)(% Lang.UseN % Lang.man_N)) % Lang.love_V2)))) % Lang.NoVoc ; + } +{- +NO PARSE Who +who lovs men +unknown words: lovs +AMBIGUOUS Whom +whom does the man love +PhrUtt NoPConj (UttQS (UseQCl TPres ASimul PPos (QuestSlash whoSg_IP (SlashV2 (DetCN (DetSg (SgQuant DefArt) NoOrd) (UseN man_N)) love_V2)))) NoVoc +-} -- cgit v1.2.3