(Pes) mkN, ApposN, animacy, compound nouns (#185)

* Add an mkN instance for nouns with unexpected possessive stem
* Rename inanimate and animate to nonhuman and human (old ones kept in 
the hidden part of API)
* Fix john_PN's animacy
* Add an instance of cmpdN with ezafe
* Add ApposNP + some lex. fixes
This commit is contained in:
Inari Listenmaa
2019-02-22 10:03:38 +01:00
committed by GitHub
parent 8a47956688
commit d175b1eedf
4 changed files with 57 additions and 29 deletions
+5 -1
View File
@@ -2,7 +2,7 @@
concrete ExtendPes of Extend =
CatPes ** ExtendFunctor - [
GenNP
GenNP, ApposNP
]
with (Grammar=GrammarPes)
** open Prelude, ResPes in {
@@ -14,4 +14,8 @@ lin
s = \\num => np.s ! Bare -- possesser is unmarked; https://sites.la.utexas.edu/persian_online_resources/language-specific-grammar/ezfe/
} ;
-- : NP -> NP -> NP
ApposNP np1 np2 = np1 ** {
s = \\m => np1.s ! m ++ np2.s ! m
} ;
}