figure-process-sequence-labeling-by-crf.tex 945 Bytes
Newer Older
曹润柘 committed
1
\begin{tikzpicture}
孟霞 committed
2
	\tikzstyle{unit} = [draw,minimum size=1em,circle,thick]
曹润柘 committed
3
		
孟霞 committed
4 5 6 7
		\node[unit,fill=green!30] (g1) at (0,0){};
		\node[anchor=west,unit,fill=green!30]	(g2)at([xshift=1.8em]g1.east){};
		\node[anchor=west,unit,fill=green!30]	(g3)at([xshift=1.8em]g2.east){};
		\node[anchor=west,unit,fill=green!30]	(g4)at([xshift=1.8em]g3.east){};
曹润柘 committed
8 9 10 11
		
		\node[anchor=north,unit,fill=red!30]	(r1)at([yshift=-1.8em,xshift=1.4em]g2.south){};
		
		
xiaotong committed
12 13
		\node[anchor=south,font=\scriptsize] at ([yshift=0.4em,xshift=1.4em]g2.north){待预测标签序列};
		\node[anchor=north,font=\scriptsize] at ([yshift=-0.4em]r1.south){观测序列};
曹润柘 committed
14 15 16 17 18 19 20 21 22 23
		
		\draw[-,thick] (g1.east) -- (g2.west);
		\draw[-,thick] (g2.east) -- (g3.west);
		\draw[-,thick] (g3.east) -- (g4.west);
		
		\draw[-,thick] (g1.south) -- (r1.north);
		\draw[-,thick] (g2.south) -- (r1.north);
		\draw[-,thick] (g3.south) -- (r1.north);
		\draw[-,thick] (g4.south) -- (r1.north);
\end{tikzpicture}