summaryrefslogtreecommitdiff
path: root/examples/lrec-tutorial/One.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/One.gf
parent2f62ab26e61584749e7670b2ce9f619ba7802c23 (diff)
lrec tutorial examples
Diffstat (limited to 'examples/lrec-tutorial/One.gf')
-rw-r--r--examples/lrec-tutorial/One.gf42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/One.gf b/examples/lrec-tutorial/One.gf
new file mode 100644
index 000000000..4d0e94397
--- /dev/null
+++ b/examples/lrec-tutorial/One.gf
@@ -0,0 +1,42 @@
+abstract One = {
+ cat
+ S ;
+ Cl ;
+ NP ;
+ VP ;
+ AP ;
+ CN ;
+ Det ;
+ Pron ;
+ PN ;
+ N ;
+ A ;
+ V ;
+ V2 ;
+ Adv ;
+ Prep ;
+ Pol ;
+ Tense ;
+ fun
+ DeclCl : Tense -> Pol -> Cl -> S ;
+ QuestCl : Tense -> Pol -> Cl -> S ;
+
+ PredVP : NP -> VP -> Cl ;
+
+ ComplV2 : V2 -> NP -> VP ;
+ UseAP : AP -> VP ;
+ UseV : V -> VP ;
+ AdVP : VP -> Adv -> VP ;
+
+ DetCN : Det -> CN -> NP ;
+ UsePN : PN -> NP ;
+ UsePron : Pron -> NP ;
+
+ ModCN : CN -> AP -> CN ;
+ UseN : N -> CN ;
+
+ UseA : A -> AP ;
+
+ AdvA : A -> Adv ;
+ PrepNP : Prep -> NP -> Adv ;
+}