From 98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 18 Dec 2008 14:17:42 +0000 Subject: Arabic compiles now in 1.5 --- next-lib/src/arabic/QuestionAra.gf | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 next-lib/src/arabic/QuestionAra.gf (limited to 'next-lib/src/arabic/QuestionAra.gf') diff --git a/next-lib/src/arabic/QuestionAra.gf b/next-lib/src/arabic/QuestionAra.gf new file mode 100644 index 000000000..651a72cfd --- /dev/null +++ b/next-lib/src/arabic/QuestionAra.gf @@ -0,0 +1,55 @@ +concrete QuestionAra of Question = CatAra ** open ResAra, ParamX in { + + flags optimize=all_subs ; + + lin + + QuestCl cl = { + s = \\t,p => + table { + QIndir => "إِذا" ++ cl.s ! t ! p ! Verbal ; + QDir => cl.s ! t ! p ! Verbal + } + }; + + +-- +-- QuestVP qp vp = +-- let cl = mkClause (qp.s ! Nom) {n = qp.n ; p = P3} vp +-- in {s = \\t,a,b,_ => cl.s ! t ! a ! b ! ODir} ; +-- +-- QuestSlash ip slash = { +-- s = \\t,a,p => +-- let +-- cls = slash.s ! t ! a ! p ; +-- who = slash.c2 ++ ip.s ! Acc --- stranding in ExtAra +-- in table { +-- QDir => who ++ cls ! OQuest ; +-- QIndir => who ++ cls ! ODir +-- } +-- } ; +-- +-- QuestIAdv iadv cl = { +-- s = \\t,a,p => +-- let +-- cls = cl.s ! t ! a ! p ; +-- why = iadv.s +-- in table { +-- QDir => why ++ cls ! OQuest ; +-- QIndir => why ++ cls ! ODir +-- } +-- } ; +-- +-- PrepIP p ip = {s = p.s ++ ip.s ! Nom} ; +-- +-- AdvIP ip adv = { +-- s = \\c => ip.s ! c ++ adv.s ; +-- n = ip.n +-- } ; +-- +-- IDetCN idet num ord cn = { +-- s = \\c => idet.s ++ num.s ++ ord.s ++ cn.s ! idet.n ! c ; +-- n = idet.n +-- } ; +-- +} -- cgit v1.2.3