1
0
forked from GitHub/gf-core

lrec tutorial examples

This commit is contained in:
aarne
2010-04-24 11:34:04 +00:00
parent 2f62ab26e6
commit 2b21e7fae7
31 changed files with 871 additions and 0 deletions

View File

@@ -0,0 +1,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