(Pes) Add Gerund{NP,CN,Adv} to Extend

This commit is contained in:
Inari Listenmaa
2019-03-13 15:47:29 +01:00
parent 718d0f9140
commit edf9aa40db

View File

@@ -3,6 +3,7 @@
concrete ExtendPes of Extend =
CatPes ** ExtendFunctor - [
GenNP, ApposNP, ICompAP
,GerundNP,GerundCN,GerundAdv
]
with (Grammar=GrammarPes)
** open Prelude, ResPes in {
@@ -20,4 +21,13 @@ lin
} ;
ICompAP ap = {s = "چقدر" ++ ap.s ! Bare} ;
-- : VP -> CN ; -- publishing of the document (can get a determiner)
GerundCN vp = useN (indeclN (showVPH Inf defaultAgr vp)) ;
-- : VP -> NP ; -- publishing the document (by nature definite)
GerundNP vp = indeclNP (showVPH Inf defaultAgr vp) ;
-- : VP -> Adv ; -- publishing the document (prepositionless adverb)
GerundAdv vp = lin Adv {s = showVPH Inf defaultAgr vp} ;
}