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 AllCze of AllCzeAbs =
LangCze
LangCze,
ExtendCze
;
+2 -1
View File
@@ -1,6 +1,7 @@
--# -path=.:../abstract:../common:prelude
abstract AllCzeAbs =
Lang
Lang,
Extend
;
+1
View File
@@ -24,6 +24,7 @@ concrete CatCze of Cat =
VPSlash = {verb : VerbForms ; clit,compl : Agr => Str ; c : ComplementCase} ; ----
V = ResCze.VerbForms ;
V2 = ResCze.VerbForms ** {c : ComplementCase} ;
VS,VQ = ResCze.VerbForms ;
A = ResCze.AdjForms ;
AP = ResCze.Adjective ** {isPost : Bool} ; -- {s : Gender => Number => Case => Str}
+38
View File
@@ -0,0 +1,38 @@
concrete ExtendCze of Extend = CatCze **
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 = GrammarCze)
**
open
ResCze
in {
lin ReflPossPron = justDemPronFormsAdjective reflPossessivePron ;
}
+1 -2
View File
@@ -632,8 +632,6 @@ adjFormsAdjective : AdjForms -> Adjective = \afs -> {
a : Agr
} ;
---- TODO: possessives
personalPron : Agr -> PronForms = \a ->
{a = a ; cnom = []} **
case a of {
@@ -753,6 +751,7 @@ adjFormsAdjective : AdjForms -> Adjective = \afs -> {
} ;
reflPossessivePron : DemPronForms = mladyAdjForms "svy" ** {msnom = "svůj" ; pdat = "svým"} ;
mkPron : Agr -> PronForms ** {poss : DemPronForms} = \a ->
personalPron a ** {poss = possessivePron a} ;