mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-16 06:32:51 -06:00
initial Slavic grammar, shared between Bulgarian and Russian
This commit is contained in:
9
next-lib/src/slavic/CatSlavic.gf
Normal file
9
next-lib/src/slavic/CatSlavic.gf
Normal file
@@ -0,0 +1,9 @@
|
||||
incomplete concrete CatSlavic of Cat = open Prelude, CommonSlavic, ResSlavic in {
|
||||
|
||||
lincat
|
||||
CN = {s : NForm => Str; g : Gender; anim : Animacy} ;
|
||||
|
||||
N = {s : NForm => Str; g : Gender; anim : Animacy} ;
|
||||
N2 = {s : NForm => Str; g : Gender; anim : Animacy} ** {c2 : Preposition} ;
|
||||
N3 = {s : NForm => Str; g : Gender; anim : Animacy} ** {c2,c3 : Preposition} ;
|
||||
}
|
||||
6
next-lib/src/slavic/CommonSlavic.gf
Normal file
6
next-lib/src/slavic/CommonSlavic.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
resource CommonSlavic = ParamX ** open Prelude in {
|
||||
|
||||
param
|
||||
Gender = Masc | Fem | Neut ;
|
||||
Animacy = Animate | Inanimate ;
|
||||
}
|
||||
5
next-lib/src/slavic/DiffSlavic.gf
Normal file
5
next-lib/src/slavic/DiffSlavic.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
interface DiffSlavic = open Prelude in {
|
||||
|
||||
param NForm ;
|
||||
|
||||
}
|
||||
6
next-lib/src/slavic/ResSlavic.gf
Normal file
6
next-lib/src/slavic/ResSlavic.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
interface ResSlavic = DiffSlavic ** open CommonSlavic, Prelude in {
|
||||
|
||||
oper
|
||||
Preposition : Type = {s : Str; c : Case};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user