forked from GitHub/gf-rgl
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
concrete VerbAra of Verb = CatAra ** open Prelude, ResAra in {
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lin
|
|
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};
|
|
|
|
ComplSlash vp np = insertObj np vp ;
|
|
|
|
-- Complv3 v np np2 = insertObj np2 (insertObj np (predV v)) ;
|
|
|
|
{-{s = \\_ => v.c2 ++ np.s ! Acc ++ v.c3 ++ np2.s ! Acc ;
|
|
a = {pgn = Per3 Masc Sg ; isPron = False} } --FIXME
|
|
(predV v) ;-}
|
|
|
|
ComplVV vv vp = --- IL
|
|
predV vv ** {
|
|
s2 = vv.c2 ; -- add the preposition of the VV. TODO: do we need a separate field in the VP?
|
|
pred = compVP vp ; -- add VP complement in pred. TODO: what agreement features are needed?
|
|
isPred = False } ; {- Despite verb complement being in pred, it's not predicative.
|
|
Changing this to True causes PredVP to not include the verb. -}
|
|
|
|
-- ComplVS v s = insertObj (\\_ => conjThat ++ s.s) (predV v) ;
|
|
-- ComplVQ v q = insertObj (\\_ => q.s ! QIndir) (predV v) ;
|
|
--
|
|
-- ComplVA v ap = insertObj (ap.s) (predV v) ;
|
|
-- ComplV2A v np ap =
|
|
-- insertObj (\\_ => v.c2 ++ np.s ! Acc ++ ap.s ! np.a) (predV v) ;
|
|
--
|
|
UseComp xabar = kaan xabar ;
|
|
|
|
AdvVP vp adv = insertStr adv.s vp ;
|
|
|
|
-- AdVVP adv vp = insertAdV adv.s vp ;
|
|
--
|
|
-- ReflV2 v = insertObj (\\a => v.c2 ++ reflPron ! a) (predV v) ;
|
|
--
|
|
PassV2 v = kaan {s = \\_,_ => v.s ! VPPart} ; ---- IL guessed
|
|
--
|
|
-- UseVS, UseVQ = \vv -> {s = vv.s ; c2 = [] ; isRefl = vv.isRefl} ; -- no
|
|
|
|
CompCN cn = {s = \\agr,c => cn.s ! agr.n ! Indef ! c} ; ----IL
|
|
CompAP ap = {s = \\agr,c => ap.s ! Hum ! agr.g ! agr.n ! Indef ! c} ; --FIXME
|
|
CompNP np = {s = \\_,c => np.s ! c};
|
|
CompAdv a = {s = \\_,_ => a.s} ;
|
|
--
|
|
--
|
|
}
|