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/ZeroLat.gf | |
| parent | 2f62ab26e61584749e7670b2ce9f619ba7802c23 (diff) | |
lrec tutorial examples
Diffstat (limited to 'examples/lrec-tutorial/ZeroLat.gf')
| -rw-r--r-- | examples/lrec-tutorial/ZeroLat.gf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/ZeroLat.gf b/examples/lrec-tutorial/ZeroLat.gf new file mode 100644 index 000000000..10fe480a6 --- /dev/null +++ b/examples/lrec-tutorial/ZeroLat.gf @@ -0,0 +1,17 @@ +concrete ZeroLat of Zero = { + lincat + S, VP, V2 = Str ; + NP = Case => Str ; + lin + Pred np vp = np ! Nom ++ vp ; + Compl v2 np = np ! Acc ++ v2 ; + John = table {Nom => "Ioannes" ; Acc => "Ioannem"} ; + Mary = table {Nom => "Maria" ; Acc => "Mariam"} ; + Love = "amat" ; + param + Case = Nom | Acc ; +} + +--. +-- illustrates: parameters, word order +-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png |
