\definecolor{ublue}{rgb}{0.152,0.250,0.545} \definecolor{ugreen}{rgb}{0,0.5,0} %%% outline %------------------------------------------------------------------------- \begin{tikzpicture} \begin{scope} { {\small \node [anchor=north west] (entry1) at (0,0) {{1:} 很}; \node [anchor=north west] (entry2) at ([yshift=0.1em]entry1.south west) {{2:} 高}; \node [anchor=north west] (entry3) at ([yshift=0.1em]entry2.south west) {{3:} 现在}; \node [anchor=north west] (entry4) at ([yshift=0.1em]entry3.south west) {{4:} 物价}; \node [anchor=north west] (entry5) at ([yshift=0.1em]entry4.south west) {{5:} 确实}; \node [anchor=north west] (entry6) at ([yshift=0.1em]entry5.south west) {{6:} 实现}; \node [anchor=south west] (dictionarylabel) at (entry1.north west) {{\color{ublue} 分词词典}}; } } \begin{pgfonlayer}{background} { \node[rectangle,draw=ublue, inner sep=0.2em,thick] [fit = (entry1) (entry2) (entry3) (entry4) (entry5) (entry6) (dictionarylabel)] {}; } \end{pgfonlayer} \end{scope} { \begin{scope}[xshift=1.5in,yshift=1em] \node [anchor=west] (c1) at (0,0) {确}; \node [anchor=west] (c2) at ([xshift=0em]c1.east) {实}; \node [anchor=west] (c3) at ([xshift=0em]c2.east) {现}; \node [anchor=west] (c4) at ([xshift=0em]c3.east) {在}; \node [anchor=west] (c5) at ([xshift=0em]c4.east) {物}; \node [anchor=west] (c6) at ([xshift=0em]c5.east) {价}; \node [anchor=west] (c7) at ([xshift=0em]c6.east) {很}; \node [anchor=west] (c8) at ([xshift=0em]c7.east) {高}; \end{scope} } \begin{scope}[xshift=1.5in,yshift=-4em] { \node [anchor=west] (bc1) at (0,0) {确}; \node [anchor=west] (bc2) at ([xshift=0em]bc1.east) {实}; } { \node [anchor=west] (bc3) at ([xshift=0em]bc2.east) {现}; \node [anchor=west] (bc4) at ([xshift=0em]bc3.east) {在}; } { \node [anchor=west] (bc5) at ([xshift=0em]bc4.east) {物}; \node [anchor=west] (bc6) at ([xshift=0em]bc5.east) {价}; } { \node [anchor=west] (bc7) at ([xshift=0em]bc6.east) {很}; } { \node [anchor=west] (bc8) at ([xshift=0em]bc7.east) {高}; } { \draw [-,very thick] ([xshift=-0.3em,yshift=0.1em]bc2.south east) -- ([xshift=0.3em,yshift=-0.1em]bc3.north west); } { \draw [-,very thick] ([xshift=-0.3em,yshift=0.1em]bc4.south east) -- ([xshift=0.3em,yshift=-0.1em]bc5.north west); } { \draw [-,very thick] ([xshift=-0.3em,yshift=0.1em]bc6.south east) -- ([xshift=0.3em,yshift=-0.1em]bc7.north west); } { \draw [-,very thick] ([xshift=-0.3em,yshift=0.1em]bc7.south east) -- ([xshift=0.3em,yshift=-0.1em]bc8.north west); } \end{scope} { \draw [<-,thick] ([yshift=-0.2em]c1.north west) -- ([yshift=0.2em]c1.north west); \node [anchor=south] (b1) at ([yshift=0.0em]c1.north west) {\scriptsize{起始}}; } { \draw [<-,thick] ([yshift=-0.2em]c3.north west) -- ([yshift=0.2em]c3.north west); \node [anchor=south] (b2) at ([yshift=0.0em]c3.north west) {\scriptsize{起始}}; } { \draw [<-,thick] ([yshift=-0.2em]c5.north west) -- ([yshift=0.2em]c5.north west); \node [anchor=south] (b3) at ([yshift=0.0em]c5.north west) {\scriptsize{起始}}; } { \draw [<-,thick] ([yshift=-0.2em]c7.north west) -- ([yshift=0.2em]c7.north west); \node [anchor=south] (b4) at ([yshift=0.0em]c7.north west) {\scriptsize{起始}}; } { \draw [<-,thick] ([yshift=-0.2em]c8.north west) -- ([yshift=0.2em]c8.north west); \node [anchor=south] (b5) at ([yshift=0.0em]c8.north west) {\scriptsize{起始}}; } { \node [anchor=west,thick,draw,ublue,minimum width=1.6em,minimum height=1.3em] (w18) at ([xshift=0.1em]c8.west){}; \node [anchor=north] (l18) at ([yshift=-0.2em]w18.south) {{\color{ublue} \footnotesize{命中:第2号单词}}}; } \end{tikzpicture}