mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
update in Urdu
This commit is contained in:
@@ -7,28 +7,21 @@ concrete CatUrd of Cat = CommonX ** open ResUrd, Prelude in {
|
||||
|
||||
S = {s : Str} ;
|
||||
QS = {s : QForm => Str} ;
|
||||
-- RS = { s: Str} ;
|
||||
RS = {s : Agr => Str ; c : Case} ; -- c for it clefts
|
||||
-- SSlash = {s : Str ; c2 : Str} ;
|
||||
SSlash = {s : Str ; c2 : ResUrd.Compl} ;
|
||||
|
||||
---- Sentence
|
||||
|
||||
-- Cl = Str;
|
||||
Cl = ResUrd.Clause ;
|
||||
ClSlash = {
|
||||
s : ResUrd.VPHTense => Polarity => Order => Str ;
|
||||
-- s : ResUrd.Tense => Anteriority => CPolarity => Order => Str ;
|
||||
c2 : ResUrd.Compl
|
||||
-- c2 : Str
|
||||
} ;
|
||||
Imp = {s : CPolarity => ImpForm => Str} ;
|
||||
|
||||
---- Question
|
||||
QCl = {s : ResUrd.VPHTense => Polarity => QForm => Str} ;
|
||||
-- QCl = {s : ResUrd.Tense => Anteriority => CPolarity => QForm => Str} ;
|
||||
QCl = {s : ResUrd.VPHTense => Polarity => QForm => Str} ;
|
||||
IP = {s: Case => Str ; g : Gender ; n : Number};
|
||||
-- IP = {s : Number => Case => Str} ;
|
||||
-- IComp = {s : Str} ;
|
||||
IDet = {s :Gender => Str ; n : Number} ;
|
||||
IQuant = {s : Number => Str} ;
|
||||
|
||||
@@ -39,7 +32,6 @@ concrete CatUrd of Cat = CommonX ** open ResUrd, Prelude in {
|
||||
c : Case
|
||||
} ;
|
||||
RP = {s: Number => Case => Str ; a:RAgr};
|
||||
-- RP = {s : RCase => Str ; a : RAgr} ;
|
||||
|
||||
---- Verb
|
||||
|
||||
@@ -50,28 +42,24 @@ concrete CatUrd of Cat = CommonX ** open ResUrd, Prelude in {
|
||||
---- Adjective
|
||||
|
||||
AP = ResUrd.Adjective ;
|
||||
-- AP = {s: Number => Gender => Case = Str};
|
||||
|
||||
---- Noun
|
||||
|
||||
CN = ResUrd.Noun ;
|
||||
NP = ResUrd.NP ;
|
||||
Pron = {s : PersPronForm => Str; a : Agr} ;
|
||||
|
||||
Det = {s:Determiner => Str ; n : Number};
|
||||
|
||||
|
||||
Predet, Ord = {s : Str} ;
|
||||
-- Num = Str;
|
||||
Pron = {s : Case => Str ; ps : Str ; a : Agr};
|
||||
Det = ResUrd.Determiner ;
|
||||
Predet = {s : Str} ;
|
||||
Num = {s : Str ; n : Number} ;
|
||||
Card = {s : Str; n : Number} ;
|
||||
Quant = {s:DemPronForm => Str ; a : Agr};
|
||||
-- Quant = {s : Number => Gender => Case => Str} ;
|
||||
Ord = {s : Str; n : Number} ;
|
||||
Quant = {s:Number => Gender => Case => Str ; a:Agr};
|
||||
Art = {s : Str} ;
|
||||
|
||||
---- Numeral
|
||||
|
||||
Numeral = {s : CardOrd => Str ; n : Number} ;
|
||||
-- Digits = {s : CardOrd => Str ; n : Number ; tail : DTail} ;
|
||||
Digits = {s : CardOrd => Str ; n : Number } ;
|
||||
|
||||
---- Structural
|
||||
|
||||
@@ -79,24 +67,19 @@ concrete CatUrd of Cat = CommonX ** open ResUrd, Prelude in {
|
||||
-----b Conj = {s : Str ; n : Number} ;
|
||||
-----b DConj = {s1,s2 : Str ; n : Number} ;
|
||||
Subj = {s : Str} ;
|
||||
Prep = {s : Proposition => Str ; n : Number} ;
|
||||
|
||||
Prep = ResUrd.Preposition;
|
||||
---- Open lexical classes, e.g. Lexicon
|
||||
|
||||
V, VS, VQ, VA = ResUrd.Verb ; -- = {s : VForm => Str} ;
|
||||
V2, V2A, V2Q, V2S = ResUrd.Verb ** {c2 : Compl} ;
|
||||
-- V2, V2A, V2Q, V2S = ResUrd.Verb; -- ** {c2 : Str} ;
|
||||
V3 = ResUrd.Verb ** {c2, c3 : Str} ;
|
||||
VV = ResUrd.Verb ** { isAux : Bool} ;
|
||||
-- VV = {s : VVForm => Str ; isAux : Bool} ;
|
||||
V2V = ResUrd.Verb ** {c1 : Str ; c2 : Str ; isAux : Bool} ;
|
||||
|
||||
A = ResUrd.Adjective ; --- {s : Gender => Number => Case => Str} ;
|
||||
A2 = {s : Number => Gender => Case => Degree => Str ; c2 : Str} ;
|
||||
|
||||
N = {s : Number => Case => Str ; g : Gender} ;
|
||||
N2 = {s : Number => Case => Str ; g : Gender} ** {c2 : Proposition => Str} ;
|
||||
N3 = {s : Number => Case => Str ; g : Gender} ** {c2 : Proposition => Str ; c3 : Str} ;
|
||||
N2 = {s : Number => Case => Str ; g : Gender} ** {c2 : Str ; c3 : Str } ;
|
||||
N3 = {s : Number => Case => Str ; g : Gender} ** {c2 : Str ; c3 : Str ; c4 : Str} ;
|
||||
PN = {s : Case => Str ; g : Gender} ;
|
||||
--
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user