mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-27 03:46:29 -06:00
add ListS and ComplVA
This commit is contained in:
+10
-1
@@ -251,6 +251,16 @@ oper
|
||||
} ;
|
||||
|
||||
copula : Verb = {s = \\_ => "ada"} ; -- TODO
|
||||
|
||||
-- insertObjc : (Agr => Str) -> SlashVP -> SlashVP = \obj,vp ->
|
||||
-- insertObj obj vp ** {c2 = vp.c2 ; gapInMiddle = vp.gapInMiddle ; missingAdv = vp.missingAdv } ;
|
||||
insertObj : Str -> VerbPhrase -> VerbPhrase = \str,vp -> vp ** {
|
||||
s = \\vf,pol => vp.s ! Active ! Pos ++ str ;
|
||||
} ;
|
||||
|
||||
insertComp : AdjPhrase -> VerbPhrase -> VerbPhrase = \ap,vp -> vp ** {
|
||||
s = \\vf,pol => vp.s ! Active ! Pos ++ ap.s ;
|
||||
} ;
|
||||
------------------
|
||||
-- Adv
|
||||
|
||||
@@ -328,7 +338,6 @@ oper
|
||||
predVPSlash : NounPhrase -> VPSlash -> ClSlash = \np,vps ->
|
||||
predVP np <vps : VerbPhrase> ** {c2 = vps.c2} ;
|
||||
|
||||
|
||||
-- mkClause : Str -> NounPhrase -> VPSlash -> Clause = \str,np,vp -> {
|
||||
-- subj = str ++ np.s ! Bare;
|
||||
-- pred = vp.s
|
||||
|
||||
Reference in New Issue
Block a user