forked from GitHub/gf-rgl
made AllDut import ExtendDut
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
concrete AllDut of AllDutAbs =
|
concrete AllDut of AllDutAbs =
|
||||||
LangDut,
|
LangDut,
|
||||||
IrregDut,
|
IrregDut
|
||||||
ExtraDut
|
, ExtendDut
|
||||||
**
|
**
|
||||||
{
|
{
|
||||||
--{} ;
|
--{} ;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
abstract AllDutAbs =
|
abstract AllDutAbs =
|
||||||
Lang,
|
Lang,
|
||||||
IrregDutAbs,
|
IrregDutAbs,
|
||||||
ExtraDutAbs
|
Extend -- ExtraDutAbs
|
||||||
**
|
**
|
||||||
{
|
{
|
||||||
--{} ;
|
--{} ;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user