1
0
forked from GitHub/gf-rgl

made AllDut import ExtendDut

This commit is contained in:
Aarne Ranta
2018-04-25 10:46:40 +02:00
parent 2de326e8a3
commit db1ecda1f6
4 changed files with 13 additions and 12 deletions

View File

@@ -2,8 +2,8 @@
concrete AllDut of AllDutAbs = concrete AllDut of AllDutAbs =
LangDut, LangDut,
IrregDut, IrregDut
ExtraDut , ExtendDut
** **
{ {
--{} ; --{} ;

View File

@@ -3,7 +3,7 @@
abstract AllDutAbs = abstract AllDutAbs =
Lang, Lang,
IrregDutAbs, IrregDutAbs,
ExtraDutAbs Extend -- ExtraDutAbs
** **
{ {
--{} ; --{} ;

View File

@@ -34,7 +34,7 @@ concrete CatDut of Cat =
-- Verb -- Verb
VP = ResDut.VP ; VP = ResDut.VP ;
VPSlash = ResDut.VP ** {c2 : Preposition * Bool} ; VPSlash = ResDut.VP ** {c2 : Preposition * Bool} ; -- False = empty prep
Comp = {s : Agr => Str} ; Comp = {s : Agr => Str} ;
-- Adjective -- Adjective

View File

@@ -11,14 +11,15 @@ concrete ExtendDut of Extend =
Coordination, Coordination,
Prelude, Prelude,
ParadigmsDut in { ParadigmsDut in {
lin
PastPartAP vp = { lin --# notpresent
s = \\agr,af => let aForm = case vp.isHeavy of {
True => APred ; PastPartAP vp = { --# notpresent
False => af } ; s = \\agr,af => let aForm = case vp.isHeavy of { --# notpresent
in (infClause [] agr vp aForm).s ! Past ! Anter ! Pos ! Sub ; True => APred ; --# notpresent
isPre = notB vp.isHeavy ; False => af } ; --# notpresent
} ; in (infClause [] agr vp aForm).s ! Past ! Anter ! Pos ! Sub ; --# notpresent
isPre = notB vp.isHeavy ; --# notpresent
} ; --# notpresent
} }