summaryrefslogtreecommitdiff
path: root/examples/phrasebook/phrasebook.txt
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-06 15:45:16 +0000
committeraarne <aarne@chalmers.se>2010-04-06 15:45:16 +0000
commita66d2186fe0df7e72d2ebd7fc7c70629fe555ec4 (patch)
tree2ca36803340e215c997e7cd332e81aaaca577861 /examples/phrasebook/phrasebook.txt
parent114cdd78d35b74b1332f528adf4bbb4ef4adfaef (diff)
comments in phrasebook abstract syntax
Diffstat (limited to 'examples/phrasebook/phrasebook.txt')
-rw-r--r--examples/phrasebook/phrasebook.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/examples/phrasebook/phrasebook.txt b/examples/phrasebook/phrasebook.txt
index e8387308c..73b3efe73 100644
--- a/examples/phrasebook/phrasebook.txt
+++ b/examples/phrasebook/phrasebook.txt
@@ -56,8 +56,6 @@ The source code resides in
[``code.haskell.org/gf/examples/phrasebook/`` http://code.haskell.org/gf/examples/phrasebook/]
-%The abstract syntax defines an [ontology of phrases ontology.html].
-
Current status (6 April 2010):
- available in English, Finnish, French, Italian, Romanian, Swedish
- small coverage
@@ -78,6 +76,15 @@ Quasi-incremental translation: many basic types are also used as phrases.
Disambiguation, esp. of politeness distinctions.
+=Ontology=
+
+The abstract syntax defines the **ontology** behind the phrasebook. The ontology
+consists of the following **categories**. Some explanations can be found in the
+abstract syntax file
+[``Sentences.gf`` http://code.haskell.org/gf/examples/phrasebook/Sentences.gf].
+
+
+
=Files=
``Sentences``: general syntactic structures implementable in a uniform way.
@@ -97,7 +104,7 @@ Separate concrete syntaxes.
``DisambPhrasebook``: disambiguation grammars generating feedback phrases if
the input language is ambiguous.
-Here is the module structure produced by
+Here is the module structure as produced by
```
> i -retain DisambPhrasebookEng.gf
> dg -only=Phrasebook*,Sentences*,Words*,Greetings*,DiffP*,DisambPhrasebookEng
@@ -175,3 +182,6 @@ Here are the steps to follow for contributors:
+
+
+