mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
pronouns in Slovenian. Slovenian has more personal pronouns and not all are currently covered in the RGL
This commit is contained in:
@@ -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} ;
|
||||
|
||||
@@ -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 -}
|
||||
** {
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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}
|
||||
} ;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,6 @@ param
|
||||
| ASuperlDefAcc ;
|
||||
|
||||
oper
|
||||
Agr = {g : Gender; n : Number} ;
|
||||
Agr = {g : Gender; n : Number; p : Person} ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user