mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
(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 =>
|
||||
table {
|
||||
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 = {} ;
|
||||
|
||||
--IL guessed
|
||||
QuestVP qp vp =
|
||||
let np = ip2np qp vp.isPred ;
|
||||
cl = PredVP np vp ;
|
||||
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 ! toOrder qf} ;
|
||||
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
|
||||
|
||||
---- IL guessed
|
||||
-- : IComp -> NP -> QCl
|
||||
|
||||
@@ -681,8 +681,8 @@ oper
|
||||
|
||||
-- these are chosen in many places, trying to be consistent
|
||||
toOrder : QForm -> Order = \qf ->
|
||||
case qf of { QIndir => Nominal ;
|
||||
QDir => Verbal } ;
|
||||
case qf of { QDir => Nominal ; -- works for wh-questions, not for y/n
|
||||
QIndir => Verbal } ;
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- Relative
|
||||
|
||||
Reference in New Issue
Block a user