1
0
forked from GitHub/gf-core

fixed the lost AdV in scandinavian after correction of negation/pronoun placement

This commit is contained in:
aarne
2016-06-05 10:17:34 +00:00
parent 77a1d57dae
commit d6c11c45e1

View File

@@ -327,9 +327,20 @@ oper
insertAdV : Str -> VP -> VP = \adv -> insertAdVAgr (\\_ => adv) ;
insertAdVAgr : (Agr => Str) -> VP -> VP = \adv,vp ->vp ** {
a1 = \\b,a => vp.a1 ! b ! a ++ adv ! a ;
s = \\vo,vpf =>
let vps = vp.s ! vo ! vpf
in {
fin = vps.fin ;
inf = vps.inf ;
a1 = \\b,a => case vpf of {
VPFinite (SPres | SPast) Simul | VPImperat =>
<(vps.a1 ! b ! a).p1, (vps.a1 ! b ! a).p2 ++ adv ! a> ;
_ => <(vps.a1 ! b ! a).p1 ++ adv ! a, (vps.a1 ! b ! a).p2>
}
}
} ;
passiveVP : VP -> VP = \vp -> vp ** {
s = \\_ => vp.s ! Pass ; -- forms the s-passive
} ;