forked from GitHub/gf-rgl
(Som) WIP negative questions
This commit is contained in:
@@ -1017,7 +1017,9 @@ oper
|
|||||||
-> Str ;
|
-> Str ;
|
||||||
|
|
||||||
vf : ClType -> VFun = \clt -> case clt of {
|
vf : ClType -> VFun = \clt -> case clt of {
|
||||||
Subord => vfSubord ; _ => vfStatement } ;
|
Subord => vfSubord ;
|
||||||
|
Question => vfQuestion ;
|
||||||
|
_ => vfStatement } ;
|
||||||
|
|
||||||
vfStatement : VFun = \t,ant,p,agr,vp ->
|
vfStatement : VFun = \t,ant,p,agr,vp ->
|
||||||
case <t,ant,p> of {
|
case <t,ant,p> of {
|
||||||
@@ -1046,6 +1048,14 @@ oper
|
|||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
vfQuestion : VFun = \t,ant,p,agr,vp ->
|
||||||
|
case <t,ant,p> of {
|
||||||
|
<_,_,Neg> => vp.s ! VInf ++ vfStatement t ant p agr (useV waa_V) ;
|
||||||
|
_ => vfStatement t ant p agr vp
|
||||||
|
} where {
|
||||||
|
waa_V = cSug "waa" ; ---- TODO irregular verb
|
||||||
|
} ;
|
||||||
|
|
||||||
vfSubord : VFun = \t,ant,p,agr,vp ->
|
vfSubord : VFun = \t,ant,p,agr,vp ->
|
||||||
case <t,ant,p> of {
|
case <t,ant,p> of {
|
||||||
<Pres,Simul,Pos> => vfStatement Pres ant Neg agr vp ;
|
<Pres,Simul,Pos> => vfStatement Pres ant Neg agr vp ;
|
||||||
|
|||||||
Reference in New Issue
Block a user