forked from GitHub/gf-core
101 lines
2.5 KiB
Plaintext
101 lines
2.5 KiB
Plaintext
concrete CatSnd of Cat = CommonX - [Adv] ** open ResSnd, Prelude in {
|
|
|
|
flags optimize=all_subs ;
|
|
|
|
lincat
|
|
------ Tensed/Untensed
|
|
|
|
S = {s : Str} ;
|
|
QS = {s : QForm => Str} ;
|
|
RS = {s : Agr => Str ; c : Case} ; -- c for it clefts
|
|
SSlash = {s : Str ; c2 : ResSnd.Compl} ;
|
|
|
|
---- Sentence
|
|
|
|
Cl = ResSnd.Clause ;
|
|
ClSlash = {
|
|
s : ResSnd.VPHTense => Polarity => Order => Str ;
|
|
c2 : ResSnd.Compl
|
|
} ;
|
|
Imp = {s : CPolarity => ImpForm => Str} ;
|
|
|
|
---- Question
|
|
QCl = {s : ResSnd.VPHTense => Polarity => QForm => Str} ;
|
|
|
|
IP = {s: Case => Str ; g : Gender ; n : Number};
|
|
|
|
IDet = {s :Gender => Str ; n : Number} ;
|
|
|
|
IQuant = {s : Number => Gender => Str} ;
|
|
|
|
---- Relative
|
|
|
|
RCl = {
|
|
s : ResSnd.VPHTense => Polarity => Order => Agr => Str ;
|
|
c : Case
|
|
} ;
|
|
RP = {s: Number => Gender => Case => Str ; a:RAgr};
|
|
|
|
---- Verb
|
|
|
|
VP = ResSnd.VPH ;
|
|
VPSlash = ResSnd.VPHSlash ;
|
|
Comp = {s : Agr => Str} ;
|
|
|
|
---- Adv
|
|
Adv = {s : Gender => Str} ;
|
|
---- Adjective
|
|
|
|
AP = ResSnd.Adjective1 ;
|
|
|
|
---- Noun
|
|
|
|
CN = ResSnd.Noun ;
|
|
NP = ResSnd.NP ;
|
|
|
|
Pron = {s : Case => Str ; ps : Str ; a : Agr};
|
|
|
|
Det = ResSnd.Determiner ;
|
|
|
|
Predet = {s : Str} ;
|
|
|
|
Num = {s : Str ; n : Number} ;
|
|
Card = {s : Str; n : Number} ;
|
|
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 } ;
|
|
|
|
---- Structural
|
|
|
|
Conj = {s1,s2 : Str ; n : Number} ;
|
|
-----b Conj = {s : Str ; n : Number} ;
|
|
-----b DConj = {s1,s2 : Str ; n : Number} ;
|
|
|
|
|
|
Subj = {s : Str} ;
|
|
|
|
Prep = ResSnd.Preposition;
|
|
---- Open lexical classes, e.g. Lexicon
|
|
|
|
V, VS, VQ, VA = ResSnd.Verb ; -- = {s : VForm => Str} ;
|
|
V2, V2A, V2Q, V2S = ResSnd.Verb ** {c2 : Compl} ;
|
|
V3 = ResSnd.Verb ** {c2, c3 : Str} ;
|
|
VV = ResSnd.Verb ** { isAux : Bool} ;
|
|
V2V = ResSnd.Verb ** {c1 : Str ; c2 : Str ; isAux : Bool} ;
|
|
A = ResSnd.Adjective1 ; --- {s : Gender => Number => Case => Str} ;
|
|
A2 = ResSnd.Adjective1 ** { c2 : Str} ;
|
|
|
|
N = {s : Number => Case => Str ; g : Gender} ;
|
|
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} ;
|
|
|
|
}
|