-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframe-binarization-motivation.tex
46 lines (45 loc) · 1.06 KB
/
frame-binarization-motivation.tex
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
% SPDX-License-Identifier: CC-BY-4.0
% Copyright 2018 Toni Dietze
\documentclass[beamer]{standalone}
\input{preamble.tex}
\begin{document}
\begin{standaloneframe}{\jobname}
\centering
\begin{tikzpicture}
[ anchor = base
, level sep = 1em
, node distance = 1.5em
, sibling sep = 0.25em
]
\graph[fresh nodes, tree layout]
{
NP --
{ DT -- "the"
, JJ -- "little"
, JJ -- "red"
, NN [x = 0, y = 0] -- "flower"
}
};
\visible<2->{
\node[base right = of NN, draw, shape = single arrow, minimum height = 5.5em] (training) {\strut training};
\node[base right = of training] {\(\nt{A} → \text{NP}(\nt{B}, \nt{C}, \nt{D}, \nt{E})\)};
}
\visible<3->{
\graph[fresh nodes, tree layout]
{
NP --
{ DT -- "the"
, JJ -- "nice"
, JJ -- "little"
, JJ -- "red"
, NN [x = 0, y = -9em] -- "flower"
}
};
}
\visible<4->{
\node[base right = of NN, draw, shape = single arrow, minimum height = 5.5em] (parse) {\strut accepted?};
\node[base right = of parse] {no};
}
\end{tikzpicture}
\end{standaloneframe}
\end{document}