summaryrefslogtreecommitdiff
path: root/examples/discourse/Discourse.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-02-08 12:30:13 +0000
committeraarne <aarne@chalmers.se>2011-02-08 12:30:13 +0000
commit3c82593fdd59cb6d8861c5a7d37faa50cddbac3b (patch)
tree8caeca43c4770c153c2906d79fefa1b88b997bcf /examples/discourse/Discourse.gf
parent12ad869c69835d2e46304e43b8b0892e1161b7d3 (diff)
examples/discourse on Finnish discourse particles and their translations
Diffstat (limited to 'examples/discourse/Discourse.gf')
-rw-r--r--examples/discourse/Discourse.gf32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/discourse/Discourse.gf b/examples/discourse/Discourse.gf
new file mode 100644
index 000000000..429fbd0c2
--- /dev/null
+++ b/examples/discourse/Discourse.gf
@@ -0,0 +1,32 @@
+abstract Discourse =
+ Lexicon,
+ Noun, Verb,
+ Adjective, Adverb,
+ Structural - [nobody_NP, nothing_NP],
+ Tense
+** {
+
+flags startcat = S ;
+
+cat
+ Clause ; Part ;
+
+fun
+ ClauseS : Part -> Temp -> Pol -> Clause -> S ; -- arihan juo nyt
+ SubjKinS : Part -> Temp -> Pol -> Clause -> S ; -- arikinhan juo nyt
+ VerbKinS : Part -> Temp -> Pol -> Clause -> S ; -- arihan juokin nyt
+ AdvKinS : Part -> Temp -> Pol -> Adv -> Clause -> S ; -- arihan juo nytkin
+ PreAdvKinS : Part -> Temp -> Pol -> Adv -> Clause -> S ; -- nytkinhän ari juo
+ PreAdvS : Part -> Temp -> Pol -> Adv -> Clause -> S ; -- nythän ari juo
+ PreAdvSubjKinS : Part -> Temp -> Pol -> Adv -> Clause -> S ; -- nythän arikin juo
+ PreAdvVerbKinS : Part -> Temp -> Pol -> Adv -> Clause -> S ; -- nythän ari juokin
+ PreAdvAdvKinS : Part -> Temp -> Pol -> Adv -> Adv -> Clause -> S ; -- nythän ari juo täälläkin
+
+--- AnterVerbS : Part -> PartKin -> Tense -> Pol -> Clause -> S ; -- arihan onkin juonut
+--- doesn't put in right place
+
+ PredClause : NP -> VP -> Clause ;
+
+ noPart, han_Part, pa_Part, pas_Part, ko_Part, kos_Part, kohan_Part, pahan_Part : Part ;
+
+}