forked from GitHub/gf-rgl
(Ara) ComplSlash: retain old object. Slash3V3: insert c3 into new c2.
This commit is contained in:
@@ -1189,6 +1189,8 @@ patHollowImp : (_,_ :Str) -> Gender => Number => Str =\xaf,xAf ->
|
||||
isPred = False
|
||||
};
|
||||
|
||||
predVSlash : Verb ** {c2 : Str} -> VPSlash = \v ->
|
||||
predV v ** {c2 = v.c2} ;
|
||||
|
||||
-- in verbal sentences, the verb agrees with the subject
|
||||
-- in Gender but not in number
|
||||
@@ -1198,8 +1200,8 @@ patHollowImp : (_,_ :Str) -> Gender => Number => Str =\xaf,xAf ->
|
||||
_ => pgn
|
||||
};
|
||||
|
||||
insertObj : NP -> VP -> VP = \np,vp -> vp **
|
||||
{ obj = {s = np.s ! Acc ; a = np.a} };
|
||||
insertObj : NP -> VPSlash -> VP = \np,vp -> vp **
|
||||
{ obj = {s = vp.obj.s ++ vp.c2 ++ np.s ! Acc ; a = np.a} };
|
||||
|
||||
insertPred : {s : AAgr => Case => Str} -> VP -> VP = \p,vp -> vp **
|
||||
{ pred = p;
|
||||
|
||||
@@ -6,8 +6,8 @@ concrete VerbAra of Verb = CatAra ** open Prelude, ResAra in {
|
||||
UseV = predV ;
|
||||
|
||||
SlashVV vv vps = vps ** predV vv ; ----IL
|
||||
SlashV2a v = predV v ** {c2 = v.c2};
|
||||
Slash3V3 v np = insertObj np (predV v) ** {c2 = v.c2};
|
||||
SlashV2a v = predVSlash v ;
|
||||
Slash3V3 v np = insertObj np (predVSlash v) ** {c2 = v.c3};
|
||||
|
||||
ComplSlash vp np = insertObj np vp ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user