forked from GitHub/gf-rgl
(Ara) Add some comments
This commit is contained in:
@@ -8,20 +8,18 @@ concrete QuestionAra of Question = CatAra ** open ResAra, ParamX, Prelude, VerbA
|
|||||||
s = \\t,p =>
|
s = \\t,p =>
|
||||||
table {
|
table {
|
||||||
QIndir => "إِذا" ++ cl.s ! t ! p ! toOrder QIndir ;
|
QIndir => "إِذا" ++ cl.s ! t ! p ! toOrder QIndir ;
|
||||||
QDir => "هَلْ" ++ cl.s ! t ! p ! toOrder QDir
|
QDir => "هَلْ" ++ cl.s ! t ! p ! Verbal -- yes/no question
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
-- ComplSlashIP vps ip = {} ;
|
-- ComplSlashIP vps ip = {} ;
|
||||||
|
|
||||||
--IL guessed
|
|
||||||
QuestVP qp vp =
|
QuestVP qp vp =
|
||||||
let np = ip2np qp vp.isPred ;
|
let np = ip2np qp vp.isPred ;
|
||||||
cl = PredVP np vp ;
|
cl = PredVP np vp ;
|
||||||
in { s = \\t,p,qf => cl.s ! t ! p ! toOrder qf } ;
|
in { s = \\t,p,qf => cl.s ! t ! p ! toOrder qf } ;
|
||||||
|
|
||||||
---- AR guessed
|
QuestIAdv iadv cl = {s = \\t,p,qf => iadv.s ++ cl.s ! t ! p ! Verbal} ; -- Verbal word order, because there is no pre-existing question word /IL
|
||||||
QuestIAdv iadv cl = {s = \\t,p,qf => iadv.s ++ cl.s ! t ! p ! toOrder qf} ;
|
|
||||||
|
|
||||||
---- IL guessed
|
---- IL guessed
|
||||||
-- : IComp -> NP -> QCl
|
-- : IComp -> NP -> QCl
|
||||||
|
|||||||
@@ -681,8 +681,8 @@ oper
|
|||||||
|
|
||||||
-- these are chosen in many places, trying to be consistent
|
-- these are chosen in many places, trying to be consistent
|
||||||
toOrder : QForm -> Order = \qf ->
|
toOrder : QForm -> Order = \qf ->
|
||||||
case qf of { QIndir => Nominal ;
|
case qf of { QDir => Nominal ; -- works for wh-questions, not for y/n
|
||||||
QDir => Verbal } ;
|
QIndir => Verbal } ;
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
-- Relative
|
-- Relative
|
||||||
|
|||||||
Reference in New Issue
Block a user