mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 09:52:55 -06:00
ResEng.mkS to mkClause
This commit is contained in:
@@ -6,19 +6,19 @@ concrete ExtEng of ExtEngAbs = CatEng ** open ResEng in {
|
||||
|
||||
lin
|
||||
|
||||
PredAux np aux vp = mkS (np.s ! Nom) np.a
|
||||
(\\t,ant,b,ord,agr =>
|
||||
let
|
||||
fin = aux.s ! b ;
|
||||
vf : Str -> Str -> {fin, inf : Str} = \x,y ->
|
||||
{fin = x ; inf = y} ;
|
||||
in
|
||||
case ant of {
|
||||
Simul => vf fin [] ;
|
||||
Anter => vf fin "have"
|
||||
}
|
||||
)
|
||||
(\\agr => infVP vp agr) ;
|
||||
PredAux np aux vp = mkClause (np.s ! Nom) np.a {
|
||||
s = \\t,ant,b,ord,agr =>
|
||||
let
|
||||
fin = aux.s ! b ;
|
||||
vf : Str -> Str -> {fin, inf : Str} = \x,y ->
|
||||
{fin = x ; inf = y} ;
|
||||
in
|
||||
case ant of {
|
||||
Simul => vf fin [] ;
|
||||
Anter => vf fin "have"
|
||||
} ;
|
||||
s2 = \\agr => infVP vp agr
|
||||
} ;
|
||||
|
||||
can_Aux = {s = \\p => posneg p "can"} ; ---- cannt
|
||||
must_Aux = {s = \\p => posneg p "must"} ;
|
||||
|
||||
Reference in New Issue
Block a user