Content deleted Content added
Fixed matrix indices -- i is length (row), j is starting position (column) |
|||
Line 53:
\end{array}</math>
Now the sentence ''she eats a fish with a fork'' is analyzed using the CYK algorithm. In the following table, in <math>P[i,j,k]</math>, <math>i</math> is the number of the
{| class="wikitable"
Line 76:
For readability, the CYK table for ''P'' is represented here as a 2-dimensional matrix ''M'' containing a set of non-terminal symbols, such that R<sub>k</sub> is in ''M[i,j]'' if, and only if, ''P[i,j,k]''.
In the above example, since a start symbol ''S'' is in ''M[
==Extensions==
|