1
0
forked from GitHub/gf-rgl

add PassAgentVPSlash to May

This commit is contained in:
Meowyam
2023-03-21 16:27:05 +08:00
parent 9c96fc6653
commit 69356d8c9b
7 changed files with 48 additions and 14 deletions
+14
View File
@@ -8,6 +8,7 @@ concrete ExtendMay of Extend = CatMay
, ListVPI -- infinitive VP's (TODO: with anteriority and polarity)
, MkVPS
, PredVPS, RelVPS, QuestVPS, SQuestVPS
, PassVPSlash, PassAgentVPSlash
-- excluded because RGL funs needed for them not implemented yet
, PredAPVP
@@ -78,6 +79,7 @@ concrete ExtendMay of Extend = CatMay
PastPartAP vp = {
s = linVP vp
} ;
-- GenModNP : Num -> NP -> CN -> NP ; -- this man's car(s)
GenModNP n np cn = variants {};
@@ -98,6 +100,18 @@ concrete ExtendMay of Extend = CatMay
GerundAdv vp = ss (linVP vp) ;
-- PassVPSlash : VPS -> VP ;
-- be forced to sleep
PassVPSlash vps = vps ** {
s = \\vf,pol => vps.s ! Passive ! pol ;
};
-- PassAgentVPSlash : VPSlash -> NP -> VP ; -- be begged by her to go
PassAgentVPSlash vps np = {
s = \\vf,pol => vps.s ! Passive ! pol ++ (applyPrep by8agent_Prep np) ;
};
-- MkVPS2 : Temp -> Pol -> VPSlash -> VPS2 ; -- has loved
-- ConjVPS2 : Conj -> [VPS2] -> VPS2 ; -- has loved and now hates
-- ComplVPS2 : VPS2 -> NP -> VPS ; -- has loved and now hates that person