mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-28 02:03:18 -06:00
more constructions
This commit is contained in:
1 parent
eea95a6f76
commit
26a1e55cbe
4 files changed
+23
-3
No files matched your search
@@ -11,6 +11,19 @@ lin
|
||||
CompoundN n1 n2 =
|
||||
n2 ** {s = \\nc => n1.s ! SgNom ++ BIND ++ n2.s ! nc} ;
|
||||
|
||||
GenModNP num np cn =
|
||||
let det : Determiner = DetQuant DefArt num ;
|
||||
pron : Pronoun = pronTable ! np.agr ;
|
||||
in emptyNP ** cn ** det ** {
|
||||
s = \\_,c =>
|
||||
np.s ! NoPoss ! Nom
|
||||
++ np.postmod
|
||||
++ caseFromPossStem cn (DetQuant (PossPron pron) num) c
|
||||
++ cn.compl ! det.n ! c ;
|
||||
agr = <P3,det.n> ;
|
||||
objdef = Def ;
|
||||
} ;
|
||||
|
||||
UseDAP = DetNP ;
|
||||
UseDAPMasc,
|
||||
UseDAPFem = \dap -> DetNP dap ** {g = Human} ;
|
||||
|
||||
Reference in new issue
Block a user