Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Chomsky normal form?

Definition 23.7 University Computer Science — Year 2 · Capítulo 23 — Context-Free Grammars and Pushdown Automata

A grammar is in Chomsky normal form if every production is A→BCA \to BC with B,CB, C nonterminals, or A→aA \to a with aa a terminal, except possibly S→εS \to \varepsilon when the start symbol SS appears in no right side. Its size ∣G∣|G| is the sum over the productions of one plus the length of the right side.

Ler no capítulo →