comments in phrasebook abstract syntax

This commit is contained in:
aarne
2010-04-06 15:45:16 +00:00
parent 114cdd78d3
commit a66d2186fe
15 changed files with 133 additions and 82 deletions

View File

@@ -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: