forked from GitHub/gf-core
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
incomplete concrete SentenceRomance of Sentence =
|
|
CatRomance ** open CommonRomance, ResRomance in {
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lin
|
|
PredVP np vp = mkClause (np.s ! Aton Nom) np.a vp ;
|
|
|
|
-- PredSCVP sc vp = mkClause sc.s (agrP3 neutrum Sg) vp ;
|
|
|
|
ImpVP vp = {
|
|
s = \\pol,aag =>
|
|
let
|
|
agr = aag ** {p = P2} ;
|
|
verb = (vp.s ! VPImperat).fin ! agr
|
|
in
|
|
verb ++ vp.comp ! agr ++ vp.ext --- neg,clit
|
|
} ;
|
|
{-
|
|
SlashV2 np v2 =
|
|
mkClause
|
|
(np.s ! nominative) np.a
|
|
(predV v2) **
|
|
{c2 = v2.c2} ;
|
|
|
|
SlashVVV2 np vv v2 =
|
|
mkClause
|
|
(np.s ! nominative) np.a
|
|
(insertObj (\\_ => vv.c2 ++ infVP (predV v2) np.a) (predV vv)) **
|
|
{c2 = v2.c2} ;
|
|
|
|
AdvSlash slash adv = {
|
|
s = \\t,a,b,o => slash.s ! t ! a ! b ! o ++ adv.s ;
|
|
c2 = slash.c2
|
|
} ;
|
|
|
|
SlashPrep cl prep = cl ** {c2 = prep.s} ;
|
|
|
|
EmbedS s = {s = conjThat ++ s.s ! Sub} ;
|
|
EmbedQS qs = {s = qs.s ! QIndir} ;
|
|
EmbedVP vp = {s = infVP vp (agrP3 utrum Sg)} ; --- agr
|
|
-}
|
|
}
|