1
0
forked from GitHub/gf-rgl

PastPartAP/PastPartAgentAP must also include the n3 complement

This commit is contained in:
krangelov
2020-04-27 10:37:47 +02:00
parent e4873bdcea
commit 0f0bc4e346

View File

@@ -193,15 +193,17 @@ concrete ExtendSwe of Extend = CatSwe **
} ;
PastPartAP vp = {
s = \\af => case vp.isSimple of {
True => partVPPlus vp (PartPret af Nom) (aformpos2agr af) Pos ;
False => partVPPlusPost vp (PartPret af Nom) (aformpos2agr af) Pos
} ;
s = \\af => let vp' = vp**{n2 : Agr => Str =\\a => vp.n2 ! a ++ vp.n3 ! a}
in case vp.isSimple of {
True => partVPPlus vp' (PartPret af Nom) (aformpos2agr af) Pos ;
False => partVPPlusPost vp' (PartPret af Nom) (aformpos2agr af) Pos
} ;
isPre = vp.isSimple
} ;
PastPartAgentAP vp np = {
s = \\af => partVPPlusPost vp (PartPret af Nom) (aformpos2agr af) Pos ++ "av" ++ np.s ! accusative ;
s = \\af => let vp' = vp**{n2 : Agr => Str =\\a => vp.n2 ! a ++ vp.n3 ! a}
in partVPPlusPost vp' (PartPret af Nom) (aformpos2agr af) Pos ++ "av" ++ np.s ! accusative ;
isPre = False
} ;