summaryrefslogtreecommitdiff
path: root/examples/lrec-tutorial/ZeroGer.gf
blob: ab12ddf998a8caa4b9ec2ae3fd641dfb3513fb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
concrete ZeroGer of Zero = {
  lincat
    S, NP, VP = Str ;
    V2 = {v,p : Str} ;
  lin
    Pred np vp = np ++ vp ;
    Compl v2 np = v2.v ++ np ++ v2.p ;
    John = "Johann" ;
    Mary = "Maria" ;
    Love = {v = "hat" ; p = "lieb"} ;
}

--.

-- illustrates: discontinuous constituents
-- contrived, since we also have "liebt"
--
-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png