summaryrefslogtreecommitdiff
path: root/grammars/resource/german/DatabaseRes.gf
blob: 57bac16ac774c10d60a9fa98ce0f24449e4c0960 (plain)
1
2
3
4
5
6
7
8
9
10
11
resource DatabaseRes = open Prelude in {
oper
  mkSent : SS -> SS -> SS1 Bool = \long, short -> 
    {s = table {b => if_then_else Str b long.s short.s}} ;

  mkSentPrel : Str -> SS -> SS1 Bool = \prel, matter -> 
    mkSent (ss (prel ++ matter.s)) matter ;

  mkSentSame : SS -> SS1 Bool = \s -> 
    mkSent s s ;
} ;