summaryrefslogtreecommitdiff
path: root/examples/lrec-tutorial/ZeroDut.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-24 11:34:04 +0000
committeraarne <aarne@chalmers.se>2010-04-24 11:34:04 +0000
commit2b21e7fae764f454200183fdcd7efbed3c647012 (patch)
treecd0e931a768f53a69f7c1df206b71317d9b1ce6d /examples/lrec-tutorial/ZeroDut.gf
parent2f62ab26e61584749e7670b2ce9f619ba7802c23 (diff)
lrec tutorial examples
Diffstat (limited to 'examples/lrec-tutorial/ZeroDut.gf')
-rw-r--r--examples/lrec-tutorial/ZeroDut.gf18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/ZeroDut.gf b/examples/lrec-tutorial/ZeroDut.gf
new file mode 100644
index 000000000..efe8bbda4
--- /dev/null
+++ b/examples/lrec-tutorial/ZeroDut.gf
@@ -0,0 +1,18 @@
+concrete ZeroDut 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 = "Jan" ;
+ Mary = "Marie" ;
+ Love = {v = "heeft" ; p = "lief"} ;
+}
+
+--.
+
+-- illustrates: discontinuous constituents
+--
+-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png
+