forked from GitHub/gf-rgl
add PassAgentVPSlash to May
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user