diff options
| author | aarne <aarne@chalmers.se> | 2010-12-06 10:49:38 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-12-06 10:49:38 +0000 |
| commit | 1f75143d6c8515bc459110d9512b903140f3882e (patch) | |
| tree | 7603e42fe2818c5c3a1128fbd077f195831cbcea /examples | |
| parent | 7fba8c338d04777c82a2d04c4bc82a4da0e86659 (diff) | |
printing option -api in the eb command
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/animals/QuestionsEng.gf | 2 | ||||
| -rw-r--r-- | examples/animals/QuestionsI.gf | 17 | ||||
| -rw-r--r-- | examples/animals/QuestionsI.gfe | 8 |
3 files changed, 13 insertions, 14 deletions
diff --git a/examples/animals/QuestionsEng.gf b/examples/animals/QuestionsEng.gf index 8a4c5c406..c8f51fb82 100644 --- a/examples/animals/QuestionsEng.gf +++ b/examples/animals/QuestionsEng.gf @@ -1,2 +1,2 @@ concrete QuestionsEng of Questions = QuestionsI with - (Lang = LangEng) ; + (Syntax = SyntaxEng) ; diff --git a/examples/animals/QuestionsI.gf b/examples/animals/QuestionsI.gf index ce0cb627a..eb7c2f697 100644 --- a/examples/animals/QuestionsI.gf +++ b/examples/animals/QuestionsI.gf @@ -1,7 +1,7 @@ --- to compile: echo "eb -file=QuestionsI.gfe" -probs=probs | gf $GF_LIB_PATH/present/LangEng.gfo +-- to compile: echo "eb -probs=probs -api -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo -- or use directly gf <mkAnimals.gfs -incomplete concrete QuestionsI of Questions = open Lang in { +incomplete concrete QuestionsI of Questions = open Syntax in { lincat Phrase = Utt ; Entity = N ; @@ -9,21 +9,20 @@ incomplete concrete QuestionsI of Questions = open Lang in { lin Who love_V2 man_N = ( ---- WARNING: ambiguous example who loves men -UttQS (UseQCl (TTAnt TPres ASimul) PPos (QuestVP whoSg_IP (ComplSlash (SlashV2a love_V2) (DetCN (DetQuant IndefArt NumPl) (UseN man_N))))) -- 2.122431752061382e-11 +mkUtt (mkQCl (mkQCl whoSg_IP (mkVP (mkVPSlash love_V2) (mkNP a_Art plNum man_N)))) -- 4.548068040131532e-11 ) ; Whom man_N love_V2 = ( --- WARNING: ambiguous example whom does the man love -UttQS (UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whoPl_IP (SlashVP (DetCN (DetQuant DefArt NumSg) (UseN man_N)) (SlashV2a love_V2)))) -- 1.3265198450383634e-11 - --- UttQS (UseQCl (TTAnt TPres ASimul) PPos (QuestSlash whoSg_IP (SlashVP (DetCN (DetQuant DefArt NumSg) (UseN man_N)) (SlashV2a love_V2)))) -- 1.3265198450383634e-11 +mkUtt (mkQCl (mkQCl whoPl_IP (mkClSlash (mkNP the_Art man_N) (mkVPSlash love_V2)))) -- 2.8425425250822075e-11 + --- mkUtt (mkQCl (mkQCl whoSg_IP (mkClSlash (mkNP the_Art man_N) (mkVPSlash love_V2)))) -- 2.8425425250822075e-11 ) ; Answer woman_N love_V2 man_N = ( --- WARNING: ambiguous example the woman loves men -UttS (UseCl (TTAnt TPres ASimul) PPos (PredVP (DetCN (DetQuant DefArt NumSg) (UseN woman_N)) (ComplSlash (SlashV2a love_V2) (DetCN (DetQuant IndefArt NumPl) (UseN man_N))))) -- 1.1637456560533483e-14 - --- UttNP (DetCN (DetQuant DefArt NumSg) (ApposCN (ApposCN (UseN woman_N) (DetCN (DetQuant IndefArt NumPl) (UseN love_N))) (DetCN (DetQuant IndefArt NumPl) (UseN man_N)))) -- 2.018579347059343e-20 - --- UttNP (DetCN (DetQuant DefArt NumSg) (ApposCN (UseN woman_N) (DetCN (DetQuant IndefArt NumPl) (ApposCN (UseN love_N) (DetCN (DetQuant IndefArt NumPl) (UseN man_N)))))) -- 2.018579347059343e-20 +mkUtt (mkCl (mkCl (mkNP the_Art woman_N) (mkVP (mkVPSlash love_V2) (mkNP a_Art plNum man_N)))) -- 3.273034657650043e-14 + --- mkUtt (mkNP the_Art (mkCN (mkCN (mkCN woman_N) (mkNP a_Art plNum love_N)) (mkNP a_Art plNum man_N))) -- 1.6623594622841657e-20 + --- mkUtt (mkNP the_Art (mkCN (mkCN woman_N) (mkNP a_Art plNum (mkCN (mkCN love_N) (mkNP a_Art plNum man_N))))) -- 1.6623594622841657e-20 ) ; diff --git a/examples/animals/QuestionsI.gfe b/examples/animals/QuestionsI.gfe index 4bd169600..7f847dfc7 100644 --- a/examples/animals/QuestionsI.gfe +++ b/examples/animals/QuestionsI.gfe @@ -1,7 +1,7 @@ --- to compile: echo "eb -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo +-- to compile: echo "eb -probs=probs -api -file=QuestionsI.gfe" | gf $GF_LIB_PATH/present/LangEng.gfo -- or use directly gf <mkAnimals.gfs -incomplete concrete QuestionsI of Questions = open Lang in { +incomplete concrete QuestionsI of Questions = open Syntax in { lincat Phrase = Utt ; Entity = N ; @@ -9,7 +9,7 @@ incomplete concrete QuestionsI of Questions = open Lang in { 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" ; + 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" ; } |
