ACM Home Page
Please provide us with feedback. Feedback
An Improved Context-Free Recognizer
Full text PdfPdf (2.79 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 2 ,  Issue 3  (July 1980) table of contents
Pages: 415 - 462  
Year of Publication: 1980
ISSN:0164-0925
Authors
Susan L. Graham  Computer Science Division, University of California, Berkeley, CA
Michael Harrison and Walter L. Ruzzo  Computer Science Division, University of California, Berkeley, CA and Department of Computer Science, University of Washington, Seattle, WA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 57,   Citation Count: 47
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/357103.357112
What is a DOI?

ABSTRACT

A new algorithm for recognizing and parsing arbitrary context-free languages is presented, and several new results are given on the computational complexity of these problems. The new algorithm is of both practical and theoretical interest. It is conceptually simple and allows a variety of efficient implementations, which are worked out in detail. Two versions are given which run in faster than cubic time. Surprisingly close connections between the Cocke-Kasami-Younger and Earley algorithms are established which reveal that the two algorithms are “almost” identical.


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
ARLAZAROV, V.L., DINIC, E.A., KRONROD M.A., AND FARADZEV, I.A. On economical construction of the transitive closure of a directed graph. Dokl. Akad. Nauk SSSR 194 (1970), 487-488 (in Russian). {English translation Soviet Math. Dokl. 11, 5 (1970), 1209-1210.}
 
4
BAYER, P.J. Personal communication, 1977.
 
5
BOUCKAERT, M., PIROTrE, A., AHD SNELLING, M. Efficient parsing algorithms for general context free grammars. Inf. Sci. 8, 1 (Jan. 1975), 1-26.
 
6
COCKE, J., AND SCHWARTZ, J.I. Programming Languages and Their Compilers. Courant Institute of Mathematical Sciences, New York University, New York, 1970.
 
7
8
 
9
FLOYD, R.W. A machine-oriented recognition algorithm for context-free languages. Unpublished manuscript, 1969.
 
10
GALIL, Z. Two fast simulations which imply some fast string matching and palindrome-recognition algorithms. Inf. Process. Lett. 4, 4 (Jan. 1976), 85-87.
 
11
GELLER, M.M., A~O HARRISON, M.A. Characteristic parsing: A framework for producing compact deterministic parsers, I. J. Comput. Syst. Sci. 14, 3 (June 1977), 265-317.
 
12
GRAHAM, S.L., AND HARRISON, M.A. Parsing of general context-free languages. In Advances in Computers, I7ol. 14. Academic Press, New York, 1976, pp. 77-185.
13
14
 
15
 
16
HAYS, D.G. Automatic language-data processing. In Computer Applications in the Behavioral Sciences, H. Borko, Ed., Prentice-Hall, Englewood Cliffs, N.J., 1962, pp. 394-423.
 
17
HoPcRO~r, J.E., PAUL, W., ANO VALIANT, L. On time versus space and related problems. Conf. Record IEEE 16th Ann. Syrup. on Foundations of Computer Science, Berkeley, Calif., 1975, pp. 57-64.
18
19
 
20
KASAMI, T. An efficient recognition and syntax analysis algorithm for context free languages. Sci. Rep. AF CRL-65-758, Air Force Cambridge Research Laboratory, Bedford, Mass., 1965.
 
21
KNUTH, D.E. On the translation of languages from left to right. Inf. Control 8 (1965), 607-639.
22
 
23
LIPTON, R.J., A~O SNYDER, L. On the optimal parsing of speech. Res. Rep. No. 37, Dep. Computer Science, Yale Univ., New Haven, Conn., 1974.
24
 
25
MANACHER, G.K. An improved version of the Cocke-Younger-Kasami algorithm. Comput. Lang. 3 (1978), 127-133.
 
26
MARQUE-PuCm~N, G. Analyses des langages alg~briques. Th/~se de 3~ Cycle, Institute de Programmation, IP75-23, Universit~ Paris VI, 1975 (in French).
 
27
PRATT, V.R., LINGOL--A progress report. Advance Papers 4th Int. Joint Conf. on Artificial Intelligence, Tbilisi, Georgia, USSR, 1975, 422-428.
 
28
PRATT, V.R. Personal communication, 1976.
 
29
PRATT, V.R. Personal communication, 1977.
 
30
PRATT, V.R., AND STOCKMEYER, L.J. A characterization of the power of vector machines. J. Cornput. Syst. Sci. 12 (1976), 198-221.
 
31
 
32
33
 
34
Rvzzo, W.L. An improved characterization of the power of vector machines. In preparation.
 
35
TOWNLEY, J.G. The measurement of complex algorithms. Ph.D. Dissertation, Harvard Univ., Cambridge, Mass., 1973 (TR14-73).
 
36
VALIANT, L. General context free recognition in less than cubic time. J. Comput. Syst. Sci. 10 (1975), 308-315.
 
37
WEOBR~.i?, B. Studies in extensible programming languages. Ph.D. Dissertation, Harvard Univ., Cambridge, Mass., 1972.
 
38
WEICK~.R, R. Context free language recognition by a RAM with uniform cost criterion in time n21og n. In Symposium on New Directions and Recent Results in Algorithms and Complexity, J.F. Traub, Ed., Academic Press, New York, 1976.
 
39
YOVSCER, D.H. Recognition of context-free languages in time n3. Inf. Control 10, 2 (Feb. 1967), 189-208.

CITED BY  47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Collaborative Colleagues:
Susan L. Graham: colleagues
Michael Harrison and Walter L. Ruzzo: colleagues

Peer to Peer - Readers of this Article have also read: