全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Chomsky normal form?

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

在原文中阅读 →