example-of-source-structure.tex 1.22 KB
Newer Older
单韦乔 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
%------------------------------------------------------------------------------------------------------------
%%%  句法树(层次短语)
\begin{tikzpicture}
{\small
\begin{scope}[sibling distance=10pt, level distance = 20pt]
{\scriptsize
\Tree[.\node(n1){\textbf{zj}};
        [.\node(n2){\textbf{dj}};
	        [.\node(n3){\textbf{np}}; \node(cw1){}; ]
	        [.\node(n4){\textbf{vp}};
	            [. \node(cw1){pp}; 
                    [. \node(cw2){}; ]
                    [. \node(cw3){np}; 
                        [. \node(cw4){mp};  
                            [. \node(p1){}; ]
                            [. \node(p2){}; ] 
                        ]
                        [. \node(cw5){np};  \node(p3){}; ]
                    ]
                ]
	            [. \node(cw6){vp}; 
                    [. \node(cw7){}; ]
                    [. \node(cw8){pp}; 
                        [. \node(cw9){}; ]
                        [. \node(cw10){sp}; 
单韦乔 committed
26
                            [. \node(cw11){}; ]
单韦乔 committed
27 28 29 30 31 32 33 34 35 36 37 38
                            [. \node(cw12){}; ]
                        ]
                    ]
                ]
	        ]
        ]
        [.\node(n5){\textbf{}}; ]
     ]
}
\end{scope}
}
\end{tikzpicture}