forked from GitHub/gf-rgl
(Pes) Fix appComp's behaviour with prepositions that take ezafe
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,10 @@ oper
|
||||
-- fatha : Str = "َ" ;
|
||||
kasre,fatha : Str = [] ;
|
||||
|
||||
-- for appComp
|
||||
-- runtimeKasre : Str -> Str = \s -> glue s kasre ;
|
||||
runtimeKasre : Str -> Str = \s -> s ;
|
||||
|
||||
|
||||
---- Nouns
|
||||
param
|
||||
|
||||
@@ -149,7 +149,9 @@ oper
|
||||
-- VP complementation
|
||||
---------------------
|
||||
appComp : Compl -> (Mod=>Str) -> Str = \c2,obj ->
|
||||
c2.s ++ obj ! c2.mod ++ c2.ra ;
|
||||
case c2.mod of {
|
||||
Ezafe => runtimeKasre c2.s ++ obj ! Bare ++ c2.ra ;
|
||||
_ => c2.s ++ obj ! c2.mod ++ c2.ra } ;
|
||||
|
||||
insertComp : (Agr => Str) -> VPH -> VPH = \obj,vp -> vp ** {
|
||||
comp = \\a => vp.comp ! a ++ obj ! a
|
||||
|
||||
Reference in New Issue
Block a user