Extend.ReflPossPron added and implemented for Swe, Cze, Slo

This commit is contained in:
aarneranta
2020-11-27 10:02:31 +01:00
parent 9594ee9cf2
commit 6fee9d712a
13 changed files with 106 additions and 8 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
--# -path=.:../abstract:../common:../api
concrete AllSlo of AllSloAbs =
LangSlo
LangSlo,
ExtendSlo
;
+2 -1
View File
@@ -1,6 +1,7 @@
--# -path=.:../abstract:../common:prelude
abstract AllSloAbs =
Lang
Lang,
Extend
;
+1
View File
@@ -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}
+38
View File
@@ -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 ;
}
+9
View File
@@ -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} ;