From 35db9a07871748477f216f9b38a16faaffc80e31 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Thu, 25 Apr 2019 11:51:29 +0200 Subject: [PATCH] (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. --- src/persian/ParadigmsPes.gf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/persian/ParadigmsPes.gf b/src/persian/ParadigmsPes.gf index a1744fbd2..472fa2bf4 100644 --- a/src/persian/ParadigmsPes.gf +++ b/src/persian/ParadigmsPes.gf @@ -363,14 +363,15 @@ oper prep => {s = prep ; ra = []; mod=Bare} } ; noPrep = prepOrRa [] ; + ezafePrep = {s = [] ; ra = [] ; mod=Ezafe} ; mkPost : Str -> Prep = \s -> lin Prep {s=[] ; ra=s ; mod=Bare} ; mkN2 = overload { 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 - = \n -> lin N2 (n ** {c2 = noPrep ; compl = []}) ; + = \n -> lin N2 (n ** {c2 = ezafePrep ; compl = []}) ; mkN2 : N -> Str -> N2 = \n,c -> lin N2 (n ** {c2 = prepOrRa c ; compl = []}) ; mkN2 : N -> Prep -> Str -> N2 -- hidden from puclic API