summaryrefslogtreecommitdiff
path: root/examples/fracas/src/FraCaS.gf
diff options
context:
space:
mode:
authorpeter.ljunglof <peter.ljunglof@gu.se>2012-01-27 22:56:14 +0000
committerpeter.ljunglof <peter.ljunglof@gu.se>2012-01-27 22:56:14 +0000
commit582c6cc92f6f3e2a17071beb59c4c3861b751a2a (patch)
treeaa930b80928e163e9e0427e45ad01a798d461a22 /examples/fracas/src/FraCaS.gf
parent6f0795d8a37749293beb54fc0209af8d7c285157 (diff)
Added the FraCaS Treebank to the examples
Diffstat (limited to 'examples/fracas/src/FraCaS.gf')
-rw-r--r--examples/fracas/src/FraCaS.gf59
1 files changed, 59 insertions, 0 deletions
diff --git a/examples/fracas/src/FraCaS.gf b/examples/fracas/src/FraCaS.gf
new file mode 100644
index 000000000..756c07c6c
--- /dev/null
+++ b/examples/fracas/src/FraCaS.gf
@@ -0,0 +1,59 @@
+--# -path=.:alltenses
+
+abstract FraCaS = Grammar, Additions, FraCaSLex ** {
+
+flags
+ startcat = Phr ;
+
+-- language independent functions
+
+fun
+ ComparAsAs : A -> NP -> AP;
+
+fun
+ Adverbial : Adv -> Phr;
+ PAdverbial : PConj -> Adv -> Phr;
+ Nounphrase : NP -> Phr;
+ PNounphrase : PConj -> NP -> Phr;
+ Question : QS -> Phr;
+ PQuestion : PConj -> QS -> Phr;
+ Sentence : S -> Phr;
+ PSentence : PConj -> S -> Phr;
+
+fun
+ Past : Temp;
+ PastPerfect : Temp;
+ Present : Temp;
+ PresentPerfect : Temp;
+ Future : Temp;
+ FuturePerfect : Temp;
+ Conditional : Temp;
+
+fun
+ ConjCN2 : Conj -> CN -> CN -> CN;
+ ConjNP2 : Conj -> NP -> NP -> NP;
+ ConjNP3 : Conj -> NP -> NP -> NP -> NP;
+ ConjQS2 : Conj -> QS -> QS -> QS;
+ ConjS2 : Conj -> S -> S -> S;
+ ConjVPI2 : Conj -> VP -> VP -> VPI;
+ ConjVPS2 : Conj -> Temp -> Pol -> VP -> Temp -> Pol -> VP -> VPS;
+
+-- language dependent functions
+
+fun
+ UncNeg : Pol ;
+
+fun
+ ComplVSa : VS -> S -> VP ;
+ ProgrVPa : VP -> VP ;
+
+fun
+ elliptic_V : V ;
+ elliptic_NP_Sg, elliptic_NP_Pl : NP ;
+ elliptic_CN : CN ;
+ elliptic_VP : VP ;
+ elliptic_Cl : Cl ;
+ elliptic_VPSlash : VPSlash ;
+ elliptic_V2V : V2V ;
+
+}