mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
(Est) Add DAP + funs that use/produce it
This commit is contained in:
@@ -50,7 +50,7 @@ concrete CatEst of Cat = CommonX ** open HjkEst, ResEst, Prelude in {
|
|||||||
CN = {s : NForm => Str} ;
|
CN = {s : NForm => Str} ;
|
||||||
Pron = {s : NPForm => Str ; a : Agr} ;
|
Pron = {s : NPForm => Str ; a : Agr} ;
|
||||||
NP = {s : NPForm => Str ; a : Agr ; isPron : Bool} ;
|
NP = {s : NPForm => Str ; a : Agr ; isPron : Bool} ;
|
||||||
Det = {
|
DAP, Det = {
|
||||||
s : Case => Str ; -- minun kolme
|
s : Case => Str ; -- minun kolme
|
||||||
sp : Case => Str ; -- se (substantival form)
|
sp : Case => Str ; -- se (substantival form)
|
||||||
n : Number ; -- Pl (agreement feature for verb)
|
n : Number ; -- Pl (agreement feature for verb)
|
||||||
|
|||||||
@@ -106,6 +106,21 @@ concrete NounEst of Noun = CatEst ** open ResEst, HjkEst, MorphoEst, Prelude in
|
|||||||
isDef = quant.isDef
|
isDef = quant.isDef
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
DetDAP det = det ;
|
||||||
|
|
||||||
|
AdjDAP dap ap = dap ** {
|
||||||
|
s = \\c => dap.s ! c ++
|
||||||
|
case ap.infl of {
|
||||||
|
Regular => ap.s ! True ! NCase dap.n c ;
|
||||||
|
_ => ap.s ! True ! NCase dap.n Nom ---- participle
|
||||||
|
} ;
|
||||||
|
sp = \\c => dap.sp ! c ++
|
||||||
|
case ap.infl of {
|
||||||
|
Regular => ap.s ! True ! NCase dap.n c ;
|
||||||
|
_ => ap.s ! True ! NCase dap.n Nom ---- participle
|
||||||
|
} ;
|
||||||
|
} ;
|
||||||
|
|
||||||
PossPron p = {
|
PossPron p = {
|
||||||
s,sp = \\_,_ => p.s ! NPCase Gen ;
|
s,sp = \\_,_ => p.s ! NPCase Gen ;
|
||||||
isNum = False ;
|
isNum = False ;
|
||||||
|
|||||||
Reference in New Issue
Block a user