Jump to content

Talk:CYK algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 131.234.234.12 (talk) at 12:04, 23 January 2009 (What does C stand for in CYK?: {{unsigned}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Explain practical parse tree generation!

Original threadstarter did not title this thread. Also: linebreaks added to original threadstarter's post. --131.234.234.12 (talk) 11:56, 23 January 2009 (UTC)[reply]
anyone please help
is there any proper algorithm to show that how the string is enabled .
Example:
given a string,the algortithm could give how it comes from the start S, show how many ways it can be ,or even give the shortest way.
—Preceding unsigned comment added by 218.7.20.106 (talkcontribs) 02:32, 21 July 2003

It sounds like you're asking about parse trees... the page mentions that the algorithm is easy to modify to find a parse tree (or several). This would show you how to construct the string from the rules. I *think* that with Chomsky normal form, all derivations are the same length, but I'm not really an expert...
—Preceding unsigned comment added by 24.21.186.8 (talkcontribs) 18:40, 9 July 2004

Give examples!

Original threadstarter did not title this thread. --131.234.234.12 (talk) 11:59, 23 January 2009 (UTC)[reply]
This page is great. However - it would incredible with a few examples to lead readers through the process.
—Preceding unsigned comment added by 209.134.42.169 (talkcontribs) 13:01, 10 May 2007

Another article on CYK

There is another, almost empty article on the CYK parser: http://en.wikipedia.org/wiki/CYK_%28algorithm%29 The two should be merged (the former should be deleted.)

Done. Ceroklis 10:01, 26 September 2007 (UTC)[reply]

What does C stand for in CYK?

So far, I have come across three different names for letter C:

  • Cook
  • Cocke
  • Coke

Which one is correct?
—Preceding unsigned comment added by 89.133.45.42 (talkcontribs) 21:36, 21 June 2007

Cocke, according to the Jurafsky and Martin book. Ealdent 15:26, 23 October 2007 (UTC)[reply]

Mistake in the Algorithm?

I'm almost sure there is a mistake in the algorithm, but I'll write it here first just in case...
The line:
"Let the grammar contain r terminal and nonterminal symbols R1 ... Rr."
should be:
"Let the grammar contain r nonterminal symbols R1 ... Rr."
There is no need to consider the terminals also.
Sararkd (talk) 02:37, 18 January 2008 (UTC)[reply]