Dependancy Parsing
Dependancy Parsing
Parsing
Introduction
✓ Relations among the words are illustrated with directed, labelled arcs from heads to
dependents.
✓ root node that explicitly marks the root of the tree the head of the entire structure.
✓ Labels are drawn from a fixed inventory of grammatical relations.
✓ head-dependent relationship : directly linking heads to the words that are immediately
dependent on them, bypassing the need for constituent structures.
Dependency Parsing
Typed dependency structure
Advantage of ✓ Deals morphologically rich and a relatively
free word order languages
Dependency ✓ A dependency-based approach need one link
✓ Head of a phrase is the word that determines the syntactic category of that phrase.
✓ Head word of a constituent is the central organizing word of a larger constituent
✓ primary noun in a noun phrase, or verb in a verb phrase
✓ head of the noun phrase boiling hot water is the noun water.
✓ Other elements of the phrase modify the head, therefore they are head's dependents
✓ The remaining words in the constituent are either direct, or indirect, dependents of their
head.
✓ Binary relations that comprise these dependency
structures.
✓ The arguments to these relations consist of a head
and a dependent.
Binary Relations
✓ nsubjpass(submitted, Bills)
✓ auxpass(submitted, were)
Dependency ✓ agent(submitted, Brownback)
relation ✓ nn(Brownback, Senator)
✓ appos(Brownback, Republican)
✓ prep_of(Republican, Kansas)
✓ prep_on(Bills, ports)
✓ conj_and(ports, immigration)
✓ prep_on(Bills, immigration)
Stanford Dependency parser
Binary Relations
✓ nsubjpass(submitted, Bills)
✓ auxpass(submitted, were)
✓ agent(submitted, Brownback)
✓ nn(Brownback, Senator)
✓ appos(Brownback, Republican)
✓ prep_of(Republican, Kansas)
✓ prep_on(Bills, ports)
✓ conj_and(ports, immigration)
✓ prep_on(Bills, immigration)
Bills on ports and immigration were submitted by Senator Brownback, Republican of Kansas
✓ Dependent relation between predicates and their
arguments is useful for coreference resolution,
question answering and information
extraction.
Applications ✓ Constituent-based approaches to parsing provide
similar information
✓ It has to be distilled from the trees via techniques
head-finding rules
Relations
Example
Examples
1. Mark the head child of each node in a phrase
structure, using the appropriate head rules.
2. In the dependency structure, make the head of
each non-head child depend on the head of the
head-child.