summaryrefslogtreecommitdiff
path: root/next-lib/src/thai/QuestionTha.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-12-18 14:21:28 +0000
committeraarne <aarne@cs.chalmers.se>2008-12-18 14:21:28 +0000
commit9e341cc7f9020eda842c8ad0f1f57bf6326eb89d (patch)
tree1c0e78a1c3790286a0fabf408ea15ee179f8749d /next-lib/src/thai/QuestionTha.gf
parent98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d (diff)
Hindi and Thai compile in 1.5
Diffstat (limited to 'next-lib/src/thai/QuestionTha.gf')
-rw-r--r--next-lib/src/thai/QuestionTha.gf41
1 files changed, 41 insertions, 0 deletions
diff --git a/next-lib/src/thai/QuestionTha.gf b/next-lib/src/thai/QuestionTha.gf
new file mode 100644
index 000000000..033539bdf
--- /dev/null
+++ b/next-lib/src/thai/QuestionTha.gf
@@ -0,0 +1,41 @@
+concrete QuestionTha of Question = CatTha **
+ open ResTha, StringsTha, Prelude in {
+
+ flags optimize=all_subs ;
+
+ lin
+
+-- pos. may, neg. chay may - not always the proper forms ---
+
+ QuestCl cl = {s = \\p => cl.s ! Pos ++ polStr chay_s p ++ m'ay_s} ;
+
+--
+-- 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 =
+-- mkQuestion (ss (slash.c2 ++ ip.s ! Acc)) slash ;
+-- --- stranding in ExratTha
+--
+-- QuestIAdv iadv cl = mkQuestion iadv cl ;
+--
+-- QuestIComp icomp np =
+-- mkQuestion icomp (mkClause (np.s ! Nom) np.a (predAux auxBe)) ;
+--
+--
+-- 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
+-- } ;
+--
+-- CompIAdv a = a ;
+--
+}