Global Information Lookup Global Information

Parse tree information


Parse tree to SAAB

A parse tree or parsing tree[1] 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.

Concrete syntax trees reflect the syntax of the input language, making them distinct from the abstract syntax trees used in computer programming. Unlike Reed-Kellogg sentence diagrams used for teaching grammar, parse trees do not use distinct symbol shapes for different types of constituents.

Parse trees are usually constructed based on either the constituency relation of constituency grammars (phrase structure grammars) or the dependency relation of dependency grammars. Parse trees may be generated for sentences in natural languages (see natural language processing), as well as during processing of computer languages, such as programming languages.

A related concept is that of phrase marker or P-marker, as used in transformational generative grammar. A phrase marker is a linguistic expression marked as to its phrase structure. This may be presented in the form of a tree, or as a bracketed expression. Phrase markers are generated by applying phrase structure rules, and themselves are subject to further transformational rules.[2] A set of possible parse trees for a syntactically ambiguous sentence is called a "parse forest."[3]

  1. ^ See Chiswell and Hodges 2007: 34.
  2. ^ Noam Chomsky (26 December 2014). Aspects of the Theory of Syntax. MIT Press. ISBN 978-0-262-52740-8.
  3. ^ Billot, Sylvie, and Bernard Lang. "The structure of shared forests in ambiguous parsing."

and 20 Related for: Parse tree information

Request time (Page generated in 0.8656 seconds.)

Parse tree

Last Update:

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

Word Count : 1353

Parsing

Last Update:

information.[citation needed] Some parsing algorithms generate a parse forest or list of parse trees from a string that is syntactically ambiguous. The term is...

Word Count : 4857

Abstract syntax tree

Last Update:

abstract syntax trees from concrete syntax trees, traditionally designated parse trees. Parse trees are typically built by a parser during the source...

Word Count : 1214

Parsing expression grammar

Last Update:

practice, e.g. by a recursive descent parser. Unlike CFGs, PEGs cannot be ambiguous; a string has exactly one valid parse tree or none. It is conjectured that...

Word Count : 6426

LR parser

Last Update:

parsers: SLR parsers, LALR parsers, canonical LR(1) parsers, minimal LR(1) parsers, and generalized LR parsers (GLR parsers). LR parsers can be generated...

Word Count : 8128

CYK algorithm

Last Update:

s,a] = <p,b,c> if P[n,1,1] > 0 then find the parse tree by retracing through back return the parse tree else return "not a member of language" In informal...

Word Count : 2179

Memoization

Last Update:

(A)? A A → /* some rule */ to one descent into A. If a parser builds a parse tree during a parse, it must memoize not only the length of the input that...

Word Count : 3744

Earley parser

Last Update:

recogniser can be modified to create a parse tree as it recognises, and in that way can be turned into a parser. In the following descriptions, α, β, and...

Word Count : 1997

Parser combinator

Last Update:

output, typically a parse tree or a set of indices representing locations in the string where parsing stopped successfully. Parser combinators enable a...

Word Count : 1730

PORS

Last Update:

operation (store) and one binary operation (plus) that together make up a parse tree that calculates a number. 8.2 The PORS Language, Page 215, Evolutionary...

Word Count : 66

LL parser

Last Update:

computer science, an LL parser (Left-to-right, leftmost derivation) is a top-down parser for a restricted context-free language. It parses the input from Left...

Word Count : 4363

Ambiguous grammar

Last Update:

there exists a string that can have more than one leftmost derivation or parse tree. Every non-empty context-free language admits an ambiguous grammar by...

Word Count : 1820

Binary expression tree

Last Update:

(mathematics) Term (logic) Context-free grammar Parse tree Abstract syntax tree Bruno R. Preiss (1998). "Expression Trees". Archived from the original on January...

Word Count : 367

Compiler

Last Update:

evaluating, and parsing as building a concrete syntax tree (CST, parse tree) and then transforming it into an abstract syntax tree (AST, syntax tree). In some...

Word Count : 7724

Definite clause grammar

Last Update:

certain parse tree can be considered theorems that follow from these axioms. This has the advantage of making it so that recognition and parsing of expressions...

Word Count : 1902

List of data structures

Last Update:

BSP tree Rapidly exploring random tree Abstract syntax tree Parse tree Decision tree Alternating decision tree Minimax tree Expectiminimax tree Finger...

Word Count : 911

Natural language processing

Last Update:

characters can serve other purposes (e.g., marking abbreviations). Parsing Determine the parse tree (grammatical analysis) of a given sentence. The grammar for...

Word Count : 6530

Statistical parsing

Last Update:

complete parse for a sentence. (The probability associated with a grammar rule may be induced, but the application of that grammar rule within a parse tree and...

Word Count : 644

Dangling else

Last Update:

of the language is ambiguous, meaning there is more than one correct parse tree. In many programming languages one may write conditionally executed code...

Word Count : 1236

Formal grammar

Last Update:

break it down part by part and look at its analyzed form (known as its parse tree in computer science, and as its deep structure in generative grammar)...

Word Count : 3431

PDF Search Engine © AllGlobal.net