分析树 Parse tree
分析树就是一个反映某种形式语言字符串的语法关系的有根有序树 (数据结构)。分析树一般按照两种相反的法则生成,一种是依存语法,一种是短语结构语法。分析树和抽象语法树是不同的。
单词 | Concrete syntax |
释义 |
Concrete syntax
中文百科
分析树 Parse tree(重定向自Concrete syntax)
分析树就是一个反映某种形式语言字符串的语法关系的有根有序树 (数据结构)。分析树一般按照两种相反的法则生成,一种是依存语法,一种是短语结构语法。分析树和抽象语法树是不同的。
英语百科
Parse tree 分析树(重定向自Concrete syntax)
![]() ![]() ![]() ![]() A parse tree or parsing tree or derivation tree or (concrete) syntax tree is an ordered, rooted tree that represents the syntactic structure of a string according to some context-free grammar. The term parse tree itself is used primarily in computational linguistics; in theoretical syntax the term syntax tree is more common. Parse trees are distinct from the abstract syntax trees used in computer programming, in that their structure and elements more concretely reflect the syntax of the input language. They are also distinct from (although based on similar principles to) the sentence diagrams (such as Reed-Kellogg diagrams) sometimes used for grammar teaching in schools. |
随便看 |
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。