Skip to main content
QUICK REVIEW

[Paper Review] The intersection of Finite State Automata and Definite Clause Grammars

Gertjan van Noord|ArXiv.org|Apr 28, 1995
Natural Language Processing TechniquesComputer Science8 references7 citations
TL;DR

This paper generalizes Bernard Lang's FSA-CFG parsing framework to Definite Clause Grammars (DCGs), showing that existing parsing algorithms can be extended to handle finite state automata (FSA) inputs. The key contribution is proving that determining whether the intersection of an FSA and a DCG is empty is undecidable—even for off-line parsable DCGs—highlighting fundamental limitations in robust parsing with unification grammars.

ABSTRACT

Bernard Lang defines parsing as the calculation of the intersection of a FSA (the input) and a CFG. Viewing the input for parsing as a FSA rather than as a string combines well with some approaches in speech understanding systems, in which parsing takes a word lattice as input (rather than a word string). Furthermore, certain techniques for robust parsing can be modelled as finite state transducers. In this paper we investigate how we can generalize this approach for unification grammars. In particular we will concentrate on how we might the calculation of the intersection of a FSA and a DCG. It is shown that existing parsing algorithms can be easily extended for FSA inputs. However, we also show that the termination properties change drastically: we show that it is undecidable whether the intersection of a FSA and a DCG is empty (even if the DCG is off-line parsable). Furthermore we discuss approaches to cope with the problem.

Motivation & Objective

  • To extend Bernard Lang's FSA-CFG parsing framework to Definite Clause Grammars (DCGs), enabling parsing with finite state automata as input.
  • To investigate how FSA inputs can model word lattices in speech understanding systems and robust parsing techniques via finite state transducers.
  • To analyze the termination and decidability properties of intersection between FSAs and DCGs, particularly focusing on emptiness checking.
  • To identify and address fundamental computational challenges arising when combining FSA and DCG parsing mechanisms.

Proposed method

  • Adapts existing parsing algorithms originally designed for string inputs to operate on FSA inputs by treating the input as a finite state automaton rather than a sequence of words.
  • Models the parsing process as the computation of the intersection between a finite state automaton (representing input) and a DCG (representing grammar).
  • Applies the concept of unification-based parsing to the FSA-DCG intersection, leveraging DCGs' ability to express complex syntactic and semantic constraints.
  • Uses formal language theory to analyze the computational complexity of the intersection operation, particularly focusing on termination and decidability.
  • Employs reductions from known undecidable problems to prove that emptiness of the FSA-DCG intersection is undecidable.
  • Discusses potential heuristics and approximations to manage the undecidability in practical parsing applications.

Experimental results

Research questions

  • RQ1Can standard parsing algorithms for DCGs be adapted to process finite state automata as input instead of strings?
  • RQ2What are the computational properties—especially termination and decidability—of the intersection between a finite state automaton and a DCG?
  • RQ3Is it decidable whether the intersection of a given FSA and a DCG is empty, even under restrictive conditions like off-line parsability?
  • RQ4How can the undecidability of emptiness checking be addressed in practical robust parsing systems using FSA inputs?

Key findings

  • Existing parsing algorithms for DCGs can be naturally extended to handle FSA inputs, preserving their core parsing mechanisms.
  • The intersection of an FSA and a DCG can be computed in principle, but the process may not terminate due to infinite derivations.
  • It is undecidable whether the intersection of a FSA and a DCG is empty, even when the DCG is off-line parsable, which implies no general algorithm can determine emptiness.
  • The undecidability result stems from the expressive power of DCGs combined with the structure of FSAs, leading to potentially infinite search spaces.
  • This undecidability poses a fundamental challenge for robust parsing systems relying on FSA inputs such as word lattices.
  • Practical approaches must rely on heuristics, pruning, or approximation techniques to manage non-termination and ensure computational feasibility.

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.