summaryrefslogtreecommitdiff
path: root/examples/morpho/README.txt
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-08-15 12:41:04 +0000
committeraarne <aarne@cs.chalmers.se>2008-08-15 12:41:04 +0000
commitba78322409e2086a83c03b7b32e84940a24030b0 (patch)
tree87b13411a8d6db544461eef201f4e02207ac0ff1 /examples/morpho/README.txt
parent0475ef3414cff410b826c9f06e6c7043625972fa (diff)
examples of morphological synthesis/analysis as top-level grammars
Diffstat (limited to 'examples/morpho/README.txt')
-rw-r--r--examples/morpho/README.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/morpho/README.txt b/examples/morpho/README.txt
new file mode 100644
index 000000000..41bdd545b
--- /dev/null
+++ b/examples/morpho/README.txt
@@ -0,0 +1,25 @@
+AR 15/8/2008
+
+Here are some examples of morphological lexica turned into top-level GF grammars.
+
+Top level is useful because it supports analysis and synthesis by normal
+e.g. JavaScript tools.
+
+The simplest example is in the following three files:
+
+ Eng.gf -- abstract syntax (English irregular verbs)
+ EngDescr.gf -- concrete syntax showing form descriptions
+ EngReal.gf -- concrete syntax showing real forms
+
+Compile the result with
+
+ gfc --make -f js EngDescr.gf EngReal.gf
+
+Then use Eng.js in place of GF/lib/javascript/grammar.js
+
+Other examples:
+
+ Fre* -- French irregular verbs
+
+NB: there are issues on character encoding of abstract verb names in Fre.
+