Premium
GF: A Multilingual Grammar Formalism
Author(s) -
Ranta Aarne
Publication year - 2009
Publication title -
language and linguistics compass
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.619
H-Index - 44
ISSN - 1749-818X
DOI - 10.1111/j.1749-818x.2009.00155.x
Subject(s) - computer science , grammar , affix grammar , mildly context sensitive grammar formalism , natural language processing , linguistics , artificial intelligence , programming language , generative grammar , attribute grammar , compiler , abstract syntax tree , emergent grammar , head driven phrase structure grammar , syntax , philosophy
GF (Grammatical Framework) is a grammar formalism designed for dealing with many languages simultaneously. A multilingual GF grammar has a language‐independent abstract syntax that deals with pure tree structures, and a set of language‐dependent concrete syntaxes that specify how the trees are expressed in different languages. Multilingual grammars formalize the idea that the same grammatical categories (such as noun phrases and verb phrases) and syntax rules (such as predication) can appear in different languages. They are also a powerful tool for natural language engineering, used for applications ranging from a translator of mathematical exercises to a dialogue system usable for talking with devices in a car. As a programming language, GF has constructs inherited from functional programming languages, an optimizing grammar compiler and code generation into several other formats. The most ambitious multilingual grammar is the GF Resource Grammar Library, which implements the main grammar rules of 12 languages. This library enables non‐linguist programmers to build linguistically correct applications. It is at the same time a linguistic experiment showing how far one can go in sharing structure between languages.