Hoorcollege 3 Dependency trees Flashcards
1
Q
Constituency tree
A
{{A, boy}, {saw, {a, girl}}, {with, {a, telescope}}}
2
Q
Dependency tree
A
- Directed acyclic graph
- Each edge is labeled with element of set relations R
- There is a unique lexical element from which there is exactly one
directed path to any lexical vertex/node - Usually this unique element is the root
- Each subtree also has a root
3
Q
Projectivity
A
- Projectivity arc: there is a path from head to dependent and every word that lies between
- Projective dependency tree: only consists of projective arcs
Non-projective: crosses another edge
4
Q
Transition-based parsing
A
Common method to find dependency tree of an input
* ARC standard / ARC eager algorithms
leftarc, rightarc, shift, reduce
5
Q
Oracle
A
Predicts the action based on current configuration
6
Q
Dependency parsers
A
- Spacy’s dependency parsers uses an arg-eager algorithm
- Dependency treebanks: large collections of trees
7
Q
Styles of dependencies
A
- Pargue dependency style
- Stanford dependencies
- Universal dependencies