CYK algorithm: Difference between revisions

Content deleted Content added
Tag: Reverted
m Reverted edits by 62.33.118.13 (talk) to last version by Matthiaspaul
Line 15:
 
'''let''' the input be a string ''I'' consisting of ''n'' characters: ''a''<sub>1</sub> ... ''a''<sub>''n''</sub>.
'''let''' the grammar containscontain ''r'' nonterminal symbols ''R''<sub>1</sub> ... ''R''<sub>''r''</sub>, with start symbol ''R''<sub>1</sub>.
'''let''' ''P''[''n'',''n'',''r''] be an array of booleans. Initialize all elements of ''P'' to false.