The problem of outputting all parse trees of a string accepted by a context-free grammar is considered. A systolic algorithm is presented that operates in O(m · n) time, where m is the number of distinct parse trees and n is the length of the input. The systolic array uses n2 processors, each of which requires at most O(log n) bits of storage. This is much more space-efficient than a previously reported systolic algorithm for the same problem, which required O(n log n) space per processor. The algorithm also extends previous algorithms that only output a single parse tree of the input.
CITATION STYLE
Ibarra, O. H., & Palis, M. A. (1989). An efficient all-parses systolic algorithm for general context-free parsing. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 382 LNCS, pp. 403–419). Springer Verlag. https://doi.org/10.1007/3-540-51542-9_34
Mendeley helps you to discover research relevant for your work.