mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
94 lines
2.3 KiB
Plaintext
94 lines
2.3 KiB
Plaintext
--# -path=.:../abstract:../common:../../prelude
|
|
|
|
concrete CatRus of Cat = CommonX ** open ResRus, Prelude in {
|
|
--
|
|
-- flags optimize=all_subs ;
|
|
--
|
|
-- lincat
|
|
--
|
|
---- Phrase
|
|
--
|
|
-- Utt, Voc = {s : Str} ;
|
|
--
|
|
---- Tensed/Untensed
|
|
--
|
|
-- S = {s : Str} ;
|
|
-- QS = {s : QForm => Str} ;
|
|
-- RS = {s : Agr => Str} ;
|
|
--
|
|
---- Sentence
|
|
--
|
|
-- Cl = {s : Tense => Anteriority => Polarity => Order => Str} ;
|
|
-- Slash = {s : Tense => Anteriority => Polarity => Order => Str} ** {c2 : Str} ;
|
|
-- Imp = {s : Polarity => Number => Str} ;
|
|
--
|
|
---- Question
|
|
--
|
|
-- QCl = {s : Tense => Anteriority => Polarity => QForm => Str} ;
|
|
-- IP = {s : Case => Str ; n : Number} ;
|
|
-- IAdv, IComp = {s : Str} ;
|
|
-- IDet = {s : Str ; n : Number} ;
|
|
--
|
|
---- Relative
|
|
--
|
|
-- RCl = {s : Tense => Anteriority => Polarity => Agr => Str} ;
|
|
-- RP = {s : RCase => Str ; a : RAgr} ;
|
|
--
|
|
---- Verb
|
|
--
|
|
-- VP = {
|
|
-- s : Tense => Anteriority => Polarity => Order => Agr => {fin, inf : Str} ;
|
|
-- prp : Str ; -- present participle
|
|
-- inf : Str ; -- infinitive
|
|
-- ad : Str ;
|
|
-- s2 : Agr => Str
|
|
-- } ;
|
|
-- Comp = {s : Agr => Str} ;
|
|
-- SC = {s : Str} ;
|
|
--
|
|
---- Adjective
|
|
--
|
|
-- AP = {s : Agr => Str ; isPre : Bool} ;
|
|
--
|
|
---- Noun
|
|
--
|
|
-- CN = {s : Number => Case => Str} ;
|
|
-- NP, Pron = {s : Case => Str ; a : Agr} ;
|
|
-- Det = {s : Str ; n : Number} ;
|
|
-- Predet, QuantSg, QuantPl, Num, Ord = {s : Str} ;
|
|
-- Quant = {s : Number => Str} ;
|
|
--
|
|
---- Adverb
|
|
--
|
|
-- Adv, AdV, AdA, AdS, AdN = {s : Str} ;
|
|
--
|
|
---- Numeral
|
|
--
|
|
-- Numeral = {s : CardOrd => Str ; n : Number} ;
|
|
--
|
|
---- Structural
|
|
--
|
|
-- Conj = {s : Str ; n : Number} ;
|
|
-- DConj = {s1,s2 : Str ; n : Number} ;
|
|
-- PConj = {s : Str} ;
|
|
-- CAdv = {s : Str} ;
|
|
-- Subj = {s : Str} ;
|
|
-- Prep = {s : Str} ;
|
|
--
|
|
---- Open lexical classes, e.g. Lexicon
|
|
--
|
|
-- V, VS, VQ, VA = Verb ; -- = {s : VForm => Str} ;
|
|
-- V2, V2A = Verb ** {c2 : Str} ;
|
|
-- V3 = Verb ** {c2, c3 : Str} ;
|
|
-- VV = {s : VVForm => Str ; isAux : Bool} ;
|
|
--
|
|
-- A = {s : AForm => Str} ;
|
|
-- A2 = {s : AForm => Str ; c2 : Str} ;
|
|
--
|
|
-- N = {s : Number => Case => Str} ;
|
|
-- N2 = {s : Number => Case => Str} ** {c2 : Str} ;
|
|
-- N3 = {s : Number => Case => Str} ** {c2,c3 : Str} ;
|
|
-- PN = {s : Case => Str} ;
|
|
--
|
|
}
|