CHAPTER 3-Grammar and Parsing
CHAPTER 3-Grammar and Parsing
CSE
2023.01
Outline
3 Dependency Parsing
Dependency relations
Dependency formalisms
Transition–Based Dependency parsing
MaltParser
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies Hình: (3.1) Syntactic structure of sentence “John ate the pizza”
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
S consists initial noun phrase NP and verb phrase VP. initial
NP is made of NAME John. Initial VP is composed of verb
Probabilistic
Context-Free
Grammars
(PCFG) ate and NP, which consists ART the and N pizza
Dependency The structure of sentence may be represented in another way:
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
G = (S, P, N, T )
Structure
What makes a Good
S: start symbol S,
Grammar
Top-down Parser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Probabilistic
Context-Free
Grammars
grammar itself
(PCFG) Beginning with small grammar, such as those that describe
Dependency
Parsing
only few types of sentences, one structural analysis of a
Dependency relations sentence may appear as understandable as another.
Then we attempt to extend a grammar to cover a wide range
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser of sentences, however, we often find one analysis is easily
Relation
Extraction with
extendable, while the other requires complex modification.
Stanford
Dependencies
Context-Free
Grammars (CFG)
This analysis retains its simplicity and generality as it is
Grammar and Sentences
Structure
extended is more desirable.
To pay close attention to the way the sentence is divided
What makes a Good
Grammar
Example:
Transition–Based
Dependency parsing
MaltParser
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser Parsing algorithm is a procedure that searches through
A bottom-Up Chart Parser
Top-Down Chart Parsing various ways of grammar rules to find a combination that
Probabilistic
Context-Free
generates a tree that could be the structure of the input
Grammars
(PCFG)
sentence.
Dependency A top-down parser starts with the S symbol and attempts to
Parsing
Dependency relations
rewrite it into a sequence of terminal symbols that matches
Dependency formalisms
Transition–Based
the classes (categories) of the words in the input sentence.
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Dependency
3 Otherwise, generate the next possible states.
Parsing
Dependency relations
3.1 If the first symbol on the symbol list C is terminal (lexical
Dependency formalisms symbol), and the next word in the sentence can be in that
Transition–Based
Dependency parsing class, then create a new state by removing the first symbol
MaltParser
from the symbol list C, update the word position and add it to
Relation
Extraction with the possibilities list
Stanford
Dependencies
3.2 If the first symbol of C is non-terminal, generate a new state of
each rule in the grammar that can rewrite that non-terminal
symbol and add them all to the possibilities list.
CSE Grammar and Parsing 2023.01 7/53
A Simple Top-Down Parsing Algorithm
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Example: Parse the sentence: 1 the 2 dogs 3 cried4
Top-Down Chart Parsing
Grammar:
Probabilistic
Context-Free
1. S → NP VP
Grammars
(PCFG)
2. NP → ART N
Dependency 3. NP→ ART ADJ N
Parsing
Dependency relations
4. VP → V
Dependency formalisms
Transition–Based
5. VP → V NP
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies Hình: Top-Down Depth first parser of “The dog cried”
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
The top-down parser is described as a search procedure that
What makes a Good
Grammar
implements as follows.
Top-down Parser
A bottom-Up Chart Parser
The possibilities list is initially set to the start state S of the
Top-Down Chart Parsing
parser.
Probabilistic
Context-Free 1 Select the first state from possibilities list and remove it
Grammars
(PCFG) from the list.
Dependency
Parsing
2 Generate new states from a current state by trying every
Dependency relations
Dependency formalisms
possible option from the selected (there may be none if we
Transition–Based
Dependency parsing
on a bad path).
MaltParser
3 Add the states generated in step 2 to the possibilities list
Relation
Extraction with and repeat step 1.
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford Hình: Depth-first strategy and breadth-first strategy
Dependencies
Context-Free
Grammars (CFG)
Probabilistic
Context-Free
Grammars 1 Insert C into chart from p1 to p2 ;
(PCFG)
Dependency
2 For any active arc of the form: X → X1 ... • C ...Xn from p0
Parsing to p1 , add a new active arc X → X1 ...C • ...Xn from p0 to p2
Dependency relations
Dependency formalisms
Transition–Based
3 For any active arc of the form: X → X1 ... • C from p0 to p1 ,
Dependency parsing
MaltParser
add a new constituent of type X from p0 to p2 to the
Relation agenda.
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Do until there is no input left.
If the agenda is empty, then look up the interpretations
Structure
What makes a Good 1
Grammar
Top-down Parser (categories) of the new word in the input and add them to
the agenda.
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
2 Select a constituent from the agenda (let’s call it
Grammars
(PCFG)
constituent C from p1 to p2 ).
Dependency 3 For any grammar rule X → CX1 ...Xn , add active arc of the
Parsing
Dependency relations form X → •CX1 ...Xn from p1 to p2 .
Dependency formalisms
Transition–Based
Dependency parsing
4 Add C to the chart by the extension algorithm.
MaltParser
—————————————————————————
Relation
Extraction with Example: To parse a sentence “The large can can hold the
Stanford
Dependencies water”
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies Hình: After parsing the large can
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Hình: The chart after adding hold, omitting arcs generated for the
first NP
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with Hình: The chart after the NPs are found, omitting all but the
Stanford
Dependencies crucial active arcs
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Chart–based parser can be considerably more efficient than
parsers that rely only on a search because the same
Structure
What makes a Good
Relation
Extraction with
The chart-based parser would be up to many times faster
Stanford
Dependencies
than a pure parser.
Context-Free
Grammars (CFG)
Grammar and Sentences
grammars.
A bottom-Up Chart Parser
Top-Down Chart Parsing
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG) Initialization: for every rule in the grammar of the form
Grammar and Sentences
Structure
What makes a Good
S → X1 ...Xk add an arc; labeled S → •X1 ...Xk using the arc
Grammar
Top-down Parser
introduction algorithm.
A bottom-Up Chart Parser
Top-Down Chart Parsing
Parsing: Do until there is no input left
Probabilistic 1 If agenda is empty, look up the interpretation of the next
Context-Free
Grammars word and add them to the agenda.
(PCFG)
Dependency
2 Select constituent from the agenda (call it constituent C).
Using the arc extension algorithm, combine C with every
Parsing
Dependency relations 3
Dependency formalisms
Transition–Based
active arc on the chart. Any new constituents are added to
the agenda.
Dependency parsing
MaltParser
Relation
Extraction with
4 For any active arcs created in step 3, add them to the chart
Stanford
Dependencies
using the top-down arc introduction algorithm.
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with Hình: The chart after adding hold, omitting arcs generated for the
Stanford
Dependencies
first NP
Context-Free
Grammars (CFG) Example: 1 the 2 large 3 can 4 can 5 hold 6 the 7 water8
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Hình: The final chart for top-down filtering algorithm
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
P(t) – The probability of a tree t is the product of the
Probabilistic probabilities of the rules used to generate it.
Context-Free
Grammars P(s) – The probability of the string s is the sum of the
(PCFG)
Dependency
probabilities of the trees which have that string as their yield
Parsing
P(s) = where t is a parse of s =
P P
Dependency relations j P(s, t) j P(t)
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Dependency syntax postulates that syntactic structure
Grammars (CFG) consists of lexical items linked by binary asymmetric relations
(“arrows”) called dependencies
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford The arrows are commonly typed with the name of
grammatical relations (subject, prepositional object,
Dependencies
apposition, etc.)
CSE Grammar and Parsing 2023.01 31/53
Dependency relation
Dependency syntax postulates that syntactic structure
consists of lexical items linked by binary asymmetric relations
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure (“arrows”) called dependencies
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
The arrow connects a head (governor, superior, regent) with
Stanford
Dependencies
a dependent (modifier, inferior, subordinate)
Usually, dependencies form a tree (connected, acyclic,
single-head)
CSE Grammar and Parsing 2023.01 31/53
Dependency relation
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Selected dependency relations from the Universal
Dependency set [4]
CSE Grammar and Parsing 2023.01 32/53
Dependency Grammar and Dependency Structure
Context-Free
Grammars (CFG) Example of dependency structure with universal dependency
relations:
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Relation
Extraction with
Stanford
and CASE relations denote modifiers of the nouns flights and
Dependencies Houston
Probabilistic
Context-Free
Grammars
relationship between the elements in V
(PCFG) Dependency Tree
Dependency
Parsing
Dependency tree is directed graph that satisfies the following
Dependency relations
Dependency formalisms
constraints:
Transition–Based
Dependency parsing
1 There is single designated root node that has no incoming
MaltParser
arcs.
2 With the exception of root node, each vertex has exactly
Relation
Extraction with
Stanford
Dependencies one incoming arc.
3 There is a unique path from the root node to each vertex in
V.
CSE Grammar and Parsing 2023.01 34/53
Projectivity
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Arc from flight to its modifier was is non-projective, since there is
no path from flight to intervening words this and morning.
CSE Grammar and Parsing 2023.01 35/53
Projectivity
Relation
Extraction with
Stanford
Dependencies
dependency tree
MaltParser
Relation
Extraction with
Stanford But the dependents of a word must be at the same level
Dependencies
(i.e., “flat”) – there can be no VP!
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies a) Example of a phrase structure "Vinken will join the board
as a nonexecutive director Nov 29"
CSE Grammar and Parsing 2023.01 39/53
Relation between phrase structure and
dependency structure
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies b) To translate a) structure to dependency structure
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
c) Dependency structure of sentence
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser Dependency parsing is motivated by a stack-based approach
called shift-reduce parsing.
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free Configuration consists of a stack, an input buffer of words,
Grammars
(PCFG)
or tokens, and a set of relations representing a dependency
Dependency tree.
Parsing
Dependency relations Parsing process consists of a sequence of transitions through
the space of possible configurations.
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
A simple form of greedy discriminative dependency parser
The parser does a sequence of bottom-up actions
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser Roughly like “shift” or “reduce” in a shift-reduce parser, but
the “reduce” actions are specialized to create dependencies
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
with head on left or right
(PCFG) The parser has:
Dependency
Parsing a stack δ, written with top to the right. which starts with the
Dependency relations ROOT symbol
a buffer β, written with top to the left. which starts with the
Dependency formalisms
Transition–Based
input sentence
Dependency parsing
MaltParser
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Actions (“arc-eager” dependency parser)
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
This is the common “arc-eager” variant: a head can
Relation
Extraction with immediately take a right dependent before its dependents are
Stanford
Dependencies found
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
Bell, based in LA, makes and distributes electronic and
What makes a Good
Grammar
computer products.
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
Bell, based in LA, makes and distributes electronic and
What makes a Good
Grammar
computer products.
Top-down Parser
A bottom-Up Chart Parser
Top-Down Chart Parsing
Probabilistic
Context-Free
Grammars
(PCFG)
Dependency
Parsing
Dependency relations
Dependency formalisms
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies
Context-Free
Grammars (CFG)
Grammar and Sentences
Structure
What makes a Good
Grammar
Top-down Parser
A bottom-Up Chart Parser
1 http://www.sfs.uni-tuebingen.de/∼dm/10/ss/dep/dg-slides-
Top-Down Chart Parsing 2x2.pdf
Probabilistic
Context-Free 2 https://web.stanford.edu/∼jurafsky/NLPCourseraSlides.html
Grammars
(PCFG)
3 Speech and Language Processing. Daniel Jurafsky & James H.
Dependency
Parsing
Martin. Copyright 2018.
Dependency relations
Dependency formalisms 4 https://universaldependencies.org/u/dep. Access: Jan 2023.
Transition–Based
Dependency parsing
MaltParser
Relation
Extraction with
Stanford
Dependencies