pronouns in Slovenian. Slovenian has more personal pronouns and not all are currently covered in the RGL

This commit is contained in:
krasimir
2016-03-27 07:03:19 +00:00
parent b9b7984cfc
commit 9807837342
5 changed files with 20 additions and 5 deletions

View File

@@ -8,6 +8,8 @@ lincat
CN = {s : Species => Case => Number => Str; g : Gender} ;
NP = {s : Case => Str ; a : Agr} ;
Pron = {s : Case => Str ; a : Agr} ;
Det = {s : Case => Str; spec : Species; n : Number} ;
Num = {s : Case => Str ; n : Number} ;
Quant = {s : Str; spec : Species} ;

View File

@@ -3,7 +3,7 @@
concrete GrammarSlv of Grammar =
NounSlv,
-- VerbEng,
AdjectiveSlv
AdjectiveSlv,
{- AdverbEng,
NumeralEng,
SentenceEng,
@@ -12,8 +12,9 @@ concrete GrammarSlv of Grammar =
ConjunctionEng,
PhraseEng,
TextX - [Pol,PPos,PNeg],
StructuralEng,
IdiomEng,
-}
StructuralSlv
{- IdiomEng,
TenseX -}
** {

View File

@@ -3,7 +3,7 @@ concrete NounSlv of Noun = CatSlv ** open ResSlv in {
lin
DetCN det cn = {
s = \\c => det.s ! c ++ cn.s ! det.spec ! c ! det.n ;
a = {g=cn.g; n=det.n}
a = {g=cn.g; n=det.n; p=P3}
} ;
DetQuant quant num = {

View File

@@ -274,4 +274,16 @@ oper
mkAdv : Str -> Adv = \s -> lin Adv {s=s} ;
mkPron : (_,_,_,_,_,_ : Str) -> Gender -> Number -> Person -> Pron =
\nom,acc,gen,dat,loc,instr,g,n,p ->
lin Pron {s = table {
Nom => nom;
Acc => acc;
Gen => gen;
Dat => dat;
Loc => loc;
Instr=>instr
} ;
a = {g=g; n=n; p=p}
} ;
}

View File

@@ -25,6 +25,6 @@ param
| ASuperlDefAcc ;
oper
Agr = {g : Gender; n : Number} ;
Agr = {g : Gender; n : Number; p : Person} ;
}