Dependency Grammars and Parser
LING 571 — Deep Processing for NLP October 16, 2019 Shane Steinert-Threlkeld
1
Dependency Grammars and Parser LING 571 Deep Processing for NLP - - PowerPoint PPT Presentation
Dependency Grammars and Parser LING 571 Deep Processing for NLP October 16, 2019 Shane Steinert-Threlkeld 1 Ambiguity of the Week 2 Roadmap Dependency Grammars Definition Motivation: Limitations of Context-Free Grammars
LING 571 — Deep Processing for NLP October 16, 2019 Shane Steinert-Threlkeld
1
2
3
4
5
6 Argument Dependencies Abbreviation Description nsubj nominal subject csubj clausal subject dobj direct object iobj indirect object pobj
Modifier Dependencies Abbreviation Description tmod temporal modifier appos appositional modifier det determiner prep prepositional modifier
nsubj
dobj
det
det
7 Argument Dependencies Abbreviation Description nsubj nominal subject csubj clausal subject dobj direct object iobj indirect object pobj
Modifier Dependencies Abbreviation Description tmod temporal modifier appos appositional modifier det determiner prep prepositional modifier
nsubj
dobj
det
det
8 Argument Dependencies Abbreviation Description nsubj nominal subject csubj clausal subject dobj direct object iobj indirect object pobj
Modifier Dependencies Abbreviation Description tmod temporal modifier appos appositional modifier det determiner prep prepositional modifier
nsubj
dobj
det
det
9 Argument Dependencies Abbreviation Description nsubj nominal subject csubj clausal subject dobj direct object iobj indirect object pobj
Modifier Dependencies Abbreviation Description tmod temporal modifier appos appositional modifier det determiner prep prepositional modifier
nsubj
dobj
det
det
10
11
12
S PP Prep On NP N Tuesday NP Pron I VP Verb called-in Adv sick S NP Pron I VP Verb called-in Adv sick PP Prep
NP N Tuesday
13
S PP Prep On NP N Tuesday NP Pron I VP Verb called-in Adv sick S NP Pron I VP Verb called-in Adv sick PP Prep
NP N Tuesday
14
15
16
17
18
difference syntactically.
19
20
21
22
23
had news economic impact little
markets financial
24
had news
25
had news economic
26
had news economic impact
27
had news economic impact little
28
had news economic impact little
29
had news economic impact little
markets
30
had news economic impact little
markets financial
31
32
att att sbj punc vc tmp issue att root
33
A hearing is scheduled
the issue today . A is scheduled
the today issue . hearing
34
Economic news had little effect
financial markets . Economic news had little effect
markets financial .
35
root
He is mostly not even interested in the new things and in most cases, he has no money for it either.
From McDonald et. al, 2005
root
36
37
sbj att
att att pc att punc root
38
sbj att
att att pc att punc root
39
sbj att
att att pc att punc root
40
sbj att
att att pc att punc root
41
42
root
Example from J. Moore, 2013
43
44
45
46
47
ROOT John saw Mary 10 9 30 3 11 20 30 9
48
ROOT John saw Mary 10 9 30 3 11 20 30 9
49
ROOT John saw Mary 10 9 30 3 11 20 30 9 ROOT John saw Mary 10 9 30 3 11 20 30 9 ROOT John saw Mary 10 9 30 3 11 20 30 9 ROOT John saw Mary 10 9 30 3 11 20 30 9 ROOT John saw Mary ?? 9 30 3 ?? 20 30 9
ROOT John saw Mary 10 9 30 3 11 20 30 9
50
ROOT John saw Mary 10 9 30 3 31 20 30 9
ROOT John saw Mary 40 9 30 3 11 9 ROOT John saw Mary 10 9 30 3 11 20 30 9
51
52
ROOT John saw Mary 40 9 30 3 31 20 30 9
ROOT John saw Mary 40 9 30 3 31 20 30 9 ROOT John saw Mary 10 9 30 3 11 20 30 9
53
54
55
56
spanning tree algorithms. In Proceedings of the conference on Human Language Technology and Empirical Methods in Natural Language Processing, pages 523–530. Association for Computational Linguistics. [link]
the 16th Conference on Computational Linguistics, pages 340–345. Association for Computational Linguistics. [link]
57
58
59
60
61
62
63
64