ACM Home Page
Please provide us with feedback. Feedback
Polynomial time and space shift-reduce parsing of arbitrary context-free grammars
Full text Publisher SitePublisher Site PdfPdf (734 KB)
Source Annual Meeting of the ACL archive
Proceedings of the 29th annual meeting on Association for Computational Linguistics table of contents
Berkeley, California
Pages: 106 - 113  
Year of Publication: 1991
Author
Yves Schabes  University of Pennsylvania, Philadelphia, PA
Publisher
Association for Computational Linguistics  Morristown, NJ, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 23,   Citation Count: 12
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: 10.3115/981344.981358

ABSTRACT

We introduce an algorithm for designing a predictive left to right shift-reduce non-determinisic push-down machine corresponding to an arbitrary unrestricted context-free grammar and an algorithm for efficiently driving this machine in pseudo-parallel. The performance of the resulting parser is formally proven to be superior to Earley's parser (1970).The technique employed consists in constructing before run-time a parsing table that encodes a non-deterministic machine in the which the predictive behavior has been compiled out. At run time, the machine is driven in pseudo-parallel with the help of a chart.The recognizer behaves in the worst case in O(|G|2n3)-time and O(|G|n2)-space. However in practice it is always superior to Earley's parser since the prediction steps have been compiled before run-time.Finally, we explain how other more efficient variants of the basic parser can be obtained by determinizing portions of the basic non-deterministic push-down machine while still using the same pseudo-parallel driver.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
4
 
5
Mark Johnson. 1989. The computational complexity of Tomita's algorithm. In Proceedings of the International Workshop on Parsing Technologies, Pittsburgh, August.
 
6
T. Kasami. 1965. An efficient recognition and syntax algorithm for context-free languages. Technical Report AF-CRL-65-758, Air Force Cambridge Research Laboratory, Bedford, MA.
 
7
James R. Kipps. 1989. Analysis of Tomita's algorithm for general context-free parsing. In Proceedings of the International Workshop on Parsing Technologies, Pittsburgh, August.
 
8
D. E. Knuth. 1965. On the translation of languages from left to right. Information and Control, 8:607--639.
 
9
10
 
11
Yves Schabes. 1991. Polynomial time and space shift-reduce parsing of context-free grammars and of tree-adjoining grammars. In preparation.
 
12
 
13
 
14
 
15
D. H. Younger. 1967. Recognition and parsing of context-free languages in time n3. Information and Control, 10(2):189--208.

CITED BY  12