mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
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].
|
|
|
|
[big big/]
|
|
grammars built from the resource by extending the
|
|
lexicon with several thousands of words. Still very buggy.
|
|
|
|
[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].
|