summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/app/App.gf13
-rw-r--r--examples/app/AppFunctor.gf1
-rw-r--r--examples/app/app.probs4
3 files changed, 12 insertions, 6 deletions
diff --git a/examples/app/App.gf b/examples/app/App.gf
index e2f871110..a2947361e 100644
--- a/examples/app/App.gf
+++ b/examples/app/App.gf
@@ -33,16 +33,17 @@ fun
--P PhrasePhr : Phrase -> Phr ;
--P Phrase_Chunk : Phrase -> Chunk ;
- ComplV2 : V2 -> NP -> VP ;
+ ComplV2 : V2 -> NP -> VP ; -- sees him
- ComplV2V : V2V -> NP -> VP -> VP ;
+ ComplV2V : V2V -> NP -> VP -> VP ; -- forces him to leave
-- ComplV2A : V2A -> NP -> AP -> VP ;
-- ComplV2Q : V2Q -> NP -> QS -> VP ;
-- ComplV2S : V2S -> NP -> S -> VP ;
- ComplV3 : V3 -> NP -> NP -> VP ;
+ ComplV3 : V3 -> NP -> NP -> VP ; -- gives him an apple
- PassV2 : V2 -> VP ;
- RelV2 : RP -> NP -> V2 -> RCl ;
- QuestV2 : IP -> NP -> V2 -> QCl ;
+ PassV2 : V2 -> VP ; -- is seen
+ PassAgentV2 : V2 -> NP -> VP ; -- is seen by her
+ RelV2 : RP -> NP -> V2 -> RCl ; -- that she sees
+ QuestV2 : IP -> NP -> V2 -> QCl ; -- whom does she see
}
diff --git a/examples/app/AppFunctor.gf b/examples/app/AppFunctor.gf
index b96bf1b1c..660f1ed57 100644
--- a/examples/app/AppFunctor.gf
+++ b/examples/app/AppFunctor.gf
@@ -39,6 +39,7 @@ lin
PassV2 v2 = passiveVP v2 ;
+ PassAgentV2 v2 np = mkVP (passiveVP v2) (mkAdv by8agent_Prep np) ;
RelV2 rp np v2 = mkRCl rp (mkClSlash np (mkVPSlash v2)) ;
QuestV2 ip np v2 = mkQCl ip (mkClSlash np (mkVPSlash v2)) ;
diff --git a/examples/app/app.probs b/examples/app/app.probs
index 782d4ccf7..d2bfd4cc4 100644
--- a/examples/app/app.probs
+++ b/examples/app/app.probs
@@ -137,6 +137,8 @@ PNeg 2.5737765781314283e-2
PPos 0.9738708997682096
PartNP 2.2315119237120458e-5
PassVPSlash 3.3577108909401965e-2
+PassV2 1.3577108909401965e-2
+PassAgentV2 1.3577108909401965e-2
PastPartAP 4.9589926522150066e-2
PastPartRS 6.46041856232939e-2
PositA 0.7892771121070764
@@ -160,6 +162,7 @@ QuestIAdv 0.15859030837004406
QuestIComp 3.0837004405286344e-2
QuestQVP 4.405286343612335e-3
QuestSlash 0.44493392070484583
+QuestV2 0.24493392070484583
QuestVP 0.15859030837004406
ReflA2 1.5244367206317265e-5
ReflVP 5.013379456424332e-5
@@ -168,6 +171,7 @@ RelCl 3.0088761847449976e-4
RelNP 2.006268907746579e-2
RelS 8.97964314898126e-6
RelSlash 8.048743794192868e-2
+RelV2 4.048743794192868e-2
RelVP 0.8299984955619076
SSubjS 1.0595978915797885e-3
SentAP 1.5244367206317265e-4