diff options
| author | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
| commit | e89fdae2fa1626348d8025824a7469252fa85e42 (patch) | |
| tree | c7d46bbd0494043b4bd6f917a25a7687517d0547 /old-lib/resource/thai/QuestionTha.gf | |
| parent | 3049b59b35b25381a7c6787444165c200d66e08b (diff) | |
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'old-lib/resource/thai/QuestionTha.gf')
| -rw-r--r-- | old-lib/resource/thai/QuestionTha.gf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/old-lib/resource/thai/QuestionTha.gf b/old-lib/resource/thai/QuestionTha.gf new file mode 100644 index 000000000..033539bdf --- /dev/null +++ b/old-lib/resource/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 ; +-- +} |
