summaryrefslogtreecommitdiff
path: root/src-3.0/PGF/doc/Eng.gf
blob: c64f46313a0196571baf6e89cb0f2b37ea48586f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
concrete Eng of Ex = {
  lincat
    S  = {s : Str} ;
    NP = {s : Str ; n : Num} ;
    VP = {s : Num => Str} ;
  param
    Num = Sg | Pl ;
  lin
    Pred np vp = {s = np.s ++ vp.s ! np.n} ;
    She = {s = "she" ; n = Sg} ;
    They = {s = "they" ; n = Pl} ;
    Sleep = {s = table {Sg => "sleeps" ; Pl => "sleep"}} ;
}