Linear-time suffix parsing for deterministic languages

  • Authors:
  • Mark-Jan Nederhof;Eberhard Bertsch

  • Affiliations:
  • University of Groningen, Faculty of Arts, P.O. Box 716, 9700 AS Groningen, The Netherlands;Ruhr University, Bochum, Germany

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1996

Quantified Score

Hi-index 0.01

Visualization

Abstract

We present a linear-time algorithm to decide for any fixed deterministic context-free language L and input string w whether wis a suffix of some string in L. In contrast to a previously published technique, the decision procedure may be extended to produce syntactic structures (parses) without an increase in time complexity. We also show how this algorithm may be applied to pocess incorrect input in linear time.