mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-30 18:28:55 -06:00
Extend.PastPartAP in Swe and Bul
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--# -path=.:../abstract:../common:prelude
|
||||
concrete ExtendBul of Extend = CatBul ** open ResBul in {
|
||||
concrete ExtendBul of Extend = CatBul ** open Prelude, ResBul in {
|
||||
|
||||
lin
|
||||
CompoundN n1 n2 =
|
||||
@@ -16,5 +16,22 @@ lin
|
||||
|
||||
PositAdVAdj a = {s = a.adv} ;
|
||||
|
||||
PastPartAP vp =
|
||||
let ap : AForm => Str
|
||||
= \\aform => vp.ad.s ++
|
||||
vp.s ! Perf ! VPassive aform ++
|
||||
vp.compl1 ! {gn=aform2gennum aform; p=P3} ++
|
||||
vp.compl2 ! {gn=aform2gennum aform; p=P3}
|
||||
in {s = ap; adv = ap ! ASg Neut Indef; isPre = True} ;
|
||||
|
||||
PastPartAgentAP vp np =
|
||||
let ap : AForm => Str
|
||||
= \\aform => vp.ad.s ++
|
||||
vp.s ! Perf ! VPassive aform ++
|
||||
vp.compl1 ! {gn=aform2gennum aform; p=P3} ++
|
||||
vp.compl2 ! {gn=aform2gennum aform; p=P3} ++
|
||||
"от" ++ np.s ! RObj Acc
|
||||
in {s = ap; adv = ap ! ASg Neut Indef; isPre = False} ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ concrete ExtendSwe of Extend = CatSwe **
|
||||
MkVPI, BaseVPI, ConsVPI, ConjVPI, ComplVPIVV,
|
||||
MkVPS, BaseVPS, ConsVPS, ConjVPS, PredVPS,
|
||||
ICompAP,
|
||||
PositAdVAdj,
|
||||
PositAdVAdj, PastPartAP, PastPartAgentAP,
|
||||
RNP, RNPList, ReflRNP, ReflPron, ReflPoss, PredetRNP, ConjRNP,
|
||||
Base_rr_RNP, Base_nr_RNP, Base_rn_RNP, Cons_rr_RNP, Cons_nr_RNP,
|
||||
CompoundN
|
||||
@@ -153,5 +153,16 @@ concrete ExtendSwe of Extend = CatSwe **
|
||||
|
||||
lin
|
||||
PositAdVAdj a = {s = a.s ! AAdv} ;
|
||||
|
||||
PastPartAP vp = {
|
||||
s = \\af => partVPPlus vp (PartPret af Nom) (aformpos2agr af) Pos ;
|
||||
isPre = True
|
||||
} ;
|
||||
|
||||
PastPartAgentAP vp np = {
|
||||
s = \\af => partVPPlus vp (PartPret af Nom) (aformpos2agr af) Pos ++ "av" ++ np.s ! accusative ;
|
||||
isPre = False
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user