CYK算法
Sign in to saveAlso known as Cocke–Younger–Kasami algorithm, CKY algorithm, CYK parsing, CKY parsing
parsing algorithm for context-free grammars
In the Vinony graph
Within Vinony's link graph, CYK算法 is referenced by 56 other articles, and connects out to parsing, big O notation and probabilistic context-free grammar.
It is catalogued under the topic Parsing algorithms.
Its subject is documented across 20 Wikipedia language editions.
Article · 中文
CYK算法(英語:Cocke–Younger–Kasami algorithm,縮寫為CYK algorithm)是由約翰·科克,Younger和共同研究出来大约发表于1965年的一个算法,它是一个用来判定任意给定的字符串 是否属于一个上下文无关文法的算法。普通的回溯法(backtracking)在最坏的情况下需要指数时间才能解决这样的问题,而CYK算法只需要多项式时间就够了( , n 为字符串 w 的长度)。CYK算法采用了动态规划的思想。 对于一个任意给定的上下文无关文法,都可以使用CYK算法来计算上述问题,但首先要将该文法转换成乔姆斯基范式。
Abstract from DBpedia / Wikipedia · CC BY-SA