mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 09:28:54 -06:00
(Ara) don't bind if object case is nominative
This commit is contained in:
@@ -1729,8 +1729,11 @@ patHollowImp : (_,_ :Str) -> Gender => Number => Str =\xaf,xAf ->
|
|||||||
bindIf : Bool -> Str = \b -> if_then_Str b BIND [] ;
|
bindIf : Bool -> Str = \b -> if_then_Str b BIND [] ;
|
||||||
|
|
||||||
bindIfPron : NP -> {c2:Preposition; isPred:Bool} -> Str = \np,vp ->
|
bindIfPron : NP -> {c2:Preposition; isPred:Bool} -> Str = \np,vp ->
|
||||||
let bind = case vp.isPred of {
|
let notNom : Case -> Bool = \c -> case c of {Nom => False; _=>True} ;
|
||||||
False => bindIf (orB np.a.isPron vp.c2.binds) ;
|
bind = case vp.isPred of {
|
||||||
|
False => bindIf (
|
||||||
|
orB (andB np.a.isPron (notNom vp.c2.c)) --if np is pron, not in nominative
|
||||||
|
vp.c2.binds) ;
|
||||||
True => [] }
|
True => [] }
|
||||||
in vp.c2.s ++ bind ++ np.s ! vp.c2.c ;
|
in vp.c2.s ++ bind ++ np.s ! vp.c2.c ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user