Discriminative approaches to Statistical Parsing
Mark Johnson Brown University University of Tokyo, 2004
Joint work with Eugene Charniak (Brown) and Michael Collins (MIT) Supported by NSF grants LIS 9720368 and IIS0095940
1
Discriminative approaches to Statistical Parsing Mark Johnson - - PowerPoint PPT Presentation
Discriminative approaches to Statistical Parsing Mark Johnson Brown University University of Tokyo, 2004 Joint work with Eugene Charniak (Brown) and Michael Collins (MIT) Supported by NSF grants LIS 9720368 and IIS0095940 1 Talk outline
1
2
3
4
TURN SEGMENT ROOT Sadj S VPv V let NP PRON us VPv V take NP DATEP N Tuesday COMMA , DATEnum D the NUMBER fifteenth PERIOD . SENTENCE ID BAC002 E OBJ 9 ANIM + CASE ACC NUM PL PERS 1 PRED PRO PRON-FORM WE PRON-TYPE PERS PASSIVE− PRED LET2,109 STMT-TYPE IMPERATIVE SUBJ 2 PERS 2 PRED PRO PRON-TYPE NULL TNS-ASP MOOD IMPERATIVE XCOMP 10 OBJ 13 ANIM− APP NTYPE NUMBER ORD TIME DATE NUM SG PRED fifteen SPEC SPEC-FORM THE SPEC-TYPE DEF CASE ACC GEND NEUT NTYPE GRAIN COUNT PROPER DATE TIME DAY NUM SG PERS 3 PRED TUESDAY PASSIVE− PRED TAKE9,13 SUBJ 9
5
6
ROOT S NP-SBJ NNP BELL NNP INDUSTRIES NNP Inc. VP VBD increased NP PRP$ its NN quarterly PP-DIR TO to NP CD 10 NNS cents PP-DIR IN from NP NP CD seven NNS cents NP-ADV DT a NN share . .
7
8
r∈y p(r) = r p(r)fr(y) where
y∈Y(x) P(y) 9
the
torpedo
torpedo
sank
sank
sank
boat
the
boat
10
DT:the
NN:torpedo
NN:torpedo
VB:sank
VB:sank
VB:sank
NN:boat
DT:the
NN:boat
11
12
i=1 Pp(yi)
y∈Y
13
14
15
16
+singular
+singular
+plural
+plural
+singular → rice
+plural → bananas
+singular → grows
+plural → grow
+singular
+singular
+plural
+plural
17
m
m
m
18
m
m
m
19
w
n
n
20
21
D(w) = Pw(y1|x1) . . . Pw(yn|xn) 22
23
VP V run
VP VP V see NP N people PP P with NP N telescopes
VP V see NP NP N people PP P with NP N telescopes
24
λ
n
25
26
27
28
29
w
m
30
31
y(y) = |E(y)|/|E(y) ∩ E(¯
y(y) = |E(¯
y(y) = 2/(P¯ y(y)−1 + R¯ y(y)−1)
32
33
y∈Y(x)
34
35
36
ROOT S NP WDT That VP VBD went PP IN
NP NP DT the JJ permissible NN line PP IN for NP ADJP JJ warm CC and JJ fuzzy NNS feelings . .
37
ROOT WDT That went
DT the JJ permissible NN line IN for JJ warm CC and JJ fuzzy NNS feelings . . PP VP S NP PP NP NP VBD IN NP ADJP
38
ROOT S NP WDT That VP VBD went PP IN
NP NP DT the JJ permissible NN line PP IN for NP ADJP JJ warm CC and JJ fuzzy NNS feelings . . Heads Rule Grandparent
39
ROOT S NP DT The NN clash VP AUX is NP NP DT a NN sign PP IN
NP NP DT a JJ new NN toughness CC and NN divisiveness PP IN in NP NP NNP Japan POS ’s JJ
JJ financial NNS circles . . Left of head, non-adjacent to head
40
ROOT S NP WDT That VP VBD went PP IN
NP NP DT the JJ permissible NN line PP IN for NP ADJP JJ warm CC and JJ fuzzy NNS feelings . .
41
ROOT S NP PRP They VP VBD were VP VBN consulted PP IN in NP NN advance . .
42
ROOT S NP WDT That VP VBD went PP IN
NP NP DT the JJ permissible NN line PP IN for NP ADJP JJ warm CC and JJ fuzzy NNS feelings . . > 5 words =1 punctuation
43
ROOT S NP WDT That VP VBD went PP IN
NP NP DT the JJ permissible NN line PP IN for NP ADJP JJ warm CC and JJ fuzzy NNS feelings . .
44
ROOT S NP DT The NNS rules VP VBP force S NP NNS executives VP TO to VP VB report NP NNS purchases . .
45
ROOT S NP DT The NNS rules VP VBP force S NP NNS executives VP TO to VP VB report NP NNS purchases . .
46
ROOT S NP PRP They VP VP VBD were VP VBN consulted PP IN in NP NN advance CC and VP VDB were VP VBN surprised PP IN at NP NP DT the NN action VP VBN taken . . Isomorphic trees to depth 4
47
ROOT S NP PRP They VP VP VBD were VP VBN consulted PP IN in NP NN advance CC and VP VDB were VP VBN surprised PP IN at NP NP DT the NN action VP VBN taken . . 4 words 6 words CoLenPar feature: (2,true)
48
j |wj|p
49
j |wj|2
50
51
52
53
54
55
n
α
m
j
β
56
p
n
p n
57
p
n
58