What is a parser and a parsing tree and what are they used for?

What is a parser and a parsing tree and what are they used for?



- Parser is a program, works out the grammatical structure of sentences

- arranging words in a manner that shows the syntactic relationships among the words

- Parse Tree is a ordered, rooted tree that represents the syntactic structure of a string according to some context-free grammar

- the basis for creating a pars tree are phrase structure grammars or dependency grammars


Learn More :