Syntax-directed least-errors analysis for context-free languages: a practical approach

  • Authors:
  • Gordon Lyon

  • Affiliations:
  • National Bureau of Standards, U.S. Dept. of Commerce, Washington, DC

  • Venue:
  • Communications of the ACM
  • Year:
  • 1974

Quantified Score

Hi-index 48.25

Visualization

Abstract

A least-errors recognizer is developed informally using the well-known recognizer of Earley, along with elements of Bellman's dynamic programming. The analyzer takes a general class of context-free grammars as drivers, and any finite string as input. Recognition consists of a least-errors count for a corrected version of the input relative to the driver grammar. The algorithm design emphasizes practical aspects which help in programming it.