Grammars, graphs and automata
Mark Johnson
Brown University
ALTA summer school December 2003 slides available from http:/ /www.cog.brown.edu/˜mj
1
Grammars, graphs and automata Mark Johnson Brown University ALTA - - PowerPoint PPT Presentation
Grammars, graphs and automata Mark Johnson Brown University ALTA summer school December 2003 slides available from http:/ /www.cog.brown.edu/mj 1 Topics Graphical models and Bayes networks (Hidden) Markov models (Probabilistic)
1
2
3
4
5
6
ω∈Ω P(ω).
7
w
w
w
8
9
10
11
12
n
n
13
n−1
14
n−1
n+m−2
15
n−1
16
17
S P(S, V ) completely connects outputs
18
19
w∈V⋆ P(w) = 1, i.e., P is normalized
20
21
22
23
24
25
G is the reflexive and transitive closure of ⇒G.
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
v∈V,s′∈S pm(v, s′|s) = 1 for all s ∈ S (halt or move on)
47
48
49
50
51
s′∈S pm(s′|s) = 1 and v∈V pℓ(v|s) = 1 for all s ∈ S.
52
53
54
55
56
57
2 t1t2
58
59
60
61
62
63
64
65
66
k−1
67
k−1
68
1 2 3
69
k−1
70
71
72
j=i+1,...,k−1
A → B C∈R(A) p(A → B C)PG(
73
74
75
n
p
p
76
m
m
77
78
n
B→β∈R(B)
79
80
81
n
i=1 EG[nA→α|wi]
B→β∈R(B) p(B → β) = 1 yields:
i=1 EG[nA→α|wi]
i=1 EG[nA→α′|wi]
82
83
84
j−1
A→B C∈R
n
A→C D∈R
85
j−1
A→B C∈R
n
A→C D∈R
86
87
88
89
90
91
92
93
S VP VB Show NP PRP me NP NP PDT all DT the JJ nonstop NNS flights PP PP IN from NP NNP Dallas PP TO to NP NNP Denver ADJP JJ early PP IN in NP DT the NN morning . .
94
95
96
97
98
99
100
[ ], VP →
[ NP] NP, V [ ] → sleeps,
[ NP] → likes, . . .}
101
#books
#pizzas
102
Head=a Head=book Head=book Head=Sasha Head=read Head=Sam Head=read Head=read
Head=read −
Head=read
Head=Sasha
Head=book 103
Head=read Head=read Head=Sasha Head=a Head=book Head=book Head=read Head=read Head=Sam
Head=read −
Head=read
Head=book
Head=read −
Head=read
Head=Sasha 104
Head=wℓ
Head=wm
Head=wℓ
105
106
107
108