% !Mode:: "TeX:GBK" \def\CTeXPreproc{Created by ctex v0.2.13, don't edit!} \documentclass[cjk,t,compress,12pt]{standalone} %\documentclass{article} %\usepackage{beamerarticle} \usepackage{pstricks} \usepackage{etex} \usepackage{eso-pic,graphicx} \usepackage{fancybox} \usepackage{amsmath,amssymb} \usepackage{setspace} \usepackage{xcolor} \usepackage{CJK} \usepackage{tikz} \usepackage{tikz-qtree} \usepackage{hyperref} \usetikzlibrary{arrows,decorations.pathreplacing} \usetikzlibrary{shadows} % LATEX and plain TEX when using Tik Z \usepgflibrary{arrows} % LATEX and plain TEX and pure pgf \usetikzlibrary{arrows} % LATEX and plain TEX when using Tik Z \usetikzlibrary{decorations} \usetikzlibrary{arrows,shapes} \usetikzlibrary{decorations.text} \usetikzlibrary{positioning,fit,calc} \usetikzlibrary{mindmap,backgrounds} % mind map \DeclareMathOperator*{\argmax}{arg\,max} \DeclareMathOperator*{\argmin}{arg\,min} \definecolor{ublue}{rgb}{0.152,0.250,0.545} \definecolor{ugreen}{rgb}{0,0.5,0} \begin{document} \begin{CJK}{GBK}{you} %%% outline %------------------------------------------------------------------------- \begin{tikzpicture} { \begin{scope} {\footnotesize \node [anchor=north west] (example1) at (0,0) {\textbf{1:} Դ='�� �� �� ?'}; \node [anchor=north west] (example1part2) at ([yshift=0.5em]example1.south west) {\hspace{1em} ��='Where is he ?'}; \node [anchor=north west] (example2) at ([yshift=0.1em]example1part2.south west) {\textbf{2:} Դ='�� �����'}; \node [anchor=north west] (example2part2) at ([yshift=0.5em]example2.south west) {\hspace{1em} ��='I'm so happy'}; \node [anchor=north west] (example3) at ([yshift=0.1em]example2part2.south west) {\textbf{3:} Դ='���� ��'}; \node [anchor=north west] (example3part2) at ([yshift=0.5em]example3.south west) {\hspace{1em} ��='Let's go!'}; \node [anchor=north west] (example4) at ([yshift=0.1em]example3part2.south west) {\hspace{1em} ...}; \node [anchor=south west] (bidatalabel) at (example1.north west) {{\color{ublue} ��Դ1��˫��ƽ������}}; } \begin{pgfonlayer}{background} { \node[rectangle,draw=ublue, inner sep=0mm] [fit = (example1) (example1part2) (example2) (example2part2) (example3) (example3part2) (example4) (bidatalabel)] (bidata) {}; } \end{pgfonlayer} \end{scope} } { \begin{scope} [yshift=-1.55in] {\footnotesize \node [anchor=north west] (entry1) at (0,0) {\textbf{1:} What is NiuTrans ?}; \node [anchor=north west] (entry2) at ([yshift=0.1em]entry1.south west) {\textbf{2:} Are you fulfilled ?}; \node [anchor=north west] (entry3) at ([yshift=0.1em]entry2.south west) {\textbf{3:} Yes, you are right .}; \node [anchor=north west] (entry4) at ([yshift=0.1em]entry3.south west) {\hspace{1em} ...}; \node [anchor=south west] (monodatalabel) at (entry1.north west) {{\color{ublue} ��Դ2����������}}; } \begin{pgfonlayer}{background} { \node[rectangle,draw=ublue, inner sep=0mm] [fit = (entry1) (entry2) (entry3) (entry4) (monodatalabel)] (monodata) {}; } \end{pgfonlayer} \end{scope} } { \begin{scope}[xshift=1.7in] {\scriptsize \node [anchor=north west] (phrase1) at (0,0) {$\textrm{Pr}(\textrm{��} \to \textrm{I}) = 0.7$}; \node [anchor=north west] (phrase2) at ([yshift=0.1em]phrase1.south west) {$\textrm{Pr}(\textrm{��} \to \textrm{me}) = 0.3$}; \node [anchor=north west] (phrase3) at ([yshift=0.1em]phrase2.south west) {$\textrm{Pr}(\textrm{��} \to \textrm{you}) = 0.9$}; \node [anchor=north west] (phrase4) at ([yshift=0.1em]phrase3.south west) {$\textrm{Pr}(\textrm{����} \to \textrm{happy})$}; \node [anchor=north west] (phrase4part2) at ([yshift=0.5em]phrase4.south west) {$ = 0.5$}; \node [anchor=north west] (phrase5) at ([yshift=0.1em]phrase4part2.south west) {$\textrm{Pr}(\textrm{����} \to \textrm{satisfied})$}; \node [anchor=north west] (phrase5part2) at ([yshift=0.5em]phrase5.south west) {$ = 0.4$}; \node [anchor=north west] (phrase6) at ([yshift=0.0em]phrase5part2.south west) {...\vspace{2em}}; \node [anchor=south west] (phrasetablelabel) at (phrase1.north west) {{\color{ublue} \small{����ģ��}}}; } \begin{pgfonlayer}{background} { \node[rectangle,draw=ublue, inner sep=0mm] [fit = (phrase1) (phrase2) (phrase3) (phrase4) (phrase4part2) (phrase5) (phrase5part2) (phrase6) (phrasetablelabel)] (phrasetable) {}; } \end{pgfonlayer} \end{scope} } { \begin{scope}[xshift=1.7in,yshift=-1.55in] {\scriptsize \node [anchor=north west] (ngram1) at (0,0) {$\textrm{Pr}(\textrm{I}) = 0.0001$}; \node [anchor=north west] (ngram2) at ([yshift=0.0em]ngram1.south west) {$\textrm{Pr}(\textrm{I} \to \textrm{am}) = 0.623$}; \node [anchor=north west] (ngram3) at ([yshift=0.0em]ngram2.south west) {$\textrm{Pr}(\textrm{I} \to \textrm{was}) = 0.21$}; \node [anchor=north west] (ngram4) at ([yshift=-0.2em]ngram3.south west) {...}; \node [anchor=south west] (lmlabel) at (ngram1.north west) {{\color{ublue} \small{����ģ��}}}; } \begin{pgfonlayer}{background} { \node[rectangle,draw=ublue, inner sep=0mm] [fit = (ngram1) (ngram2) (ngram3) (ngram4) (lmlabel)] (langaugemodel) {}; } \end{pgfonlayer} \end{scope} } { \draw[->,thick,ublue] (bidata.east)--([xshift=1.7em]bidata.east) node[pos=0.5,above] (simexample) {\color{red}{\scriptsize{\textbf{ѧϰ}}}}; } { \draw[->,thick,ublue] (monodata.east)--([xshift=1.4em]monodata.east) node[pos=0.5,above] (simexample) {\color{red}{\scriptsize{\textbf{ѧϰ}}}}; } \begin{scope}[xshift=3.6in] {\footnotesize { \node[anchor=center] (srcsentence) at (0,0) {�� �� �� �е� ����}; } { \node[anchor=north west] (translations) at ([xshift=-1em,yshift=-1em]srcsentence.south west) { {\scriptsize \begin{tabular}{l | l} ������� & {����} \\ \hline I to you happy & {0.01}\\ You satisfied & {0.02}\\ I satisfied with you & {0.10}\\ I'm satisfied with you & {0.46}\\ I satisfied you, what & {0.23}\\ You can have it & {0.01}\\ You and me & {0.02}\\ \end{tabular} } }; } { \node[anchor=west,double,draw=ublue,thick] (decoder) at ([xshift=1em,yshift=-12em]srcsentence.south west) {��������}; \draw[->,thick,ublue] ([yshift=1em]phrasetable.south east) .. controls +(east:1.0em) and +(west:2.5em) .. (decoder.west); \draw[->,thick,ublue] ([yshift=-2em]langaugemodel.east) .. controls +(east:1.0em) and +(west:1.5em) .. (decoder.west); } { \draw[->,thick,double,ublue] (decoder.north) -- ([yshift=2em]decoder.north) node[pos=0.5,right] (decodinglabel) {\color{red}{\tiny{\textbf{ö�����п���}}}}; } { \draw[->,thick,double,ublue] (decoder.east) .. controls +(east:3.5em) .. ([xshift=3.5em,yshift=2.8em]decoder.east) node[pos=0.3,below] (decodinglabel) {\color{red}{\tiny{\textbf{���㷭�������}}}}; } { \node[anchor=west,draw,thick,red,minimum width=11.5em,minimum height=1em] (outputlabel) at ([xshift=-0.3em,yshift=-5.5em]srcsentence.south west){}; \node[anchor=west] (outputlabel2) at ([xshift=-0.3em]outputlabel.east) {\color{red}{\tiny{\textbf{���}}}}; } } \end{scope} \end{tikzpicture} %--------------------------------------------------------------------- \end{CJK} \end{document}