-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframe-wta-1.tex
More file actions
70 lines (70 loc) · 1.78 KB
/
Copy pathframe-wta-1.tex
File metadata and controls
70 lines (70 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
% SPDX-License-Identifier: CC-BY-4.0
% Copyright 2018 Toni Dietze
\begin{columns}[T]
\column{0.5\linewidth}
\begin{align*}
P_1 & = (G_1, ι_1, δ_1)
\end{align*}
\begin{align*}
ι_1\colon
\nt{S} & ↦ 1 / 2
\\ \nt{C} & ↦ 1 / 2
\end{align*}
\begin{alignat*}{2}
δ_1\colon
\nt{S} & → σ(\nt{A}, \nt{C}) && ↦ 1
\\ \nt{C} & → σ(\nt{B}, \nt{C}) && ↦ 1/3
\\ \nt{C} & → σ(\nt{B}, \nt{B}) && ↦ 2/3
\\ \nt{A} & → α && ↦ 1
\\ \nt{B} & → β && ↦ 1
\end{alignat*}
\column{0.5\linewidth}
\begin{overprint}
\onslide<1>
\begin{block}{probabilistic rtg (prtg)}
tuple \(P = (G, ι, δ)\) where
\begin{itemize}
\item
\(G = (N, Σ, I, Δ)\) is an rtg
\item
\(ι\colon I → [0, 1]\) \hfill (\emph{initial weights})
\item
\(δ\colon Δ → [0, 1]\) \hfill (\emph{rule weights})
\end{itemize}
\end{block}
\onslide<2>
\begin{center}
\begin{tikzpicture}[anchor=base, level distance=3em]
\node (t) {}
child { node {\(σ\)}
child { node {\(β\)}
edge from parent node[left] {\(\nt{B}\)}
}
child { node {\(β\)}
edge from parent node[right] {\(\nt{B}\)}
}
edge from parent node[right] {\(\nt{C}\)}
edge from parent [draw=none]
};
\node[left=1em of t-1] {\(t_2\colon\)};
\end{tikzpicture}
\end{center}
\begin{align*}
\semantics{P_1}(t_2) = {}& ι_1(\nt{C})
\\ {} ⋅ {}& δ_1(\nt{C} → δ(\nt{B}, \nt{B}))
\\ {} ⋅ {}& δ_1(\nt{B} → β)
\\ {} ⋅ {}& δ_1(\nt{B} → β)
\end{align*}
\onslide<3>
\begin{block}{proper prtg}
A prtg is called \emph{proper}, if
\begin{itemize}
\item
\(\sum_{A \in I} ι(A) = 1\), and
\item
\(\forall A \in N\colon\)
\\\(\sum_{r \in Δ\colon \lhs{r} = A} δ(r) = 1\).
\end{itemize}
\end{block}
\end{overprint}
\end{columns}%