Context-Free Language Processing in Time n^3
暂无分享,去创建一个
Three problems in language processing are the recognition of strings that are sentences of a given language, the parsing of sentences according to a given grammar, and the syntax-directed translation of sentences in one language to those in another. Limiting our attention to context-free languages, we consider first the simplest of these problems--recognition. A procedure is given whereby for an arbitrary string of length n and a specification of a context-free grammar, the string is recognized as generated by that grammar or not; the time, i.e. number of steps, required by this algorithm is proportional to n3. For a linear or metalinear grammar, this procedure is simplified to yield recognition in time Kn2. The algorithm for recognition is then extended to procedures for parsing and syntax-directed translation.
[1] J. Hartmanis,et al. On the Computational Complexity of Algorithms , 1965 .
[2] Noam Chomsky,et al. On Certain Formal Properties of Grammars , 1959, Inf. Control..
[3] Richard Edwin Stearns,et al. Syntax Directed Transduction , 1966, SWAT.
[4] Daniel H. Younger,et al. Recognition and Parsing of Context-Free Languages in Time n^3 , 1967, Inf. Control..