# GF Resource Grammar Library v. 1.0

Author: Aarne Ranta <aarne (at) cs.chalmers.se>
Last update: Tue Feb 21 16:23:46 2006

- The language independent API
- The language-dependent APIs
- Special-purpose APIs
  - Multimodal
  - Mathematical

Notice. This document concerns the API v. 1.0 which has not yet been "officially" released. You can find the beginnings of it in `GF/lib/resource-1.0/`. See the `resource-1.0/README` for details on how it differs from previous versions and how much has been implemented

## The language independent API

The API is divided into a bunch of `abstract` modules. The following figure gives the dependencies of these modules.

The documentation of the individual modules:

- Common: abstract notions with language-indep. implementations
- Cat: the category system
- Noun: construction of nouns and noun phrases
- Adjective: construction of adjectival phrases
- Verb: construction of verb phrases
- Adverb: construction of adverbial phrases
- Numeral: construction of cardinal and ordinal numerals
- Sentence: construction of sentences and imperatives
- Question: construction of questions
- Relative: construction of relative clauses
- Conjunction: coordination of phrases
- Phrase: construction of the major units of text and speech
- Text: construction of texts from phrases, using punctuation
- Idiom: idiomatic phrases, such as existentials
- Structural: a lexicon of structural words
- Lexicon: a lexicon of other common words, for test purposes
- Lang: the main module comprising all the others

## The language-dependent APIs

- ParadigmsEng: English lexical paradigms
- ParadigmsFin: Finnish lexical paradigms
- ParadigmsFre: French lexical paradigms
- ParadigmsIta: Italian lexical paradigms
- ParadigmsGer: German lexical paradigms
- ParadigmsNor: Norwegian lexical paradigms
- ParadigmsSpa: Spanish lexical paradigms
- ParadigmsSwe: Swedish lexical paradigms

- IrregEng: English irregular verbs
- IrregFre: French irregular verbs
- IrregNor: Norwegian irregular verbs
- IrregSwe: Swedish irregular verbs

## Special-purpose APIs

### Multimodal

- Multimodal: main module for multimodal dialogue systems
- Demonstrative: demonstrative noun phrases and adverbs

### Mathematical

- Mathematical: main module for mathematical language
- Predication: predication with verbs, adjectives, etc
- Symbol: symbols and numbers in text