diff options
| author | aarne <aarne@chalmers.se> | 2010-04-24 11:34:04 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-04-24 11:34:04 +0000 |
| commit | 2b21e7fae764f454200183fdcd7efbed3c647012 (patch) | |
| tree | cd0e931a768f53a69f7c1df206b71317d9b1ce6d /examples/lrec-tutorial/ZeroGer.gf | |
| parent | 2f62ab26e61584749e7670b2ce9f619ba7802c23 (diff) | |
lrec tutorial examples
Diffstat (limited to 'examples/lrec-tutorial/ZeroGer.gf')
| -rw-r--r-- | examples/lrec-tutorial/ZeroGer.gf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/ZeroGer.gf b/examples/lrec-tutorial/ZeroGer.gf new file mode 100644 index 000000000..ab12ddf99 --- /dev/null +++ b/examples/lrec-tutorial/ZeroGer.gf @@ -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 + |
