|
ABSTRACT
A new on-line context free language recognition algorithm is presented which is derived from Earley's algorithm and has several advantages over the original. First, the new algorithm not only is conceptually simpler than Earley's, but also allows significant speed improvements. Second, our algorithm serves to explain the connections between Earley's algorithm and the Cocke-Kasami-Younger algorithm. Third, our algorithm allows an implementation which uses only 0(n2/log n) operations on bit vectors of length n, or 0(n3/log n) operations on a RAM. This makes it the fastest known on-line context free language recognition algorithm.
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," Doklady Akademii Nauk SSSR, Vol. 194, pp. 487-488, 1970.
|
| |
4
|
Bouckaert, M., Pirotte, A. and Snelling, M., "Efficient parsing algorithms for general context free grammars," Information Sciences, Vol. 8, pp. 1-26, 1975.
|
 |
5
|
|
| |
6
|
Graham, S.L. and Harrison, M.A., "Parsing of general context-free languages," in Advances in Computers, Vol. 14 (M. Yovits and M. Rubinoff, eds.), pp. 77-185, Academic Press, New York, 1976.
|
 |
7
|
|
| |
8
|
Kasami, T., "An efficient recognition and syntax analysis algorithm for context free languages," Science Report AF CRL-65-758, Air Force Cambridge Research Laboratory, Bedford, Mass., 1965.
|
| |
9
|
Knuth, D.E., "On the translation of languages from left to right," Information and Control, Vol. 8, pp. 607-639, 1965.
|
 |
10
|
|
| |
11
|
Valiant, L., "General context free recognition in less than cubic time," Journal of Computer and System Science, Vol. 10, pp. 308-315, 1975.
|
 |
12
|
|
| |
13
|
Younger, D.H., "Recognition and parsing of context-free languages in time n3," Information and Control, Vol. 10, pp. 189-208, 1967.
|
|