1
0
forked from GitHub/gf-rgl

(Pes) misc. small fixes, additions and TODOs

This commit is contained in:
Inari Listenmaa
2019-05-03 18:43:29 +02:00
parent 038ed0e863
commit 361deec532
2 changed files with 10 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
concrete ExtendPes of Extend =
CatPes ** ExtendFunctor - [
GenNP, ApposNP, ICompAP, AdvIsNP, InOrderToVP, ByVP
GenNP, ApposNP, ICompAP, AdvIsNP, InOrderToVP, ByVP, AdjAsNP, ComplBareVS
,GerundNP,GerundCN,GerundAdv,EmbedPresPart,EmbedSSlash
]
with (Grammar=GrammarPes)
@@ -20,6 +20,12 @@ lin
s = \\m => np1.s ! m ++ np2.s ! m
} ;
-- : AP -> NP
AdjAsNP ap = emptyNP ** ap ;
-- : VS -> S -> VP
ComplBareVS vs s = embComp (s.s ! vs.compl) (predV vs) ;
ICompAP ap = {s = "چقدر" ++ ap.s ! Bare} ;
-- : VP -> CN ; -- publishing of the document (can get a determiner)
GerundCN vp = useN (indeclN (infVP vp)) ;