网站首页  英汉词典

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

 

单词 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.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/20 18:14:09