figure-cycle-consistency.tex 1.19 KB
Newer Older
曹润柘 committed
1 2 3 4 5 6 7
\begin{tikzpicture}

\node [rectangle,inner sep=2pt,font=\scriptsize] (center) at (0,0) {};

\node [rectangle,inner sep=2pt,font=\scriptsize] (top) at ([yshift=3em,xshift=0em]center.north) {
\begin{tabular}{c}
翻译模型 \\
曹润柘 committed
8
$\textrm{P}(\ \mathbi{y}|\ \mathbi{x})$
曹润柘 committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
\end{tabular}
};

\node [rectangle,inner sep=2pt,font=\scriptsize] (left) at ([yshift=0em,xshift=-4em]center.west) {
\begin{tabular}{c}
今天天气真好。
\end{tabular}
};

\node [rectangle,inner sep=2pt,font=\scriptsize] (right) at ([yshift=0em,xshift=4em]center.east) {
\begin{tabular}{c}
The weather is \\so good today.
\end{tabular}
};

\node [rectangle,inner sep=2pt,font=\scriptsize] (down) at ([yshift=-3em,xshift=0em]center.south) {
\begin{tabular}{c}
翻译模型 \\
曹润柘 committed
27
$\textrm{P}(\ \mathbi{x}|\ \mathbi{y})$
曹润柘 committed
28 29 30 31 32 33 34 35 36
\end{tabular}
};

\draw [->,line width=0.8pt] (left.north)  .. controls +(north:0.5) and +(west:0.5) .. (top.west);
\draw [->,line width=0.8pt] (top.east)  .. controls +(east:0.5) and +(north:0.5) .. (right.north);
\draw [->,line width=0.8pt] (down.west)  .. controls +(west:0.5) and +(south:0.5) .. (left.south);
\draw [->,line width=0.8pt] (right.south)  .. controls +(south:0.5) and +(east:0.5) .. (down.east) ;

\end{tikzpicture}