mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
132 lines
5.1 KiB
Plaintext
132 lines
5.1 KiB
Plaintext
resource ResFao = {
|
|
|
|
param Species = Indef | Def ;
|
|
param Number = Sg | Pl ;
|
|
param Case = Nom | Acc | Dat | Gen ;
|
|
param Gender = Neutr | Fem | Masc ;
|
|
oper Noun = {s: Species => Number => Case => Str} ; -- 2135
|
|
oper mkNoun : (_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_ : Str) -> Noun =
|
|
\f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16 ->
|
|
{ s = table {
|
|
Indef => table {
|
|
Sg => table {
|
|
Nom => f1 ;
|
|
Acc => f2 ;
|
|
Dat => f3 ;
|
|
Gen => f4
|
|
} ;
|
|
Pl => table {
|
|
Nom => f5 ;
|
|
Acc => f6 ;
|
|
Dat => f7 ;
|
|
Gen => f8
|
|
}
|
|
} ;
|
|
Def => table {
|
|
Sg => table {
|
|
Nom => f9 ;
|
|
Acc => f10 ;
|
|
Dat => f11 ;
|
|
Gen => f12
|
|
} ;
|
|
Pl => table {
|
|
Nom => f13 ;
|
|
Acc => f14 ;
|
|
Dat => f15 ;
|
|
Gen => f16
|
|
}
|
|
}
|
|
}
|
|
} ;
|
|
|
|
|
|
oper Adj = {s: Gender => Number => Case => Str} ; -- 346
|
|
oper mkAdj : (_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_ : Str) -> Adj =
|
|
\f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16,f17,f18,f19,f20,f21,f22,f23,f24 ->
|
|
{ s = table {
|
|
Masc => table {
|
|
Sg => table {
|
|
Nom => f1 ;
|
|
Acc => f2 ;
|
|
Dat => f3 ;
|
|
Gen => f4
|
|
} ;
|
|
Pl => table {
|
|
Nom => f5 ;
|
|
Acc => f6 ;
|
|
Dat => f7 ;
|
|
Gen => f8
|
|
}
|
|
} ;
|
|
Fem => table {
|
|
Sg => table {
|
|
Nom => f9 ;
|
|
Acc => f10 ;
|
|
Dat => f11 ;
|
|
Gen => f12
|
|
} ;
|
|
Pl => table {
|
|
Nom => f13 ;
|
|
Acc => f14 ;
|
|
Dat => f15 ;
|
|
Gen => f16
|
|
}
|
|
} ;
|
|
Neutr => table {
|
|
Sg => table {
|
|
Nom => f17 ;
|
|
Acc => f18 ;
|
|
Dat => f19 ;
|
|
Gen => f20
|
|
} ;
|
|
Pl => table {
|
|
Nom => f21 ;
|
|
Acc => f22 ;
|
|
Dat => f23 ;
|
|
Gen => f24
|
|
}
|
|
}
|
|
}
|
|
} ;
|
|
|
|
param Tense = Past | Pres ;
|
|
param PersNum = PSg Person | PPl ;
|
|
param Person = P1 | P3 | P2 ;
|
|
oper Verb = {Converb: Str; Imperative_Jussive: Number => Str; Indicative: Tense => PersNum => Str; Nonfinite: Str; Participle: Tense => Str} ; -- 596
|
|
oper mkVerb : (_,_,_,_,_,_,_,_,_,_,_,_,_,_ : Str) -> Verb =
|
|
\f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14 ->
|
|
{ Converb = f1 ;
|
|
Imperative_Jussive = table {
|
|
Sg => f2 ;
|
|
Pl => f3
|
|
} ;
|
|
Indicative = table {
|
|
Pres => table {
|
|
PSg P1 => f4 ;
|
|
PSg P2 => f5 ;
|
|
PSg P3 => f6 ;
|
|
PPl => f7
|
|
} ;
|
|
Past => table {
|
|
PSg P1 => f8 ;
|
|
PSg P2 => f9 ;
|
|
PSg P3 => f10 ;
|
|
PPl => f11
|
|
}
|
|
} ;
|
|
Nonfinite = f12 ;
|
|
Participle = table {
|
|
Pres => f13 ;
|
|
Past => f14
|
|
}
|
|
} ;
|
|
|
|
|
|
oper Compl = {s : Str; c : Case} ;
|
|
oper noPrep : Compl = {s=""; c=Acc} ;
|
|
|
|
oper CommonNoun = Noun ;
|
|
oper AdjPhrase = Adj ;
|
|
|
|
}
|