mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-29 04:46:30 -06:00
Extend.ReflPossPron added and implemented for Swe, Cze, Slo
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
--# -path=.:../abstract:../common:../api
|
||||
|
||||
concrete AllSlo of AllSloAbs =
|
||||
LangSlo
|
||||
LangSlo,
|
||||
ExtendSlo
|
||||
;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
--# -path=.:../abstract:../common:prelude
|
||||
|
||||
abstract AllSloAbs =
|
||||
Lang
|
||||
Lang,
|
||||
Extend
|
||||
;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ concrete CatSlo of Cat =
|
||||
VPSlash = {verb : VerbForms ; clit,compl : Agr => Str ; c : ComplementCase} ; ----
|
||||
V = ResSlo.VerbForms ;
|
||||
V2 = ResSlo.VerbForms ** {c : ComplementCase} ;
|
||||
VS,VQ = ResSlo.VerbForms ;
|
||||
|
||||
A = ResSlo.AdjForms ;
|
||||
AP = ResSlo.Adjective ** {isPost : Bool} ; -- {s : Gender => Number => Case => Str}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
concrete ExtendSlo of Extend = CatSlo **
|
||||
ExtendFunctor - [
|
||||
ReflPossPron
|
||||
---- constant not found (yet)
|
||||
,youPolFem_Pron
|
||||
,UttVPShort
|
||||
,UttAccIP
|
||||
,UttDatIP
|
||||
,SubjRelNP
|
||||
,StrandRelSlash
|
||||
,StrandQuestSlash
|
||||
,SlashBareV2S
|
||||
,PredIAdvVP
|
||||
,PredAPVP
|
||||
,ExistsNP
|
||||
,ExistS
|
||||
,ExistPluralCN
|
||||
,ExistNPQS
|
||||
,ExistMassCN
|
||||
,ExistIPQS
|
||||
,ExistCN
|
||||
,EmptyRelSlash
|
||||
,DetNPMasc
|
||||
,DetNPFem
|
||||
,ComplBareVS
|
||||
,CompIQuant
|
||||
,CompBareCN
|
||||
]
|
||||
with (Grammar = GrammarSlo)
|
||||
**
|
||||
open
|
||||
ResSlo
|
||||
in {
|
||||
|
||||
lin ReflPossPron = justDemPronFormsAdjective reflPossessivePron ;
|
||||
|
||||
|
||||
}
|
||||
@@ -869,6 +869,15 @@ adjFormsAdjective : AdjForms -> Adjective = \afs -> {
|
||||
|
||||
} ;
|
||||
|
||||
reflPossessivePron : DemPronForms = otcovA "svoj" ** {
|
||||
msnom = "svoj" ; msgen = "svojho" ; msdat = "svojmu" ;
|
||||
msins = "svojím" ;
|
||||
ampnom = "svoji" ;
|
||||
nsnom, fpnom = "svoje" ;
|
||||
pgen = "svojich" ;
|
||||
pdat = "svojim" ;
|
||||
pins = "svojimi" ;
|
||||
} ;
|
||||
|
||||
mkPron : Agr -> PronForms ** {poss : DemPronForms} = \a ->
|
||||
personalPron a ** {poss = possessivePron a} ;
|
||||
|
||||
Reference in New Issue
Block a user