Skip to main content
QUICK REVIEW

[Paper Review] Abstract Machine for Typed Feature Structures

Shuly Wintner, Nissim Francez|ArXiv.org|Apr 13, 1995
Logic, programming, and type systemsComputer Science10 references3 citations
TL;DR

This paper presents an abstract machine designed for typed feature structures used in linguistic formalisms like HPSG, enabling efficient unification of typed, possibly cyclic, feature structures through a compiled instruction set. The machine integrates control structures for parsing in phrase structure grammars, providing a formal operational semantics for linguistic grammars as declarative programs.

ABSTRACT

This paper describes an abstract machine for linguistic formalisms that are based on typed feature structures, such as HPSG. The core design of the abstract machine is given in detail, including the compilation process from a high-level language to the abstract machine language and the implementation of the abstract instructions. The machine's engine supports the unification of typed, possibly cyclic, feature structures. A separate module deals with control structures and instructions to accommodate parsing for phrase structure grammars. We treat the linguistic formalism as a high-level declarative programming language, applying methods that were proved useful in computer science to the study of natural languages: a grammar specified using the formalism is endowed with an operational semantics.

Motivation & Objective

  • To provide a formal operational semantics for linguistic formalisms based on typed feature structures, such as HPSG.
  • To design an abstract machine that supports the unification of typed, possibly cyclic, feature structures efficiently.
  • To compile high-level linguistic specifications into a low-level instruction set executable on the abstract machine.
  • To integrate control structures for parsing within phrase structure grammars into the machine's instruction set.
  • To apply established computer science compilation and execution techniques to natural language processing formalisms.

Proposed method

  • The abstract machine is defined with a core instruction set tailored for typed feature structure manipulation and unification.
  • A compilation process translates high-level linguistic formalisms into the abstract machine's low-level instruction language.
  • The machine's engine implements unification of typed, possibly cyclic, feature structures using explicit data structures and control flow.
  • Separate control instructions manage parsing behavior, supporting top-down or bottom-up processing in phrase structure grammars.
  • The design treats the linguistic formalism as a declarative programming language with well-defined operational semantics.
  • The implementation uses a stack-based execution model with explicit handling of feature structure sharing and cycles.

Experimental results

Research questions

  • RQ1How can typed feature structures in HPSG-like formalisms be compiled into an efficient, executable instruction set?
  • RQ2What is a suitable abstract machine architecture that supports unification of cyclic, typed feature structures?
  • RQ3How can control structures for parsing be integrated into a machine designed for feature structure manipulation?
  • RQ4Can established compilation and execution techniques from programming languages be effectively applied to linguistic formalisms?
  • RQ5What operational semantics can be defined for a linguistic formalism to enable precise, executable interpretation?

Key findings

  • The abstract machine successfully supports the unification of typed, possibly cyclic, feature structures through a well-defined instruction set.
  • The compilation process from high-level linguistic formalisms to the abstract machine language is self-contained and formally specified.
  • The machine's design enables efficient execution of linguistic grammars by leveraging established compilation techniques.
  • Control instructions for parsing are seamlessly integrated, allowing the machine to handle phrase structure grammar parsing.
  • The approach provides a formal operational semantics for HPSG-like formalisms, enabling precise execution and analysis.
  • The implementation demonstrates that linguistic formalisms can be treated as declarative programming languages with executable semantics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.