mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
(Pes) Add Gerund{NP,CN,Adv} to Extend
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
concrete ExtendPes of Extend =
|
concrete ExtendPes of Extend =
|
||||||
CatPes ** ExtendFunctor - [
|
CatPes ** ExtendFunctor - [
|
||||||
GenNP, ApposNP, ICompAP
|
GenNP, ApposNP, ICompAP
|
||||||
|
,GerundNP,GerundCN,GerundAdv
|
||||||
]
|
]
|
||||||
with (Grammar=GrammarPes)
|
with (Grammar=GrammarPes)
|
||||||
** open Prelude, ResPes in {
|
** open Prelude, ResPes in {
|
||||||
@@ -20,4 +21,13 @@ lin
|
|||||||
} ;
|
} ;
|
||||||
|
|
||||||
ICompAP ap = {s = "چقدر" ++ ap.s ! Bare} ;
|
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} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user