diff options
Diffstat (limited to 'deprecated/old-lib/resource/interlingua/QuestionIna.gf')
| -rw-r--r-- | deprecated/old-lib/resource/interlingua/QuestionIna.gf | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/deprecated/old-lib/resource/interlingua/QuestionIna.gf b/deprecated/old-lib/resource/interlingua/QuestionIna.gf new file mode 100644 index 000000000..aadbaa090 --- /dev/null +++ b/deprecated/old-lib/resource/interlingua/QuestionIna.gf @@ -0,0 +1,54 @@ +concrete QuestionIna of Question = CatIna ** open ResIna, Prelude in { + + flags optimize=all_subs ; + + lin + QuestCl cl = { + s = \\t,a,p => + let cls = cl.s ! t ! a ! p + in table { + OQuest => cls ! OQuest ; + ODir => "an" ++ cls ! ODir + } + } ; + + QuestVP qp vp = + let cl = mkClause (qp.s ! Nom) Sp3 vp + in {s = \\t,a,b,_ => cl.s ! t ! a ! b ! ODir} ; + + QuestSlash ip slash = + mkQuestion (ss (slash.p2 ++ ip.s ! slash.c2)) slash ; + + QuestIAdv iadv cl = mkQuestion iadv cl ; + + QuestIComp icomp np = + mkQuestion icomp (mkClause (np.s ! Nom) np.a (predV esserV)) ; + + + PrepIP p ip = {s = p.s ++ ip.s ! Nom} ; + + AdvIP ip adv = { + s = \\c => ip.s ! c ++ adv.s ; + n = ip.n + } ; + + IdetCN idet cn = { + s = \\c => casePrep [] c ++ idet.s ++ cn.s ! idet.n; + n = idet.n + } ; + + IdetIP idet = { + s = \\c => casePrep [] c ++ idet.s ; + n = idet.n + } ; + + IdetQuant iquant num = { + s = iquant.s ! num.n ++ num.s ; + n = num.n + } ; + + CompIAdv a = a ; + + CompIP ip = ss (ip.s ! Nom) ; + +} |
