From 3a97c0944c36299a5bb14e72893b8d8ac33f833e Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 5 Jun 2005 08:11:00 +0000 Subject: [PATCH] improved parsing of gfe --- resource/doc/example/QuestionsI.gf | 9 ++++++--- resource/doc/example/QuestionsI.gfe | 7 ++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/resource/doc/example/QuestionsI.gf b/resource/doc/example/QuestionsI.gf index 0e09af13f..636f742c1 100644 --- a/resource/doc/example/QuestionsI.gf +++ b/resource/doc/example/QuestionsI.gf @@ -8,8 +8,11 @@ incomplete concrete QuestionsI of Questions = open Resource in { Entity = N ; Action = V2 ; - lin Who love_V2 man_N = QuestPhrase (UseQCl (PosTP TPresent ASimul) (QPredV2 who8one_IP love_V2 (IndefNumNP NoNum (UseN man_N)))) ; - lin Whom man_N love_V2 = QuestPhrase (UseQCl (PosTP TPresent ASimul) (IntSlash who8many_IP (SlashV2 (DefOneNP (UseN man_N)) love_V2))) ; -- AMBIGUOUS - lin Answer woman_N love_V2 man_N = IndicPhrase (UseCl (PosTP TPresent ASimul) (SPredV2 (DefOneNP (UseN woman_N)) love_V2 (IndefNumNP NoNum (UseN man_N)))) ; + lin + Who love_V2 man_N = QuestPhrase (UseQCl (PosTP TPresent ASimul) (QPredV2 who8one_IP love_V2 (IndefNumNP NoNum (UseN man_N)))) ; + Whom man_N love_V2 = QuestPhrase (UseQCl (PosTP TPresent ASimul) (IntSlash who8many_IP (SlashV2 (DefOneNP (UseN man_N)) love_V2))) ; -- AMBIGUOUS: +-- QuestPhrase (UseQCl (PosTP TPresent ASimul) (IntSlash who8one_IP (SlashV2 (DefOneNP (UseN man_N)) love_V2))) ; + + Answer woman_N love_V2 man_N = IndicPhrase (UseCl (PosTP TPresent ASimul) (SPredV2 (DefOneNP (UseN woman_N)) love_V2 (IndefNumNP NoNum (UseN man_N)))) ; } diff --git a/resource/doc/example/QuestionsI.gfe b/resource/doc/example/QuestionsI.gfe index 71110475b..89337dc58 100644 --- a/resource/doc/example/QuestionsI.gfe +++ b/resource/doc/example/QuestionsI.gfe @@ -8,8 +8,9 @@ incomplete concrete QuestionsI of Questions = open Resource in { Entity = N ; Action = V2 ; - lin Who love_V2 man_N = in Phr "who loves men ?" ; - lin Whom man_N love_V2 = in Phr "whom does the man love ?" ; - lin Answer woman_N love_V2 man_N = in Phr "the woman loves men ." ; + 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 ." ; }