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/Grammar.gf | |
| parent | 2f62ab26e61584749e7670b2ce9f619ba7802c23 (diff) | |
lrec tutorial examples
Diffstat (limited to 'examples/lrec-tutorial/Grammar.gf')
| -rw-r--r-- | examples/lrec-tutorial/Grammar.gf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/Grammar.gf b/examples/lrec-tutorial/Grammar.gf new file mode 100644 index 000000000..c7872869c --- /dev/null +++ b/examples/lrec-tutorial/Grammar.gf @@ -0,0 +1,17 @@ +abstract Grammar = { + cat + Cl ; NP ; VP ; AP ; CN ; Det ; N ; A ; V ; V2 ; + fun + PredVP : NP -> VP -> Cl ; + ComplV2 : V2 -> NP -> VP ; + DetCN : Det -> CN -> NP ; + ModCN : CN -> AP -> CN ; + + UseV : V -> VP ; + UseN : N -> CN ; + UseA : A -> AP ; + + a_Det, the_Det : Det ; + this_Det, these_Det : Det ; + i_NP, she_NP, we_NP : NP ; +} |
