Content deleted Content added
Luckas-bot (talk | contribs) m robot Adding: ru:CYK-алгоритм |
m →Standard form: style |
||
Line 19:
The algorithm requires the context-free grammar to be rendered into [[Chomsky normal form]].
The algorithm as given in [[pseudocode]] is as follows:▼
===As pseudocode===
'''Let''' the input be a string ''S'' consisting of ''n'' characters: ''a''<sub>1</sub> ... ''a''<sub>''n''</sub>.
'''Let''' the grammar contain ''r'' nonterminal symbols ''R''<sub>1</sub> ... ''R''<sub>''r''</sub>.
|