diff --git a/doc/gf-quickstart.html b/doc/gf-quickstart.html index 2da3ff192..91aaea659 100644 --- a/doc/gf-quickstart.html +++ b/doc/gf-quickstart.html @@ -20,14 +20,13 @@ Aarne Ranta This Quick Start shows two examples of how GF can be used. We assume that you have downloaded and installed GF, so that the command gf works for you. See download and install -instructions here. +instructions here.
- jgf Letter.gfcm + gfeditor Letter.gfcm
-New Grammarian's Tutorial, -Now up-to-date for GF version 2.4, although some -sections are still unwritten. Also available in -pdf. - - -
- -Old Grammarian's Tutorial -on writing GF grammars, with exercises. GF v 1.2, before the module system. - - - - +GF Tutorial, +Now up-to-date for GF version 2.9. Covers all of GF.
-History of changes. Up to date with -the current darcs version of GF. - -
- -Module system document, complements the -JFP paper -by a description of the module system. +GF Reference Manual. A full-scale reference +manual of the GF language.
@@ -67,75 +62,45 @@ on editing in the Java interface.
- -Syntax specification (pdf) of the GF grammar formalism. -Generated by the BNF Converter from the same source as the language -parser. - -
- - -Syntax specification of GFC (pdf), the low-level formalism -to which GF is compiled. -Generated by the BNF Converter from the same source as the language -parser. - -
- -The GF Transfer language document. - -
- Chart of GF grammar compiler phases.
- -Resource Grammar Synopsis. -With APIs and use examples, for Resource v. 1.2. +Resource Grammar Tutorial Chapter.
- -GF Resource Grammar Library -user's manual, for API v 1.0. +Resource Grammar Synopsis +for library users. With APIs and use examples.
- -On-line resource grammar library documentation -in progress for API v 1.0. - -
- - -Resource grammar writing HOWTO -document in progress (forthcoming API v 1.0). - -
- -Old resource grammar library -document (v 0.9). + +Resource Grammar HOWTO +for library authors.
+ Embedded GF Interpreter manual for using GF grammars in Java programs.
- + Embedded GF API for using GF grammars in Haskell programs.
- + MCFG/GF library for Prolog, for using GF grammars in Prolog programs. @@ -152,16 +117,16 @@ The standard reference on GF.
- + Expressivity and Complexity of the Grammatical Framework, PhD Thesis by -Peter Ljunglöf. +Peter Ljunglöf.
@@ -172,14 +137,7 @@ Slides on GF theory and implementation given at INRIA Rocquencourt in December 2003.
- - -Slides on multilingual grammar engineering and some examples of -using the module system of GF. - -
- + Slides on example-based grammar writing and a short introduction diff --git a/doc/old-news.html b/doc/old-news.html index f51019548..89f608510 100644 --- a/doc/old-news.html +++ b/doc/old-news.html @@ -4,6 +4,25 @@
+ +August 31, 2007. GF Graduate Course +organized by GSLT: first module +September 13-14 in Gothenburg. + +
+ +July 8, 2007. GF 2.8 released. Some highlights: +
diff --git a/download/index.html b/download/index.html new file mode 100644 index 000000000..5a6d65609 --- /dev/null +++ b/download/index.html @@ -0,0 +1,56 @@ + +
+ +GF Version 2.9, released 21 December 2007 as sources: ++ tar xvfz GF-2.8-i386-pc-linux-gnu.tgz + cd GF-2.8-i386-pc-linux-gnu + ./configure + make install ++You may need sudo make install; if you cannot write in +/usr/local/, you can change the target directory +by ./configure --prefix=MYDIR. + + +
+ +Don't forget that you can always get the current sources from the +GF Darcs Repository. First time you do +
+ darcs get --partial --set-scripts-executable http://www.cs.chalmers.se/Cs/Research/Language-technology/darcs/GF/ ++and subsequent times +
+ darcs pull -a ++Then compile and install as described in +GF/src/INSTALL. + + + + diff --git a/index.html b/index.html index bf39e8ea1..f352fd4ad 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ -
@@ -23,25 +23,21 @@ July 8, 2007. "doc">Documentation | Download +"download/">Download | Developers -| -Changes +"http://www.cs.chalmers.se/Cs/Research/Language-technology/darcs/GF/doc/darcs.html">LatestCode | QuickStart | Tutorial +"doc/gf-tutorial.html">Tutorial | Libraries +"doc/gf-refman.html">ReferenceManual | -Examples +Libraries | NumeralDemo @@ -56,30 +52,24 @@ July 8, 2007.
-August 31, 2007. GF Graduate Course -organized by GSLT: first module -September 13-14 in Gothenburg. - -
- -July 8, 2007. GF 2.8 released. Some highlights: +December 21, 2007.
-News before 2.7. +News before 2.9.
-The are licensed under -GNU Lesser General Public License (LGPL). +The GF Grammar Libraries are licensed under +GNU Lesser General Public License (LGPL). @@ -166,7 +156,12 @@ of a multimodal dialogue system built with embedded grammars.
-Resource grammar library: +Example grammars used in the +GF tutorial. + +
+ +Resource grammar library: basic structures of ten languages (Danish, English, Finnish, French, German, Italian, Norwegian, Russian, Spanish, Swedish). @@ -181,8 +176,7 @@ but they can also be useful for language training. GF is available for several platforms: Linux, Mac OS X, Microsoft Windows, and Sun OS. To get GF, go to the -Download Page -(at SourceForge). +Download Page.
-The -Download Page (at SourceForge) gives links to source and binary packages, as well as +The Download Page +gives links to source and binary packages, as well as information on compiler requirements.
@@ -234,40 +228,30 @@ See the Documentation page.
@@ -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/lib/resource/doc/index.txt b/lib/resource/doc/index.txt index 681c0237e..86d1f3d0c 100644 --- a/lib/resource/doc/index.txt +++ b/lib/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/lib/resource/doc/synopsis-browse.txt b/lib/resource/doc/synopsis-browse.txt index afc00d6f5..de28c3c8c 100644 --- a/lib/resource/doc/synopsis-browse.txt +++ b/lib/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/lib/resource/doc/synopsis-intro.txt b/lib/resource/doc/synopsis-intro.txt index a670eb738..5a473d241 100644 --- a/lib/resource/doc/synopsis-intro.txt +++ b/lib/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/lib/resource/doc/synopsis.html b/lib/resource/doc/synopsis.html index 869b6e35a..e9514b192 100644 --- a/lib/resource/doc/synopsis.html +++ b/lib/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