1
0
forked from GitHub/gf-rgl

some fragments in the Turkish grammar

This commit is contained in:
Krasimir Angelov
2017-08-19 22:04:46 +02:00
parent ca9bc14d02
commit 3201407474
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
concrete AdjectiveTur of Adjective = CatTur ** open ResTur, Prelude in {
lin
PositA a = {s=a.s} ;
ComparA a np = {
s = \\n,c => np.s ! Ablat ++ a.s ! n ! c ;
} ;
}

View File

@@ -21,6 +21,10 @@ concrete CatTur of Cat = CommonX ** open ResTur, Prelude in {
Numeral = {s : CardOrd => Number => Case => Str ; n : Number} ;
Digits = {s : CardOrd => Number => Case => Str ; n : Number; tail : DTail} ;
-- Adjective
AP = {s : Number => Case => Str} ;
-- Open lexical classes, e.g. Lexicon
V, VS, VQ, VA = Verb ;
V2, V2Q, V2V, V2A, V2S = Verb ** {c : Compl} ;

View File

@@ -2,6 +2,7 @@
concrete GrammarTur of Grammar =
NounTur,
AdjectiveTur,
NumeralTur,
StructuralTur
** {

View File

@@ -36,4 +36,8 @@ concrete NounTur of Noun = CatTur ** open ResTur, Prelude in {
} ;
UseN n = n ;
AdjCN ap cn = {
s = \\n,c => ap.s ! n ! c ++ cn.s ! n ! c
} ;
}