mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Added QuestIAdv_NP.
This commit is contained in:
@@ -10,6 +10,7 @@ Who gives water to the children?
|
|||||||
Who is hungry?
|
Who is hungry?
|
||||||
Where do you sleep?
|
Where do you sleep?
|
||||||
Where do you see the landmine?
|
Where do you see the landmine?
|
||||||
|
Where is the factory?
|
||||||
|
|
||||||
The doctor sleeps.
|
The doctor sleeps.
|
||||||
I see a small girl.
|
I see a small girl.
|
||||||
@@ -32,7 +33,6 @@ Give water to the boy!
|
|||||||
|
|
||||||
== Should work ==
|
== Should work ==
|
||||||
|
|
||||||
Where is the factory? (no QuestIAdv_NP)
|
|
||||||
Drink this water! (can't modify MassCN)
|
Drink this water! (can't modify MassCN)
|
||||||
Drink! (drink is V2)
|
Drink! (drink is V2)
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ abstract PeaceKeep = Cat, PeaceLex ** {
|
|||||||
QuestIP_A : A -> IP -> Quest ;
|
QuestIP_A : A -> IP -> Quest ;
|
||||||
QuestIAdv_V : V -> NP -> IAdv -> Quest ;
|
QuestIAdv_V : V -> NP -> IAdv -> Quest ;
|
||||||
QuestIAdv_V2 : V2 -> NP -> NP -> IAdv -> Quest ;
|
QuestIAdv_V2 : V2 -> NP -> NP -> IAdv -> Quest ;
|
||||||
-- QuestIAdv_NP : NP -> IAdv -> Quest ;
|
QuestIAdv_NP : NP -> IAdv -> Quest ;
|
||||||
|
|
||||||
SentV : V -> NP -> Sent ;
|
SentV : V -> NP -> Sent ;
|
||||||
SentV2 : V2 -> NP -> NP -> Sent ;
|
SentV2 : V2 -> NP -> NP -> Sent ;
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ incomplete concrete PeaceKeepI of PeaceKeep = open Lang in {
|
|||||||
QuestIP_V3Mass v ip x y = mkQuest (QuestVP ip (ComplV3 v (massNP x) y)) ;
|
QuestIP_V3Mass v ip x y = mkQuest (QuestVP ip (ComplV3 v (massNP x) y)) ;
|
||||||
QuestIP_A : A -> IP -> Phr ;
|
QuestIP_A : A -> IP -> Phr ;
|
||||||
QuestIP_A a ip = mkQuest (QuestVP ip (UseComp (CompAP (PositA a))));
|
QuestIP_A a ip = mkQuest (QuestVP ip (UseComp (CompAP (PositA a))));
|
||||||
|
QuestIAdv_NP x ia = mkQuest (QuestIComp (CompIAdv ia) x);
|
||||||
|
|
||||||
QuestIAdv_V v x ia = mkQuest (QuestIAdv ia (PredVP x (UseV v)));
|
QuestIAdv_V v x ia = mkQuest (QuestIAdv ia (PredVP x (UseV v)));
|
||||||
QuestIAdv_V2 v x y ia = mkQuest (QuestIAdv ia (PredVP x (ComplV2 v y)));
|
QuestIAdv_V2 v x y ia = mkQuest (QuestIAdv ia (PredVP x (ComplV2 v y)));
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ abstract PeaceLex = Cat ** {
|
|||||||
we_Pron : Pron ;
|
we_Pron : Pron ;
|
||||||
youPl_Pron : Pron ;
|
youPl_Pron : Pron ;
|
||||||
they_Pron : Pron ;
|
they_Pron : Pron ;
|
||||||
whoPl_IP : IP ; -- only one who in Swadesh 207
|
whoPl_IP : IP ;
|
||||||
whoSg_IP : IP ;
|
whoSg_IP : IP ;
|
||||||
whatPl_IP : IP ; -- only one what in Swadesh 207
|
whatPl_IP : IP ;
|
||||||
whatSg_IP : IP ;
|
whatSg_IP : IP ;
|
||||||
|
|
||||||
-- Determiners
|
-- Determiners
|
||||||
|
|||||||
Reference in New Issue
Block a user