summaryrefslogtreecommitdiff
path: root/examples/translator/AppChi.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2014-03-14 13:28:42 +0000
committeraarne <aarne@chalmers.se>2014-03-14 13:28:42 +0000
commit7899bb8cbe09b925304737ee7eb8e54560f7064a (patch)
tree5156a5cf5d24423b87179156510e9ee7817f3532 /examples/translator/AppChi.gf
parent566df8e4aefd02443c240a38c1d488f01413bda7 (diff)
moved the small app chunking grammars from lib/src/experimental to examples/translator; the proper place might be in the git contributions, but this can be decided later
Diffstat (limited to 'examples/translator/AppChi.gf')
-rw-r--r--examples/translator/AppChi.gf20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/translator/AppChi.gf b/examples/translator/AppChi.gf
new file mode 100644
index 000000000..66c55fce5
--- /dev/null
+++ b/examples/translator/AppChi.gf
@@ -0,0 +1,20 @@
+--# -path=.:../translator:../../../examples/phrasebook
+
+concrete AppChi of App =
+ SmallPredChi
+ , ExtensionsChi [CN,NP,AdA,AdV,CompoundCN,AdAdV,UttAdV,ApposNP]
+ , DocumentationChi - [Pol,Tense,Ant]
+ , DictionaryChi - [Pol,Tense,Ant]
+ , PhrasebookChi - [Ant,Pol,Tense,at_Prep]
+
+ ** {
+
+flags
+ literal = Symb ;
+
+lin
+ PhrasePhr p = {s = "+" ++ p.s} | p ;
+
+}
+
+