请输入您要查询的英文单词:

 

单词 Context Free Grammar
释义

Context Free Grammar

英语百科

Context-free grammar

In formal language theory, a context-free grammar (CFG) is a formal grammar in which every production rule is of the form

A\ \to\ \alpha

where A is a single nonterminal symbol, and \alpha is a string of terminals and/or nonterminals (\alpha can be empty). A formal grammar is considered "context free" when its production rules can be applied regardless of the context of a nonterminal. No matter which symbols surround it, the single nonterminal on the left hand side can always be replaced by the right hand side. This is what distinguishes it from a context-sensitive grammar.

随便看

 

英汉双解词典包含3607232条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
京ICP备09058993号 更新时间:2026/5/24 5:03:29