We present a linear-time algorithm to decide for any fixed deterministic context-free language L and input string w whether w is 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 process incorrect input in linear time.
CITATION STYLE
Nederhof, M. J., & Bertsch, E. (1996). Linear-time suffix parsing for deterministic languages. Journal of the ACM, 43(3), 524–554. https://doi.org/10.1145/233551.233555
Mendeley helps you to discover research relevant for your work.