1
0
forked from GitHub/gf-rgl

(Pes) add ezafePrep, used only internally in N2

The semantics is "the head word takes ezafe". This is a bit confusing 
compared to other Preps, where it means that the preposition takes 
ezafe. But this ezafePrep is not exported to the public API.
This commit is contained in:
Inari Listenmaa
2019-04-25 11:51:29 +02:00
parent bd79656668
commit 35db9a0787

View File

@@ -363,14 +363,15 @@ oper
prep => {s = prep ; ra = []; mod=Bare} prep => {s = prep ; ra = []; mod=Bare}
} ; } ;
noPrep = prepOrRa [] ; noPrep = prepOrRa [] ;
ezafePrep = {s = [] ; ra = [] ; mod=Ezafe} ;
mkPost : Str -> Prep = \s -> lin Prep {s=[] ; ra=s ; mod=Bare} ; mkPost : Str -> Prep = \s -> lin Prep {s=[] ; ra=s ; mod=Bare} ;
mkN2 = overload { mkN2 = overload {
mkN2 : Str -> N2 -- Predictable N2 without complement mkN2 : Str -> N2 -- Predictable N2 without complement
= \s -> lin N2 (mkN01 s inanimate ** {c2 = noPrep ; compl = []}) ; = \s -> lin N2 (mkN01 s inanimate ** {c2 = ezafePrep ; compl = []}) ;
mkN2 : N -> N2 -- N2 from without complement mkN2 : N -> N2 -- N2 from without complement
= \n -> lin N2 (n ** {c2 = noPrep ; compl = []}) ; = \n -> lin N2 (n ** {c2 = ezafePrep ; compl = []}) ;
mkN2 : N -> Str -> N2 mkN2 : N -> Str -> N2
= \n,c -> lin N2 (n ** {c2 = prepOrRa c ; compl = []}) ; = \n,c -> lin N2 (n ** {c2 = prepOrRa c ; compl = []}) ;
mkN2 : N -> Prep -> Str -> N2 -- hidden from puclic API mkN2 : N -> Prep -> Str -> N2 -- hidden from puclic API