diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-12-18 14:17:42 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-12-18 14:17:42 +0000 |
| commit | 98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d (patch) | |
| tree | 21e45db3182648b50f6d88557f33613efab5996a /next-lib/src/arabic/QuestionAra.gf | |
| parent | 9d0df9e0b49e06f4e182269f563555e803ff27ac (diff) | |
Arabic compiles now in 1.5
Diffstat (limited to 'next-lib/src/arabic/QuestionAra.gf')
| -rw-r--r-- | next-lib/src/arabic/QuestionAra.gf | 55 |
1 files changed, 55 insertions, 0 deletions
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 +-- } ; +-- +} |
