encoding.tex (3423B)
1 \begingroup 2 \def\shiftA#1{\raisebox{-2.5ex}} 3 \def\shiftB#1{\raisebox{1ex}} 4 \tikzset{ 5 gnode/.style={ 6 draw, 7 ellipse 8 }, 9 patext/.style 2 args={ 10 decoration={ 11 text align=center, 12 text along path, 13 text={|\scriptsize||+#1|#2} 14 }, 15 decorate 16 }, 17 } 18 19 \begin{frame}{Encoding Relation Extraction as a Multigraph Problem} 20 \only<1>{ 21 The exterior and interior of Freemasons' Hall continued to be a stand-in for \textcolor{Dark2-A}{\utail{Thames House}}, the headquarters of \textcolor{Dark2-B}{\uhead{\textsc{mi5}}}. 22 23 \bigskip 24 25 Golitsyn's claims about Wilson were believed in particular by the senior \textcolor{Dark2-B}{\uhead{\textsc{mi5}}} \textcolor{Dark2-D}{\utail{counterintelligence}} officer Peter Wright. 26 27 \bigskip 28 29 In its \textcolor{Dark2-D}{\utail{counter-espionage}} and counter-intelligence roles, \textcolor{Dark2-C}{\uhead{\textsc{smersh}}} appears to have been extremely successful throughout World War II. 30 31 \bigskip 32 33 The Freemasons' Hall in London served as the filming location for \textcolor{Dark2-A}{\uhead{Thames House}}, the headquarters for \textcolor{Dark2-B}{\utail{\textsc{mi5}}}. 34 } 35 \only<2->{% 36 \centering% 37 \begin{tikzpicture}% 38 \node[gnode, Dark2-A] (thames) at ( 0 , 3) {\footnotesize \textcolor{Dark2-A}{Thames House}}; 39 \node[gnode, Dark2-B] (mi5) at ( 6.5, 0) {\footnotesize \textcolor{Dark2-B}{\textsc{mi5}}}; 40 \node[gnode, Dark2-C] (smersh) at (-5.5, 0) {\footnotesize \textcolor{Dark2-C}{\textsc{smersh}}}; 41 \node[gnode, Dark2-D] (counter) at ( 0 , -3) {\footnotesize \textcolor{Dark2-D}{counterintelligence}}; 42 43 \draw[thick,latex-] (thames.east) to [out=0,in=90] (mi5.north); 44 \draw[patext={\shiftA}{The exterior and interior of Freemasons' Hall…}] (thames.east) to [out=0,in=90] (mi5.north); 45 46 \draw[thick,-latex] (thames.south) to [out=-90,in=180] (mi5.west); 47 \draw[patext={\shiftA}{The Freemasons' Hall in London served as the filming…}] (thames.south) to [out=-90,in=180] (mi5.west); 48 49 \draw[thick,-latex] (smersh.south) to [out=-90,in=180] (counter.west); 50 \draw[patext={\shiftA}{In its counter-espionage and counter-…}] (smersh.south) to [out=-90,in=180] (counter.west); 51 52 \draw[thick,latex-] (counter.east) to [out=0,in=-90] (mi5.south); 53 \draw[patext={\shiftA}{Golitsyn's claims about Wilson were believed…}] (counter.east) to [out=0,in=-90] (mi5.south); 54 55 \draw[patext={\shiftB}{field of work}] (smersh.south) to [out=-90,in=180] (counter.west); 56 \draw[patext={\shiftB}{field of work}] (counter.east) to [out=0,in=-90] (mi5.south); 57 \draw[patext={\shiftB}{occupant}] (thames.south) to [out=-90,in=180] (mi5.west); 58 \draw[patext={\shiftB}{headquarters location}] (thames.east) to [out=0,in=90] (mi5.north); 59 \end{tikzpicture}% 60 }% 61 \only<3>{% 62 \begin{tikzpicture}[overlay, remember picture] 63 \node[inner sep=0, text width=11cm] at (current page.center) {% 64 \begin{block}{Weak Distributional Hypothesis on Relation Extraction Graph} 65 \emph{Two arcs conveying similar relations have similar neighborhoods.} 66 \end{block}}; 67 \end{tikzpicture}% 68 }% 69 \end{frame} 70 \endgroup