diff --git a/resource/doc/MkSynopsis.hs b/resource/doc/MkSynopsis.hs index a025feb24..48ba73153 100644 --- a/resource/doc/MkSynopsis.hs +++ b/resource/doc/MkSynopsis.hs @@ -14,7 +14,7 @@ main = do cs2 <- getCats catAPI let cs = sortCats (cs1 ++ cs2) writeFile synopsis "GF Resource Grammar Library: Synopsis" - append "Aarne Ranta" + append "B. Bringert and A. Ranta" space append "%!postproc(html): '(SRC=\"categories.png\")' '\\1 USEMAP=\"#categories\"'" append "%!postproc(html): '#LParadigms' ''" diff --git a/resource/doc/index.html b/resource/doc/index.html index 8c7e42f8b..139e7f554 100644 --- a/resource/doc/index.html +++ b/resource/doc/index.html @@ -7,7 +7,7 @@
@@ -28,20 +28,15 @@ Still incomplete implementations for Arabic and Catalan are also included.
-New in Version 1.2 +New in December 2007: Browsing the library by syntax editor +directly on the web.
-Inger Andersson and Therese Soderberg (Spanish morphology), Nicolas Barth and Sylvain Pogodalla (French verb list), Ali El Dada (Arabic modules), +Magda Gerritsen and Ulrich Real (Russian paradigms and lexicon), Janna Khegai (Russian modules), Bjorn Bringert (many Swadesh lexica), Carlos Gonzalía (Spanish cardinals), diff --git a/resource/doc/index.txt b/resource/doc/index.txt index 681c0237e..86d1f3d0c 100644 --- a/resource/doc/index.txt +++ b/resource/doc/index.txt @@ -26,12 +26,8 @@ Italian, Norwegian, Russian, Spanish, Swedish. Still incomplete implementations for Arabic and Catalan are also included. -**New in Version 1.2** -- Simpler APIs using overloading: see [Synopsis synopsis.html]. - The API of version 1.0 remains valid and can be used in combination with this. -- Bug fixes and new paradigms. -- Licensed under LGPL. - +**New** in December 2007: Browsing the library by syntax editor +[directly on the web ../../../demos/resource-api/editor.html]. @@ -41,6 +37,7 @@ included. Inger Andersson and Therese Soderberg (Spanish morphology), Nicolas Barth and Sylvain Pogodalla (French verb list), Ali El Dada (Arabic modules), +Magda Gerritsen and Ulrich Real (Russian paradigms and lexicon), Janna Khegai (Russian modules), Bjorn Bringert (many Swadesh lexica), Carlos Gonzalía (Spanish cardinals), diff --git a/resource/doc/synopsis-browse.txt b/resource/doc/synopsis-browse.txt index afc00d6f5..de28c3c8c 100644 --- a/resource/doc/synopsis-browse.txt +++ b/resource/doc/synopsis-browse.txt @@ -1,6 +1,12 @@ + + + =Browsing the libraries with GF commands= +**New**: Browsing by syntax editor +[directly on the web ../../../demos/resource-api/editor.html]. + All of the following assume ``` cd $GF_LIB_PATH diff --git a/resource/doc/synopsis-intro.txt b/resource/doc/synopsis-intro.txt index a670eb738..5a473d241 100644 --- a/resource/doc/synopsis-intro.txt +++ b/resource/doc/synopsis-intro.txt @@ -1,16 +1,25 @@ + + +=Introduction= + This document contains the most important parts of the GF Resource Grammar API. It has been machine-generated from the source files; each chapter gives a link to the relevant source files, which give more information. Some of the files have -not yet been prepared so that the machine generated documentation has the right format. +not yet been prepared so that the machine generated documentation has the right +format. -Since the character encoding is UTF-8 for Russian and Latin-1 for other languages, you +Since the character encoding is UTF-8 for Russian and Latin-1 for other +languages, you may have to change the encoding preference of your browser when reading different parts of the document. The second-last chapter gives instructions on how to "browse" the library by loading the grammars into the ``gf`` command editor. +**New**: Browsing by syntax editor +[directly on the web ../../../demos/resource-api/editor.html]. + The last chapter contains a brief example of how application grammars can import resource modules. At the same time, it illustrates a "design pattern" for using the resource API to build functor-based applications diff --git a/resource/doc/synopsis.html b/resource/doc/synopsis.html index 869b6e35a..e9514b192 100644 --- a/resource/doc/synopsis.html +++ b/resource/doc/synopsis.html @@ -6,19 +6,20 @@
This document contains the most important parts of the GF Resource Grammar API. It has been machine-generated from the source files; each chapter gives a link to the relevant source files, which give more information. Some of the files have -not yet been prepared so that the machine generated documentation has the right format. +not yet been prepared so that the machine generated documentation has the right +format.
-Since the character encoding is UTF-8 for Russian and Latin-1 for other languages, you +Since the character encoding is UTF-8 for Russian and Latin-1 for other +languages, you may have to change the encoding preference of your browser when reading different parts of the document.
@@ -123,11 +128,15 @@ The second-last chapter gives instructions on how to "browse" the library by loading the grammars into thegf command editor.
+New: Browsing by syntax editor +directly on the web. +
+The last chapter contains a brief example of how application grammars can import resource modules. At the same time, it illustrates a "design pattern" for using the resource API to build functor-based applications
- +
Source 1:
Source 2:
The chart below shows the categories in a hierarchical top-down order.
@@ -207,7 +216,7 @@ each category.
The rectangular boxes mark open lexical categories, which have constructors
also in the
Source 1:
@@ -3123,7 +3132,7 @@ source
@@ -3355,7 +3364,7 @@ source
@@ -3695,7 +3704,7 @@ source
@@ -3927,7 +3936,7 @@ source
@@ -4183,7 +4192,7 @@ source
@@ -4419,7 +4428,7 @@ source
@@ -4667,7 +4676,7 @@ source
@@ -4963,7 +4972,7 @@ source
@@ -5199,7 +5208,7 @@ source
@@ -5443,9 +5452,13 @@ source
+New: Browsing by syntax editor
+directly on the web.
+
All of the following assume
The standard way of building an application has the following modules.
http://www.cs.chalmers.se/~aarne/GF/lib/resource/abstract/Common.gf
@@ -135,7 +144,7 @@ Source 1: http://www.cs.chalmers.se/~aarne
http://www.cs.chalmers.se/~aarne/GF/lib/resource/abstract/Cat.gf
A hierarchic view
Paradigms modules.
Explanations
-
+
@@ -508,7 +517,7 @@ also in the Paradigms modules.
Syntax Rules and Structural Words
http://www.cs.chalmers.se/~aarne/GF/lib/resource/api/Constructors.gf
@@ -2873,9 +2882,9 @@ Lexical category, constructors given in
Lexical Paradigms
+Lexical Paradigms
+
Paradigms for Danish
http://www.cs.chalmers.se/~aarn
-
+
Paradigms for English
http://www.cs.chalmers.se/~aar
-
+
Paradigms for Finnish
http://www.cs.chalmers.se/~aar
-
+
Paradigms for French
http://www.cs.chalmers.se/~aarn
-
+
Paradigms for German
http://www.cs.chalmers.se/~aarn
-
+
Paradigms for Italian
http://www.cs.chalmers.se/~aar
-
+
Paradigms for Norwegian
http://www.cs.chalmers.se/~a
-
+
Paradigms for Russian
http://www.cs.chalmers.se/~aar
-
+
Paradigms for Spanish
http://www.cs.chalmers.se/~aar
-
+
Paradigms for Swedish
http://www.cs.chalmers.se/~aar
-
+
Browsing the libraries with GF commands
@@ -5480,7 +5493,7 @@ To view linearizations in all languages by parsing from English:
> p -cat=S -lang=LangEng "this grammar is too big" | tb
-
+
An Example of Usage