An Overview of the Nigel Text Generation Grammar

William C. MannACL 1983

Developed in 1983 by William C. Mann at USC’s Information Sciences Institute, Nigel is a pioneering computational grammar designed for natural language generation. As a core component of the "Penman" project, Nigel was built to bridge the gap between abstract computer data and fluent, functional English text. Unlike the parsing-focused linguistics of its era, Nigel focuses on the choice—how a system selects the most appropriate linguistic form to meet a specific communicative goal.

The Functional Challenge in Generation

In the early 1980s, computational linguistics was dominated by parsing (understanding) text. Generating text presented a unique challenge: moving from a "text need" (a goal or piece of data) to a specific, appropriate sentence. The difficulty lay not just in syntax (legality) but in function (appropriateness). Traditional structural grammars often acted as "black boxes" that failed to explain the why behind linguistic choices. Mann’s Nigel grammar sought to be "regulated" by a program’s goals, ensuring generated text was contextually relevant.

Methodology: Systemic Functional Foundations

Nigel is built on Systemic Functional Linguistics (SFL), which views language as a network of choices. The grammar consists of three primary components:

  1. Systems and Gates: Nigel uses "systems" as points of choice where one grammatical feature must be selected (e.g., singular vs. plural). "Gates" trigger specific realizations without requiring a choice.
  2. Realization Operators: Once a choice is made, these operators build the structure through actions like Insert (adding a function), Conflate (merging functions), and Order (arranging word sequence).
  3. Choosers and Inquiries: This is Nigel's "secret sauce." Every choice point is linked to a chooser (a choice expert). The chooser is a procedure that presents inquiries (questions) to the "environment" (the knowledge base or text plan).
A decision tree representing a chooser for process types, illustrating how Nigel navigates linguistic choices.

As shown in the decision tree above, the grammar determines the type of process (e.g., Mental, Verbal, or Material) by asking a series of semantic questions. These inquiries are formally defined to ensure the grammar receives the specific information it needs from the knowledge base.

Definitions of inquiries used by the chooser mechanism to interface with the knowledge base.

This creates a "dialogue" where the grammar asks the questions it needs to produce a correct sentence, and the environment provides the necessary facts.

Implementation and Scale

Nigel was a massive undertaking for its time, implemented in Interlisp. It featured:

  • Scale: Approximately 220 systems, making it the largest systemic grammar expressed in a single notation at the time.
  • Lexicon: A formal lexicon of ~2,000 items categorized by 130 lexical features.
  • Syntactic Diversity: Nigel proved capable of generating complex, academic English, including the structures found in the paper's own abstract.

Key Insights

  • Grammar as a Negotiator: Nigel treats generation as a negotiation between the "rules of English" and the "facts of the world."
  • Functional Explanations: By associating grammatical entities with their functions, Nigel is inherently suited for goal-directed generation.
  • Independence from Representation: Nigel can generate text from various data formats (databases, frames, etc.) as long as the system can answer its inquiries.
  • Localization of Control: Placing choosers inside the grammar prevents the coordination problems common in frameworks where rules are managed externally.

Limitations and Future Directions

While groundbreaking, Mann acknowledged several areas for growth. The semantic account provided by the "choosers" was considered incomplete. Additionally, the early version of Nigel lacked a formal provision for morphology and required a sophisticated "Text Planner" to decide what to say before Nigel could decide how to say it. Finally, the system relied on the environment being "smart" enough to answer complex linguistic inquiries, a high bar for 1980s knowledge representation.

Summary updated

BibTeX
@inproceedings{mann1983overview,
  author = {William C. Mann},
  title = {{An Overview of the Nigel Text Generation Grammar}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1983},
  doi = {10.3115/981311.981326},
}
Figure