About 118,000 results
Open links in new tab
  1. CYK algorithm - Wikipedia

    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 …

  2. Cocke–Younger–Kasami (CYK) Algorithm - GeeksforGeeks

    Jul 15, 2025 · How does the CYK Algorithm work? For a string of length N, construct a table T of size N x N. Each cell in the table T [i, j] is the set of all constituents that can produce the …

  3. CYK Algorithm in 5 minutes - YouTube

    Learn how to use the CYK (Cocke–Younger–Kasami) algorithm to check if a string belongs to a context-free grammar! In this step-by-step tutorial, I walk you through the CYK algorithm with a …

  4. CYK Algorithm Handout Every Context-free language can be decided in polynomial time, using the CYK (Cook, Younger, and Kura-towski) dynamic programming algorithm.

  5. CYK Algorithm - scranton.edu

    The CYK algorithm (named for Cocke, Young, and Kasami, each of whom develeped it independently of the others in the mid-1960's) solves the membership problem for context-free …

  6. The CYK algorithm, named after Cocke, Younger, and Kasami, is an algorithm for deciding if a string is in a context-free language. In particular: given a grammar G in Chomsky Normal Form …

  7. Theoretical Computer Science

    The Cocke-Younger-Kasami (CYK) algorithm is a parsing algorithm for context-free grammars. It determines whether a string can be generated by a grammar and, if so, how it can be generated.

  8. Example (The CYK Parsing Algorithm) The CYK algorithm is much easier to perform if we use an n n table. The entry in row i, column j is the set Vij. We begin by initializing the diagonal …

  9. After the CYK algorithm is executed, each cell will contain the variable(s) that can generate the substring represented by the cell. Cell X(1; 6) represents the entire string x1;6.

  10. CYK Algorithm for Context Free Grammar - GeeksforGeeks

    Jul 15, 2025 · In order to apply CYK algorithm to a grammar, it must be in Chomsky Normal Form. It uses a dynamic programming algorithm to tell whether a string is in the language of a grammar.