Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Chomsky normal form?

Definition 23.7 University Computer Science — Year 2 · Hoofdstuk 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.

Lees in het hoofdstuk →