Introduction
Computational grammar engineering is traditionally a labor-intensive, manual process. Linguists often build separate grammars for different formalisms—such as Lexical Functional Grammar (LFG) and Tree-Adjoining Grammar (TAG)—and different languages from scratch. This research introduces a "MetaGrammar" (MG) framework that allows for the simultaneous generation of consistent, parallel grammars across formalisms and languages, significantly reducing redundancy and manual effort.
The Challenge of Grammar Engineering
Building high-quality computational grammars is expensive. While TAG uses tree structures and LFG uses functional equations, both formalisms often model the same core linguistic phenomena: subcategorization (the arguments a verb requires) and valency alternations (transformations like the passive voice). Traditionally, these were developed in silos. The authors address this inefficiency by proposing a higher-level abstraction that captures universal linguistic truths in a single, reusable hierarchy.
Methodology: The MetaGrammar Compiler
The core of this approach is the MetaGrammar (MG), which functions as a compiler for linguistics. Instead of writing individual rules, developers define a three-dimensional hierarchy of classes:
- Subcategorization: Defines basic verb types (e.g., transitive, ditransitive).
- Valency Alternations: Handles transformations such as the passive voice or causatives.
- Surface Realization: Defines how arguments appear (e.g., as a noun phrase or a pronoun).
The system utilizes HyperTags—framework-independent feature structures—to track these characteristics. A "needs/provides" model (similar to linear logic) ensures structural integrity: a transitive verb "needs" a subject and an object; if the MG does not provide exactly those, the resulting rule is discarded as invalid.
When the MG tool "crosses" these dimensions, it generates "decorated trees." These are then automatically converted into either TAG elementary trees or LFG rewriting rules and lexical templates. The authors extended the LORIA MG tool to handle LFG-specific requirements, such as functional uncertainty for long-distance dependencies.
Key Insights and Results
The system was evaluated based on its coverage of linguistic phenomena rather than a traditional machine learning dataset. From a compact hierarchy of 189 classes, the system automatically generated approximately 550 TAG trees and 140 LFG rules.
Framework Neutrality and Consistency
By focusing on the "resources" a verb requires rather than the specific formalism's representation, the authors demonstrated that TAG and LFG can share a massive amount of underlying logic. Because the grammars are generated from the same source, an English TAG grammar and a French LFG grammar are guaranteed to handle core phenomena, like the passive, in a theoretically consistent manner.
Multilingualism
The majority of MG classes were successfully shared between English and French. Language-specific differences, such as French clitic placement, were managed using simple binary features (e.g., [French=+; English=-]), preventing the generation of ungrammatical rules for the incorrect language.
Limitations and Future Directions
While the framework effectively covers English and French, extending it to languages with more complex word-order variations, such as German, remains a current challenge. Additionally, while the MG approach reduces manual coding, the authors aim to eventually automate the extraction of these MetaGrammar hierarchies from existing large-scale treebanks. Managing the combinatorial explosion of rules in highly complex sentence structures also requires ongoing refinement of the hierarchy design.
Summary updated