forked from GitHub/gf-core
81 lines
2.5 KiB
HTML
81 lines
2.5 KiB
HTML
<!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 <aarne (at) cs.chalmers.se></I><BR>
|
|
Last update: Fri Dec 22 15:07:56 2006
|
|
</FONT></CENTER>
|
|
|
|
<P>
|
|
Here are some examples of GF grammars.
|
|
</P>
|
|
<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="big/">big</A>
|
|
grammars built from the resource by extending the
|
|
lexicon with several thousands of words. Still very buggy.
|
|
</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>
|
|
<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.3 (http://txt2tags.sf.net) -->
|
|
<!-- cmdline: txt2tags index.txt -->
|
|
</BODY></HTML>
|