A practical algorithm for intersecting weighted context-free grammars with finite-state automata

  • Authors:
  • Thomas Hanneforth

  • Affiliations:
  • University of Potsdam, Germany

  • Venue:
  • FSMNLP '11 Proceedings of the 9th International Workshop on Finite State Methods and Natural Language Processing
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is well known that context-free parsing can be seen as the intersection of a context-free language with a regular language (or, equivalently, the intersection of a context-free grammar with a finite-state automaton). The present article provides a practical efficient way to compute this intersection by converting the grammar into a special finite-state automaton (the GLR(0)-automaton) which is subsequently intersected with the given finite-state automaton. As a byproduct, we present a generalisation of Tomita's algorithm to recognize several inputs simultaneously.