forked from GitHub/gf-core
fixed the lost AdV in scandinavian after correction of negation/pronoun placement
This commit is contained in:
@@ -327,9 +327,20 @@ oper
|
|||||||
insertAdV : Str -> VP -> VP = \adv -> insertAdVAgr (\\_ => adv) ;
|
insertAdV : Str -> VP -> VP = \adv -> insertAdVAgr (\\_ => adv) ;
|
||||||
|
|
||||||
insertAdVAgr : (Agr => Str) -> VP -> VP = \adv,vp ->vp ** {
|
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 ** {
|
passiveVP : VP -> VP = \vp -> vp ** {
|
||||||
s = \\_ => vp.s ! Pass ; -- forms the s-passive
|
s = \\_ => vp.s ! Pass ; -- forms the s-passive
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
Reference in New Issue
Block a user