diff options
| author | aarne <aarne@cs.chalmers.se> | 2006-04-13 14:19:27 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2006-04-13 14:19:27 +0000 |
| commit | 8edb88dcabe9d5a23c6efcedcd056cd16194f4a4 (patch) | |
| tree | 501f8408b8f0b76a5fd5d5f058da7b305dfbe395 /doc/tutorial/gf-tutorial2.txt | |
| parent | 47dedcf256976495f405a802920fa3012f683a52 (diff) | |
extended unix grammars with character-based spelling
Diffstat (limited to 'doc/tutorial/gf-tutorial2.txt')
| -rw-r--r-- | doc/tutorial/gf-tutorial2.txt | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/doc/tutorial/gf-tutorial2.txt b/doc/tutorial/gf-tutorial2.txt index 43602d23b..a1226d7cd 100644 --- a/doc/tutorial/gf-tutorial2.txt +++ b/doc/tutorial/gf-tutorial2.txt @@ -1857,7 +1857,7 @@ they can be used as arguments. For example: -- e.g. (StreetAddress 10 "Downing Street") : Address ``` - +The linearization type is ``{s : Str}`` for all these categories. ==More concepts of abstract syntax== @@ -1922,16 +1922,30 @@ documents: However, to give a flavour of both using and writing resource grammars, we have created a miniature resource, which resides in the subdirectory [``resource`` resource]. Its API consists of the following -modules: -- [Syntax resource/Syntax.gf]: syntactic structures, language-independent -- [LexEng resource/LexEng.gf]: lexical paradigms, English -- [LexIta resource/LexIta.gf]: lexical paradigms, Italian +three modules: + +[Syntax resource/Syntax.gf] - syntactic structures, language-independent: +``` + +``` +[LexEng resource/LexEng.gf] - lexical paradigms, English: +``` + +``` +[LexIta resource/LexIta.gf] - lexical paradigms, Italian: +``` + +``` Only these three modules should be ``open``ed in applications. The implementations of the resource are given in the following four modules: -- [MorphoEng resource/MorphoEng.gf], - [MorphoIta resource/MorphoIta.gf]: low-level morphology + +[MorphoEng resource/MorphoEng.gf], +``` + +``` +[MorphoIta resource/MorphoIta.gf]: low-level morphology - [SyntaxEng resource/SyntaxEng.gf]. [SyntaxIta resource/SyntaxIta.gf]: definitions of syntactic structures |
