Global Information Lookup Global Information

CYK algorithm information


Cocke–Younger–Kasami algorithm (CYK)
ClassParsing with context-free grammars
Data structureString
Worst-case performance, where:
  • is length of the string
  • is the size of the CNF grammar

In computer science, the Cocke–Younger–Kasami algorithm (alternatively called CYK, or CKY) is a parsing algorithm for context-free grammars published by Itiroo Sakai in 1961.[1][2] The algorithm is named after some of its rediscoverers: John Cocke, Daniel Younger, Tadao Kasami, and Jacob T. Schwartz. It employs bottom-up parsing and dynamic programming.

The standard version of CYK operates only on context-free grammars given in Chomsky normal form (CNF). However any context-free grammar may be algorithmically transformed into a CNF grammar expressing the same language (Sipser 1997).

The importance of the CYK algorithm stems from its high efficiency in certain situations. Using big O notation, the worst case running time of CYK is , where is the length of the parsed string and is the size of the CNF grammar (Hopcroft & Ullman 1979, p. 140). This makes it one of the most efficient [citation needed] parsing algorithms in terms of worst-case asymptotic complexity, although other algorithms exist with better average running time in many practical scenarios.

  1. ^ Grune, Dick (2008). Parsing techniques : a practical guide (2nd ed.). New York: Springer. p. 579. ISBN 978-0-387-20248-8.
  2. ^ Itiroo Sakai, “Syntax in universal translation”. In Proceedings 1961 International Conference on Machine Translation of Languages and Applied Language Analysis, Her Majesty’s Stationery Office, London, p. 593-608, 1962.

and 23 Related for: CYK algorithm information

Request time (Page generated in 0.8186 seconds.)

CYK algorithm

Last Update:

Cocke–Younger–Kasami algorithm (alternatively called CYK, or CKY) is a parsing algorithm for context-free grammars published by Itiroo Sakai in 1961. The algorithm is named...

Word Count : 2179

Cyk

Last Update:

Cyk or CYK may refer to: CYK algorithm, a grammar-related algorithm Cyk, Greater Poland Voivodeship (west-central Poland) Cyk, Masovian Voivodeship (east-central...

Word Count : 73

List of algorithms

Last Update:

expressions CYK algorithm: an O(n3) algorithm for parsing context-free grammars in Chomsky normal form Earley parser: another O(n3) algorithm for parsing...

Word Count : 7843

Matrix multiplication algorithm

Last Update:

operations Computational complexity of matrix multiplication CYK algorithm § Valiant's algorithm Matrix chain multiplication Sparse matrix–vector multiplication...

Word Count : 4327

Parsing

Last Update:

used to perform a first pass. Algorithms which use context-free grammars often rely on some variant of the CYK algorithm, usually with some heuristic to...

Word Count : 4857

GLR parser

Last Update:

tree. Recognition using the GLR algorithm has the same worst-case time complexity as the CYK algorithm and Earley algorithm: O(n3).[citation needed] However...

Word Count : 850

Chomsky normal form

Last Update:

significance, CNF conversion is used in some algorithms as a preprocessing step, e.g., the CYK algorithm, a bottom-up parsing for context-free grammars...

Word Count : 1924

Memoization

Last Update:

demonstrated that an algorithm similar to the use of dynamic programming and state-sets in Earley's algorithm (1970), and tables in the CYK algorithm of Cocke, Younger...

Word Count : 3744

Computational complexity of matrix multiplication

Last Update:

complexity of mathematical operations CYK algorithm, §Valiant's algorithm Freivalds' algorithm, a simple Monte Carlo algorithm that, given matrices A, B and C...

Word Count : 4178

Earley parser

Last Update:

in an order of magnitude. CYK algorithm Context-free grammar Parsing algorithms Kegler, Jeffrey. "What is the Marpa algorithm?". Retrieved 20 August 2013...

Word Count : 1997

Timeline of algorithms

Last Update:

Dantzig algorithm for shortest path in a graph with negative edges 1967 – Viterbi algorithm proposed by Andrew Viterbi 1967 – Cocke–Younger–Kasami (CYK) algorithm...

Word Count : 2097

Parsing expression grammar

Last Update:

parsing algorithms are capable of recognizing this example. However, this grammar can be used by a general CFG parser like the CYK algorithm. However...

Word Count : 6426

Ambiguous grammar

Last Update:

pushdown automata and can be parsed in polynomial time, for example by the CYK algorithm. Unambiguous context-free grammars can be nondeterministic. For example...

Word Count : 1820

CKY

Last Update:

radio station, Winnipeg, Canada, later CBW (AM) CYK algorithm or Cocke–Younger–Kasami algorithm, usually CYK but sometimes CKY Conakry International Airport...

Word Count : 130

Packrat parser

Last Update:

the line terminator we can apply the packrat algorithm CYK algorithm Context-free grammar Parsing algorithms Earley parser Ford, Bryan (2006). "Packrat...

Word Count : 1860

Chart parser

Last Update:

named for its inventor. Another chart parsing algorithm is the Cocke-Younger-Kasami (CYK) algorithm. Chart parsers can also be used for parsing computer...

Word Count : 267

Tadao Kasami

Last Update:

correcting codes. He was the earliest to publish the key ideas for the CYK algorithm, separately discovered by Daniel Younger (1967) and John Cocke (1970)...

Word Count : 192

LR parser

Last Update:

handled by parsers like Generalized LR parser, the Earley parser, or the CYK algorithm that can simultaneously compute all possible parse trees in one pass...

Word Count : 8128

Triangular array

Last Update:

triangular matrices, triangular arrays are used in several algorithms. One example is the CYK algorithm for parsing context-free grammars, an example of dynamic...

Word Count : 724

Index of computing articles

Last Update:

Cracking (passwords) – Cryptanalysis – Cryptography – Cybersquatting – CYK algorithm – Cyrix 6x86 D – Data compression – Database normalization – Decidable...

Word Count : 1383

Iterative Viterbi decoding

Last Update:

a simple modification to Viterbi. A modification that can be applied to CYK tables, proposed by Antoine Rozenknop, consists in subtracting e from all...

Word Count : 431

JFLAP

Last Update:

context-free grammar to pushdown automaton pumping lemma for context-free language CYK parser LL parser SLR parser Topics on recursively enumerable language: Turing...

Word Count : 1144

List of programming language researchers

Last Update:

design and theory of compilers, ..., and ...; co-developed the CYK parsing algorithm Alain Colmerauer, creator of Prolog Richard W. Conway, for the introductory...

Word Count : 5830

PDF Search Engine © AllGlobal.net