example index

This commit is contained in:
aarne
2006-03-10 10:05:49 +00:00
parent eca7de185a
commit c5eea4b375
2 changed files with 149 additions and 0 deletions

88
examples/index.html Normal file
View File

@@ -0,0 +1,88 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE>GF Grammar Examples</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1>GF Grammar Examples</H1>
<FONT SIZE="4">
<I>Author: Aarne Ranta &lt;aarne (at) cs.chalmers.se&gt;</I><BR>
Last update: Fri Mar 10 11:05:35 2006
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">This directory</A>
<LI><A HREF="#toc2">More examples</A>
</UL>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<P>
Here are some examples of GF grammars.
</P>
<A NAME="toc1"></A>
<H2>This directory</H2>
<P>
<A HREF="animal/">animal</A>
is a small grammar for queries about animals
(<CODE>"who chases lions"</CODE>). Its aim is demonstrate
example-based grammar writing using the
<A HREF="../lib/resource-1.0/doc">resource grammar library</A>.
</P>
<P>
<A HREF="bronzeage/">bronzeage</A>
defines a set of grammars using the
<A HREF="http://en.wiktionary.org/wiki/Swadesh_List">Swadesh list</A>
to perform basic communication in eight languages.
It is also another illustration of the use of the
<A HREF="../lib/resource-1.0/doc">resource grammar library</A>.
</P>
<P>
<A HREF="gfcc/">gfcc</A>
shows a small C compiler written in GF.
It is explained in the paper
<A HREF="../doc/gfcc.pdf">Declarative Language Definitions and Code Generation as Linearization</A>
</P>
<P>
<A HREF="letter/">letter</A>
is a package for love and business letters in six languages.
Its aimed is to illustrate
multilingual authoring, as shown in this
<A HREF="http://www.cs.chalmers.se/~markus/gramlets/letter-applet.html">demo applet</A>.
</P>
<P>
<A HREF="numerals/">numerals</A>
is a set of grammars for number words from 1 to 999,999 in 88
languages. It can also be tested in this
<A HREF="http://www.cs.chalmers.se/~bringert/gf/translate/">demo applet</A>.
</P>
<P>
<A HREF="stoneage/">stoneage</A>
is an earlier version of <A HREF="bronzeage/">bronzeage</A>.
</P>
<P>
<A HREF="tram/">tram</A>
is an illustration of the
<A HREF="../lib/resource-1.0/doc">resource grammar library</A>,
in particular of multimodal grammars that combine
speech with mouse clicks.
</P>
<A NAME="toc2"></A>
<H2>More examples</H2>
<P>
<A HREF="../doc/gf-quickstart.html">GF Quick start</A>
</P>
<P>
<A HREF="../doc/tutorial/gf-tutorial2.html">GF Grammarian's Tutorial</A>
</P>
<P>
<A HREF="../lib/resource-1.0/doc">GF resource grammar library</A>.
</P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -\-toc -thtml index.txt -->
</BODY></HTML>

61
examples/index.txt Normal file
View File

@@ -0,0 +1,61 @@
GF Grammar Examples
Author: Aarne Ranta <aarne (at) cs.chalmers.se>
Last update: %%date(%c)
% NOTE: this is a txt2tags file.
% Create an html file from this file using:
% txt2tags --toc -thtml index.txt
%!target:html
Here are some examples of GF grammars.
==This directory==
[animal animal/]
is a small grammar for queries about animals
(``"who chases lions"``). Its aim is demonstrate
example-based grammar writing using the
[resource grammar library ../lib/resource-1.0/doc].
[bronzeage bronzeage/]
defines a set of grammars using the
[Swadesh list http://en.wiktionary.org/wiki/Swadesh_List]
to perform basic communication in eight languages.
It is also another illustration of the use of the
[resource grammar library ../lib/resource-1.0/doc].
[gfcc gfcc/]
shows a small C compiler written in GF.
It is explained in the paper
[Declarative Language Definitions and Code Generation as Linearization ../doc/gfcc.pdf]
[letter letter/]
is a package for love and business letters in six languages.
Its aimed is to illustrate
multilingual authoring, as shown in this
[demo applet http://www.cs.chalmers.se/~markus/gramlets/letter-applet.html].
[numerals numerals/]
is a set of grammars for number words from 1 to 999,999 in 88
languages. It can also be tested in this
[demo applet http://www.cs.chalmers.se/~bringert/gf/translate/].
[stoneage stoneage/]
is an earlier version of [bronzeage bronzeage/].
[tram tram/]
is an illustration of the
[resource grammar library ../lib/resource-1.0/doc],
in particular of multimodal grammars that combine
speech with mouse clicks.
==More examples==
[GF Quick start ../doc/gf-quickstart.html]
[GF Grammarian's Tutorial ../doc/tutorial/gf-tutorial2.html]
[GF resource grammar library ../lib/resource-1.0/doc].