mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-17 23:30:14 -06:00
fix word order of question
This commit is contained in:
@@ -8,13 +8,24 @@ concrete QuestionMay of Question = CatMay ** open
|
||||
-- determiners, with or without a noun.
|
||||
lin
|
||||
-- : IDet -> CN -> IP ; -- which five songs
|
||||
IdetCN idet cn = NM.DetCN idet cn ;
|
||||
IdetCN idet cn = NM.DetCN idet cn ** {sp = idet.sp} ;
|
||||
|
||||
-- : IDet -> IP ; -- which five
|
||||
IdetIP idet = NM.DetNP idet ;
|
||||
IdetIP idet = NM.DetNP idet ** {sp = idet.sp};
|
||||
|
||||
-- : IQuant -> Num -> IDet ; -- which (five)
|
||||
IdetQuant = NM.DetQuant ;
|
||||
IdetQuant iquant num = iquant ** {
|
||||
pr = num.s ++ case iquant.isPre of {True => iquant.s ; False => [] } ;
|
||||
-- if isPre is True, then: "berapa kucing"
|
||||
s = case iquant.isPre of { False => iquant.s ; True => [] };
|
||||
-- if isPre is False, use s: "kucing berapa"
|
||||
n = num.n
|
||||
} ;
|
||||
|
||||
-- : IP -> ClSlash -> QCl ; -- whom does John love
|
||||
QuestSlash ip cls = cls ** {
|
||||
pred = \\vf,pol => cls.pred ! vf ! pol ++ ip.s ! Bare
|
||||
} ;
|
||||
|
||||
{-
|
||||
lin
|
||||
@@ -24,9 +35,6 @@ lin
|
||||
-- : IP -> VP -> QCl ;
|
||||
QuestVP ip vp =
|
||||
|
||||
-- : IP -> ClSlash -> QCl ; -- whom does John love
|
||||
QuestSlash ip cls =
|
||||
|
||||
-- : IAdv -> Cl -> QCl ; -- why does John walk
|
||||
QuestIAdv iadv cls =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user