1
0
forked from GitHub/gf-rgl

(Pes) Add ExtendPes, so far only GenNP implemented

This commit is contained in:
Inari Listenmaa
2019-01-31 17:05:16 +01:00
parent 8a69cd40c7
commit 494acc4153

17
src/persian/ExtendPes.gf Normal file
View File

@@ -0,0 +1,17 @@
--# -path=.:../common:../abstract:../prelude
concrete ExtendPes of Extend =
CatPes ** ExtendFunctor - [
GenNP
]
with (Grammar=GrammarPes)
** open Prelude, ResPes in {
lin
-- NP -> Quant ; -- this man's
GenNP np = np ** {
s = \\num => np.s ! NPC bEzafa ; -- the possessed will get aEzafa, possesser is just unmarked; https://sites.la.utexas.edu/persian_online_resources/language-specific-grammar/ezfe/
fromPron = True -- not necessarily from Pron, but it should come after the noun, and if fromPron=True, then DetCN places determiner after cn.
} ;
}