From 2b21e7fae764f454200183fdcd7efbed3c647012 Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 24 Apr 2010 11:34:04 +0000 Subject: lrec tutorial examples --- examples/lrec-tutorial/One.gf | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 examples/lrec-tutorial/One.gf (limited to 'examples/lrec-tutorial/One.gf') 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 ; +} -- cgit v1.2.3