mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
(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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user