questions, relatives, numerals - most of Dutch syntax soon in place

This commit is contained in:
aarne
2009-11-11 20:34:09 +00:00
parent 53a5c1ee9d
commit 454dc5dd54
13 changed files with 455 additions and 439 deletions

View File

@@ -1,42 +1,38 @@
concrete CatDut of Cat =
CommonX **
open ResDut, Prelude in
{
open ResDut, Prelude in {
flags optimize=all_subs ;
lincat
--
---- Tensed/Untensed
--
-- Tensed/Untensed
S = {s : Order => Str} ;
QS = {s : QForm => Str} ;
-- RS = {s : GenNum => Str ; c : Case} ;
-- SSlash = {s : Order => Str} ** {c2 : Preposition} ;
--
---- Sentence
--
RS = {s : Gender => Number => Str} ;
SSlash = {s : Order => Str} ** {c2 : Preposition} ;
-- Sentence
Cl = Clause ; -- {s : Tense => Anteriority => Polarity => Order => Str} ;
-- ClSlash = {
-- s : Mood => ResDut.Tense => Anteriority => Polarity => Order => Str ;
-- c2 : Preposition
-- } ;
-- Imp = {s : Polarity => ImpForm => Str} ;
--
---- Question
--
QCl = {s : ResDut.Tense => Anteriority => Polarity => QForm => Str} ;
-- IP = {s : Case => Str ; n : Number} ;
-- IComp = {s : Agr => Str} ;
-- IDet = {s : Gender => Case => Str ; n : Number} ;
-- IQuant = {s : Number => Gender => Case => Str} ;
--
---- Relative
--
-- RCl = {s : Mood => ResDut.Tense => Anteriority => Polarity => GenNum => Str ; c : Case} ;
-- RP = {s : GenNum => Case => Str ; a : RAgr} ;
--
---- Verb
--
ClSlash = Clause ** {c2 : Preposition} ;
Imp = {s : Polarity => ImpForm => Str} ;
-- Question
QCl = {s : Tense => Anteriority => Polarity => QForm => Str} ;
IP = {s : NPCase => Str ; n : Number} ;
IComp = {s : Agr => Str} ;
IDet = {s : Gender => Str ; n : Number} ;
IQuant = {s : Number => Gender => Str} ;
-- Relative
RCl = {s : Tense => Anteriority => Polarity => Gender => Number => Str} ;
RP = {s : Gender => Number => Str ; a : RAgr} ;
-- Verb
VP = ResDut.VP ;
VPSlash = ResDut.VP ** {c2 : Preposition} ;
Comp = {s : Agr => Str} ;
@@ -57,50 +53,36 @@ concrete CatDut of Cat =
sp : Number => Gender => Str ;
a : Adjf
} ;
-- Predet = {s : Number => Gender => Case => Str ; c : PredetCase} ;
Predet = {s : Number => Gender => Str} ;
Num = {s : Str ; n : Number ; isNum : Bool} ;
-- Card = {s : Gender => Case => Str ; n : Number} ;
-- Ord = {s : AForm => Str} ;
--
---- Numeral
--
-- Numeral = {s : CardOrd => Str ; n : Number } ;
-- Digits = {s : CardOrd => Str ; n : Number } ;
--
---- Structural
--
Card = {s : Gender => Case => Str ; n : Number} ;
Ord = {s : AForm => Str} ;
-- Numeral
Numeral = {s : CardOrd => Str ; n : Number } ;
Digits = {s : CardOrd => Str ; n : Number } ;
-- Structural
Conj = {s1,s2 : Str ; n : Number} ;
Subj = {s : Str} ;
Prep = {s : Str} ;
--
---- Open lexical classes, e.g. Lexicon
--
-- Open lexical classes, e.g. Lexicon
V, VS, VQ, VA = ResDut.VVerb ;
VV = VVerb ** {isAux : Bool} ;
V2, V2A, V2S, V2Q = VVerb ** {c2 : Preposition} ;
-- V2V = Verb ** {c2 : Preposition ; isAux : Bool} ;
-- V3 = Verb ** {c2, c3 : Preposition} ;
--
V2V = VVerb ** {c2 : Preposition ; isAux : Bool} ;
V3 = VVerb ** {c2, c3 : Preposition} ;
A = Adjective ;
-- A2 = {s : Degree => AForm => Str ; c2 : Preposition} ;
--
A2 = Adjective ** {c2 : Preposition} ;
N = Noun ;
N2 = {s : NForm => Str ; g : Gender} ** {c2 : Preposition} ;
-- N3 = {s : Number => Case => Str ; g : Gender} ** {c2,c3 : Preposition} ;
PN = {s : Case => Str} ;
--
---- tense with possibility to choose conjunctive forms
--
-- Temp = {s : Str ; t : ResDut.Tense ; a : Anteriority ; m : Mood} ;
-- Tense = {s : Str ; t : ResDut.Tense ; m : Mood} ;
--
-- lin
-- TTAnt t a = {s = t.s ++ a.s ; t = t.t ; a = a.a ; m = t.m} ;
--
-- TPres = {s = [] ; t = Pres ; m = MIndic} ;
-- TPast = {s = [] ; t = Past ; m = MIndic} ; --# notpresent
-- TFut = {s = [] ; t = Fut ; m = MIndic} ; --# notpresent
-- TCond = {s = [] ; t = Cond ; m = MIndic} ; --# notpresent
--}
N3 = {s : NForm => Str ; g : Gender} ** {c2,c3 : Preposition} ;
PN = {s : NPCase => Str} ;
}