Math 2.0

Computer science Automata and formal languages Concept

CYK algorithm

Summary

The Cocke–Younger–Kasami (CYK) algorithm decides whether a word belongs to the language of a context-free grammar in Chomsky normal form. It is a dynamic programming method that finds, for each substring of the word, the set of nonterminals that derive it. It runs in time cubic in the length of the word, so the membership problem for context-free languages is solvable in polynomial time. It also yields parse trees, so it serves as a general parsing algorithm.

Further reading

  1. Web https://en.wikipedia.org/wiki/CYK_algorithm
About this page
Tag8PMY15X5XH
URIm2://8PMY15X5XH
Kindconcept
WritingW0 stub
MSC68Q45, 68Q42, 68W40
SpecializesAlgorithm
Same as
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Definitions