%%% outline %------------------------------------------------------------------------- \begin{tikzpicture} { { \node [anchor=north west] (st) at (0,0) {$\mathbf{s}$}; \node [anchor=north] (taut) at ([yshift=-3em]st.south) {\sffamily\bfseries{$\tau$}}; \node [anchor=north] (phit) at ([yshift=-3em]taut.south) {\sffamily\bfseries{$\phi$}}; \node [anchor=north] (tt) at ([yshift=-3em]phit.south) {$\mathbf{t}$}; } {\scriptsize \node [anchor=west,minimum height=2.5em,minimum width=5.5em] (sf1) at ([xshift=1em]st.east) {}; \node [rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s1) at ([xshift=2.3em]sf1.east) {科学家}; \node [rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s2) at ([xshift=2.3em]s1.east) {们}; \node [rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s3) at ([xshift=2.3em]s2.east) {并不}; \node [rectangle,draw,anchor=west,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=green!30,drop shadow] (s4) at ([xshift=2.3em]s3.east) {知道}; } {\scriptsize \node [anchor=west] (tau11) at ([xshift=1.5em]taut.east) {$\tau_0$}; \node [anchor=west] (tau12) at ([xshift=-0.5em]tau11.east) {\tiny{1.NULL}}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau1) [fit = (tau11) (tau12)] {}; \node [anchor=west] (tau11-top) at ([xshift=1.5em]taut.east) {$\tau_0$}; \node [anchor=west] (tau12-top) at ([xshift=-0.5em]tau11-top.east) {\tiny{1.NULL}}; \node [anchor=west] (tau21) at ([xshift=1.80em]tau1.east) {$\tau_1$}; \node [anchor=west] (tau22) at ([xshift=-0.5em]tau21.north east) {\tiny{1.科学家}}; \node [anchor=west] (tau23) at ([xshift=-0.5em]tau21.south east) {\tiny{2.们}}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau2)[fit = (tau21) (tau22) (tau23)] {}; \node [anchor=west] (tau21-top) at ([xshift=1.8em]tau1.east) {$\tau_1$}; \node [anchor=west] (tau22-top) at ([xshift=-0.5em]tau21-top.north east) {\tiny{1.科学家}}; \node [anchor=west] (tau23-top) at ([xshift=-0.5em]tau21-top.south east) {\tiny{2.们}}; \node [anchor=west] (tau31) at ([xshift=2.05em]tau2.east) {$\tau_2$}; \node [anchor=west] (tau32) at ([xshift=-0.5em]tau31.east) {\tiny{1.NULL}}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau3) [fit = (tau31) (tau32)] {}; \node [anchor=west] (tau31-top) at ([xshift=2.05em]tau2.east) {$\tau_2$}; \node [anchor=west] (tau32-top) at ([xshift=-0.5em]tau31-top.east) {\tiny{1.NULL}}; \node [anchor=west] (tau41) at ([xshift=2.2em]tau3.east) {$\tau_3$}; \node [anchor=west] (tau42) at ([xshift=-0.5em]tau41.east) {\tiny{1.并不}}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau4) [fit = (tau41) (tau42)] {}; \node [anchor=west] (tau41-top) at ([xshift=2.2em]tau3.east) {$\tau_3$}; \node [anchor=west] (tau42-top) at ([xshift=-0.5em]tau41-top.east) {\tiny{1.并不}}; \node [anchor=west] (tau51) at ([xshift=2.2em]tau4.east) {$\tau_4$}; \node [anchor=west] (tau52) at ([xshift=-0.5em]tau51.east) {\tiny{1.知道}}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=red!30,drop shadow] (tau5) [fit = (tau51) (tau52)] {}; \node [anchor=west] (tau51-top) at ([xshift=2.2em]tau4.east) {$\tau_4$}; \node [anchor=west] (tau52-top) at ([xshift=-0.5em]tau51-top.east) {\tiny{1.知道}}; } {\scriptsize \node [anchor=west] (phi11) at ([xshift=2.4em]phit.east) {$\phi_0$}; \node [anchor=west] (phi12) at ([xshift=-0.5em]phi11.east) {0}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (phi1) [fit = (phi11) (phi12)] {}; \node [anchor=west] (phi11-top) at ([xshift=2.4em]phit.east) {$\phi_0$}; \node [anchor=west] (phi12-top) at ([xshift=-0.5em]phi11-top.east) {0}; \node [anchor=west] (phi21) at ([xshift=3em]phi1.east) {$\phi_1$}; \node [anchor=west] (phi22) at ([xshift=-0.5em]phi21.east) {2}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (phi2) [fit = (phi21) (phi22)] {}; \node [anchor=west] (phi21-top) at ([xshift=3em]phi1.east) {$\phi_1$}; \node [anchor=west] (phi22-top) at ([xshift=-0.5em]phi21-top.east) {2}; \node [anchor=west] (phi31) at ([xshift=3em]phi2.east) {$\phi_2$}; \node [anchor=west] (phi32) at ([xshift=-0.5em]phi31.east) {0}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (phi3) [fit = (phi31) (phi32)] {}; \node [anchor=west] (phi31-top) at ([xshift=3em]phi2.east) {$\phi_2$}; \node [anchor=west] (phi32-top) at ([xshift=-0.5em]phi31-top.east) {0}; \node [anchor=west] (phi41) at ([xshift=3em]phi3.east) {$\phi_3$}; \node [anchor=west] (phi42) at ([xshift=-0.5em]phi41.east) {1}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (phi4) [fit = (phi41) (phi42)] {}; \node [anchor=west] (phi41-top) at ([xshift=3em]phi3.east) {$\phi_3$}; \node [anchor=west] (phi42-top) at ([xshift=-0.5em]phi41-top.east) {1}; \node [anchor=west] (phi51) at ([xshift=3em]phi4.east) {$\phi_4$}; \node [anchor=west] (phi52) at ([xshift=-0.5em]phi51.east) {1}; \node [rounded rectangle,draw,line width=1pt,minimum height=3.4em,minimum width=7.8em,fill=blue!30,drop shadow] (phi5) [fit = (phi51) (phi52)] {}; \node [anchor=west] (phi51-top) at ([xshift=3em]phi4.east) {$\phi_4$}; \node [anchor=west] (phi52-top) at ([xshift=-0.5em]phi51-top.east) {1}; } \draw [->,thick,dashed] ([yshift=-1.4em]st.south west) -- ([xshift=0.8em,yshift=-1em]s4.south east); \draw [->,thick,dashed] ([yshift=-5.8em]st.south west) -- ([xshift=0.8em,yshift=-5.4em]s4.south east); \draw [->,thick,dashed] ([yshift=-10.3em]st.south west) -- ([xshift=0.8em,yshift=-9.9em]s4.south east); {\scriptsize \node [rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=yellow!30,drop shadow] (t1) at ([yshift=-15em]sf1.south) {$t_0$}; \node [rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=yellow!30,drop shadow] (t2) at ([yshift=-15em]s1.south) {Scientists}; \node [rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=yellow!30,drop shadow] (t3) at ([yshift=-15em]s2.south) {do}; \node [rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=yellow!30,drop shadow] (t4) at ([yshift=-15em]s3.south) {not}; \node [rectangle,draw,anchor=north,line width=1pt,minimum height=2.5em,minimum width=5.5em,fill=yellow!30,drop shadow] (t5) at ([yshift=-15em]s4.south) {konw}; } \draw [->,thick] (tau23.east) -- (s2.south); \draw [->,thick] (t1.north) -- ([yshift=-8.82em]sf1.south); \draw [->,thick] (t2.north) -- ([yshift=-8.8em]s1.south); \draw [->,thick] (t3.north) -- ([yshift=-8.8em]s2.south); \draw [->,thick] (t4.north) -- ([yshift=-8.8em]s3.south); \draw [->,thick] (t5.north) -- ([yshift=-8.8em]s4.south); \draw [->,thick] ([yshift=4.6em]t1.north) -- ([yshift=-4.45em]sf1.south); \draw [->,thick] ([yshift=4.65em]t2.north) -- ([yshift=-4.4em]s1.south); \draw [->,thick] ([yshift=4.65em]t3.north) -- ([yshift=-4.4em]s2.south); \draw [->,thick] ([yshift=4.65em]t4.north) -- ([yshift=-4.4em]s3.south); \draw [->,thick] ([yshift=4.65em]t5.north) -- ([yshift=-4.4em]s4.south); \draw [->,thick] ([yshift=9em]t2.north) -- ([yshift=0.05em]s1.south); \draw [->,thick] ([yshift=9em]t4.north) -- ([yshift=0.05em]s3.south); \draw [->,thick] ([yshift=9em]t5.north) -- ([yshift=0.05em]s4.south); {\scriptsize \node [anchor=west] (sent11) at ([xshift=1em,yshift=-0.3em]s4.south east) {把这些元语}; \node [anchor=west] (sent12) at ([yshift=-1em]sent11.west) {言单词放在}; \node [anchor=west] (sent13) at ([yshift=-1em]sent12.west) {合适的位置}; \node [anchor=west] (sent21) at ([yshift=-4.6em]sent13.west) {确定生成元}; \node [anchor=west] (sent22) at ([yshift=-1em]sent21.west) {语言单词}; \node [anchor=west] (sent31) at ([yshift=-4.6em]sent22.west) {确定生成元}; \node [anchor=west] (sent32) at ([yshift=-1em]sent31.west) {语言单词的}; \node [anchor=west] (sent33) at ([yshift=-1em]sent32.west) {个数}; } {\scriptsize \node [anchor=west] (f1) at ([yshift=-2em]t1.south west) {$\phi_{0}=0,\phi_{1}=2,\phi_{3}=0,\phi_{4}=1$}; \node [anchor=west] (f2) at ([yshift=-2em]f1.west) {$\tau_{0}=\{ \},\tau_{1}=\{ \tau_{11}=' \textrm{科学家}',\tau_{12}=' \textrm{们}' \},\phi_{3}=\{ \tau_{31}=' \textrm{并不}' \},\phi_{4}=\{ \tau_{41}=' \textrm{知道}' \}$}; \node [anchor=west] (f3) at ([yshift=-2em]f2.west) {$\pi_{0}=\{ \},\pi_{1}=\{\pi_{11}=1,\pi_{12}=2\},\pi_{2}=\{ \},\pi_{3}=\{\pi_{31}=3\},\pi_{4}=\{\pi_{41}=4\}$}; } } \end{tikzpicture} %---------------------------------------------------------------------