English Syntax and Parsing
ANLP: Lecture 12 Shay Cohen
School of Informatics University of Edinburgh
11 October 2019
1 / 62
English Syntax and Parsing ANLP: Lecture 12 Shay Cohen School of - - PowerPoint PPT Presentation
English Syntax and Parsing ANLP: Lecture 12 Shay Cohen School of Informatics University of Edinburgh 11 October 2019 1 / 62 Last class Constituents and their heads Context-free grammars Structural ambiguity Today: Chomsky
1 / 62
2 / 62
3 / 62
3 / 62
4 / 62
5 / 62
6 / 62
7 / 62
8 / 62
9 / 62
10 / 62
11 / 62
12 / 62
13 / 62
14 / 62
15 / 62
16 / 62
17 / 62
18 / 62
19 / 62
20 / 62
21 / 62
22 / 62
23 / 62
24 / 62
25 / 62
26 / 62
27 / 62
S → NP[p,n,nom] VP[p,n] NP[p,n,c] → Pro[p,n,c] Pro[1,sg,nom] → I, etc. Pro[1,sg,acc] → me, etc. NP[3,n,c] → Det[n] Nom[n] RelOpt[n] Nom[n] → N[n] | Adj Nom[n] N[sg] → person, etc. N[pl] → people, etc. RelOpt[n] → ǫ | who VP[3,n] VP[p,n] → VV[p,n] NP[p’,n’,acc] VV[p,n] → V[p,n] | BE[p,n] VG V[3,sg] → teaches, etc. BE[p,n] → is, etc. VG → teaching, etc. 28 / 62
29 / 62
30 / 62
31 / 62
32 / 62
S S S S S S S S S NP VP NP VP aux S . . . . . . . . . . . . . . . NP NP 33 / 62
34 / 62
35 / 62
36 / 62
37 / 62
37 / 62
38 / 62
39 / 62
the dog saw a man in the park
40 / 62
the dog saw a man in the park S
VP 41 / 62
the dog saw a man in the park S VP NP
N PP 42 / 62
the dog saw a man in the park S VP NP N PP Det
43 / 62
the dog saw a man in the park S VP NP
PP Det
44 / 62
the dog saw a man in the park S VP NP PP Det
N
45 / 62
the dog saw a man in the park S VP NP PP Det
N
46 / 62
the dog saw a man in the park S VP NP
Det
N
47 / 62
the dog saw a man in the park S VP NP Det
N
PP
NP 48 / 62
the dog saw a man in the park S VP NP Det
N
PP NP P
49 / 62
the dog saw a man in the park S VP NP
Det
50 / 62
the dog saw a man in the park S
NP Det
N
51 / 62
the dog saw a man in the park S NP Det
N
VP
PP V
52 / 62
the dog saw a man in the park S NP Det
N
VP PP V
NP
PP Det
53 / 62
the dog saw a man in the park S NP Det
N
VP PP V
NP
Det
N
54 / 62
the dog saw a man in the park S NP Det
N
VP PP V
NP Det
N
PP
P
55 / 62
the dog saw a man in the park S NP Det
N
VP PP V
NP Det
N
PP P
NP
N PP 56 / 62
the dog saw a man in the park S NP Det
N
VP PP V
NP Det
N
PP P
NP Det
N
PP NP
57 / 62
the dog saw a man in the park S NP Det
N
VP V
NP
N 58 / 62
the dog saw a man in the park S NP Det
N
VP V
NP Det
N
59 / 62
the dog saw a man in the park S NP Det
N
VP V
NP Det
N
PP P
NP Det
N
60 / 62
61 / 62
62 / 62