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/bulgarian/QuestionBul.gf | |
| parent | 3049b59b35b25381a7c6787444165c200d66e08b (diff) | |
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'old-lib/resource/bulgarian/QuestionBul.gf')
| -rw-r--r-- | old-lib/resource/bulgarian/QuestionBul.gf | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/old-lib/resource/bulgarian/QuestionBul.gf b/old-lib/resource/bulgarian/QuestionBul.gf new file mode 100644 index 000000000..1032e6b44 --- /dev/null +++ b/old-lib/resource/bulgarian/QuestionBul.gf @@ -0,0 +1,63 @@ +concrete QuestionBul of Question = CatBul ** open ResBul, Prelude in { + flags coding=cp1251 ; + + + flags optimize=all_subs ; + + lin + + QuestCl cl = { + s = \\t,a,p => + let cls = cl.s ! t ! a ! p + in table { + QDir => cls ! Quest ; + QIndir => "ако" ++ cls ! Main + } ---- "whether" in ExtEng + } ; + + QuestVP ip vp = { + s = \\t,a,b,qform => + (mkClause (ip.s ! RSubj ! qform) {gn = ip.gn ; p = P3} vp).s ! t ! a ! b ! Main + } ; + + QuestSlash ip slash = + mkQuestion {s = \\spec => slash.c2.s ++ ip.s ! (RObj slash.c2.c) ! spec} + {s = slash.s ! (agrP3 ip.gn) } ; + + QuestIAdv iadv cl = mkQuestion iadv cl ; + + QuestIComp icomp np = + mkQuestion icomp (mkClause (np.s ! RSubj) np.a (predV verbBe)) ; + + PrepIP p ip = {s = \\spec => p.s ++ ip.s ! RSubj ! spec} ; + + AdvIP ip adv = { + s = \\role,spec => ip.s ! role ! spec ++ adv.s ; + gn = ip.gn + } ; + + CompIAdv a = a ; + + IdetCN idet cn = { + s = \\_,spec => let nf = case <idet.n, idet.nonEmpty> of { + <Pl,True> => NFPlCount ; + _ => NF idet.n Indef + } + in idet.s ! cn.g ! spec ++ cn.s ! nf ; + gn = gennum cn.g idet.n + } ; + + IdetIP idet = { + s = \\_ => idet.s ! DNeut ; + gn = gennum DNeut idet.n + } ; + + IdetQuant iquant num = { + s = \\g,spec => iquant.s ! gennum g num.n ! spec ++ + num.s ! dgenderSpecies g Indef RSubj ; + n = num.n ; + nonEmpty = num.nonEmpty + } ; + + CompIP ip = {s = ip.s ! RSubj} ; +} |
