Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
NiuTrans
Toy-MT-Introduction
Commits
29544803
Commit
29544803
authored
Apr 21, 2020
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 4
parent
33ca4423
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
53 行增加
和
55 行删除
+53
-55
Book/Chapter4/Figures/combine-minimum-rule-1.tex
+2
-2
Book/Chapter4/Figures/minimum-rule-from-tree-cutting-1.tex
+2
-2
Book/Chapter4/Figures/tree-binarization.tex
+3
-3
Book/Chapter4/Figures/tree-to-string-rule-empty-alignment-1.tex
+2
-2
Book/Chapter4/Figures/tree-to-tree-rule-extraction-base-node-alignment.tex
+24
-24
Book/Chapter4/Figures/tree-to-tree-rule-extraction-base-word-alignment.tex
+18
-20
Book/Chapter4/chapter4.tex
+2
-2
没有找到文件。
Book/Chapter4/Figures/combine-minimum-rule-1.tex
查看文件 @
29544803
%%%------------------------------------------------------------------------------------------------------------
%%%------------------------------------------------------------------------------------------------------------
%%% 组合规则
%%% 组合规则
\begin{minipage}
[b]
{
0.
38
\textwidth
}
\begin{minipage}
[b]
{
0.
42
\textwidth
}
{
\
footnotesize
{
\
small
\renewcommand*
{
\arraystretch
}{
1.3
}
\renewcommand*
{
\arraystretch
}{
1.3
}
\begin{tabular}
{
l l
}
\begin{tabular}
{
l l
}
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
...
...
Book/Chapter4/Figures/minimum-rule-from-tree-cutting-1.tex
查看文件 @
29544803
%%%------------------------------------------------------------------------------------------------------------
%%%------------------------------------------------------------------------------------------------------------
%%% 最小规则
%%% 最小规则
\begin{minipage}
[b]
{
0.3
5
\textwidth
}
\begin{minipage}
[b]
{
0.3
8
\textwidth
}
{
\
footnotesize
{
\
small
\renewcommand*
{
\arraystretch
}{
1.3
}
\renewcommand*
{
\arraystretch
}{
1.3
}
\begin{tabular}
{
l l
}
\begin{tabular}
{
l l
}
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
...
...
Book/Chapter4/Figures/tree-binarization.tex
查看文件 @
29544803
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
\begin{tikzpicture}
\begin{tikzpicture}
{
{
{
\s
criptsize
{
\s
mall
\begin{scope}
[sibling distance=4pt, level distance=25pt]
\begin{scope}
[sibling distance=4pt, level distance=25pt]
{
\footnotesize
{
\footnotesize
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
\draw
[-,dashed] (sw3.south) -- (tw3.north);
\draw
[-,dashed] (sw3.south) -- (tw3.north);
\draw
[-,dashed] (sw4.south) -- (tw3.north);
\draw
[-,dashed] (sw4.south) -- (tw3.north);
\node
[anchor=west] (rulelabel1) at ([xshift=1in,yshift=0.3em]n1.east)
{
\footnotesize
{
抽取到的规则:
}}
;
\node
[anchor=west] (rulelabel1) at ([xshift=1in,yshift=0.3em]n1.east)
{{
抽取到的规则:
}}
;
\node
[anchor=north west] (rule1) at (rulelabel1.south west)
{
NP(NNP
$_
1
$
NN
$_
2
$
NN(唐纳德) NN(特朗普))
}
;
\node
[anchor=north west] (rule1) at (rulelabel1.south west)
{
NP(NNP
$_
1
$
NN
$_
2
$
NN(唐纳德) NN(特朗普))
}
;
\node
[anchor=north west] (rule1t) at ([yshift=0.2em]rule1.south west)
{$
\to
$
NNP
$_
1
$
NN
$_
2
$
Trump
}
;
\node
[anchor=north west] (rule1t) at ([yshift=0.2em]rule1.south west)
{$
\to
$
NNP
$_
1
$
NN
$_
2
$
Trump
}
;
\node
[anchor=north west] (rule2) at (rule1t.south west)
{
NP(NNP
$_
1
$
NN(总统) NN(唐纳德) NN(特朗普))
}
;
\node
[anchor=north west] (rule2) at (rule1t.south west)
{
NP(NNP
$_
1
$
NN(总统) NN(唐纳德) NN(特朗普))
}
;
\node
[anchor=north west] (rule2t) at ([yshift=0.2em]rule2.south west)
{$
\to
$
NNP
$_
1
$
President Trump
}
;
\node
[anchor=north west] (rule2t) at ([yshift=0.2em]rule2.south west)
{$
\to
$
NNP
$_
1
$
President Trump
}
;
\node
[anchor=north west] (rulelabel2) at ([yshift=-0.3em]rule2t.south west)
{
\footnotesize
{{
\red
{
不能
}}
抽取到的规则:
}}
;
\node
[anchor=north west] (rulelabel2) at ([yshift=-0.3em]rule2t.south west)
{{{
\red
{
不能
}}
抽取到的规则:
}}
;
\node
[anchor=north west] (rule3) at (rulelabel2.south west)
{
NP(NN(唐纳德) NN(特朗普))
$
\to
$
Trump
}
;
\node
[anchor=north west] (rule3) at (rulelabel2.south west)
{
NP(NN(唐纳德) NN(特朗普))
$
\to
$
Trump
}
;
\end{scope}
\end{scope}
...
...
Book/Chapter4/Figures/tree-to-string-rule-empty-alignment-1.tex
查看文件 @
29544803
%%%------------------------------------------------------------------------------------------------------------
%%%------------------------------------------------------------------------------------------------------------
%%% 处理空对其单词
%%% 处理空对其单词
\begin{minipage}
[b]
{
0.3
5
\textwidth
}
\begin{minipage}
[b]
{
0.3
8
\textwidth
}
{
\
footnotesize
{
\
small
\renewcommand*
{
\arraystretch
}{
1.3
}
\renewcommand*
{
\arraystretch
}{
1.3
}
\begin{tabular}
{
l l
}
\begin{tabular}
{
l l
}
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
{$
r
_
1
$}
&
{
NP(PN(他))
$
\to
$
he
}
\\
...
...
Book/Chapter4/Figures/tree-to-tree-rule-extraction-base-node-alignment.tex
查看文件 @
29544803
...
@@ -48,31 +48,31 @@
...
@@ -48,31 +48,31 @@
\end{scope}
\end{scope}
\node
[anchor=north]
(t1) at (
4.7,0.3)
{{
\footnotesize
{
抽取得到的规则(子树对齐)
}}}
;
\node
[anchor=north]
(t1) at (
5.8,0.3)
{{
\small
{
抽取得到的规则(子树对齐)
}}}
;
\node
[anchor=north]
(t2) at ([xshift=
3.7
em,yshift=0.5em]t1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(t2) at ([xshift=
2.9
em,yshift=0.5em]t1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(t3) at ([xshift=-7.7em,yshift=0.0em]t2.south)
{
\color
{
gray!70
}
\
footnotesize
{$
r
_
1
$}}
;
\node
[anchor=north]
(t3) at ([xshift=-7.7em,yshift=0.0em]t2.south)
{
\color
{
gray!70
}
\
small
{$
r
_
1
$}}
;
\node
[anchor=west]
(t3-1) at ([xshift=0.0em,yshift=0.0em]t3.east)
{
\color
{
gray!70
}
\
footnotesize
{
AS(了)
$
\rightarrow
$
DT(the)
}}
;
\node
[anchor=west]
(t3-1) at ([xshift=0.0em,yshift=0.0em]t3.east)
{
\color
{
gray!70
}
\
small
{
AS(了)
$
\rightarrow
$
DT(the)
}}
;
\node
[anchor=north]
(t4) at ([xshift=0.0em,yshift=0.0em]t3.south)
{
\color
{
gray!70
}
\
footnotesize
{$
r
_
2
$}}
;
\node
[anchor=north]
(t4) at ([xshift=0.0em,yshift=0.0em]t3.south)
{
\color
{
gray!70
}
\
small
{$
r
_
2
$}}
;
\node
[anchor=west]
(t4-1) at ([xshift=0.0em,yshift=0.0em]t4.east)
{
\color
{
gray!70
}
\
footnotesize
{
NN(进口)
$
\rightarrow
$
NNS(imports)
}}
;
\node
[anchor=west]
(t4-1) at ([xshift=0.0em,yshift=0.0em]t4.east)
{
\color
{
gray!70
}
\
small
{
NN(进口)
$
\rightarrow
$
NNS(imports)
}}
;
\node
[anchor=north]
(t5) at ([xshift=0.0em,yshift=0.0em]t4.south)
{
\
footnotesize
{$
r
_
3
$}}
;
\node
[anchor=north]
(t5) at ([xshift=0.0em,yshift=0.0em]t4.south)
{
\
small
{$
r
_
3
$}}
;
\node
[anchor=west]
(t5-1) at ([xshift=0.0em,yshift=0.0em]t5.east)
{
\
footnotesize
{
AD(大幅度)
$
\rightarrow
$
RB(drastically)
}}
;
\node
[anchor=west]
(t5-1) at ([xshift=0.0em,yshift=0.0em]t5.east)
{
\
small
{
AD(大幅度)
$
\rightarrow
$
RB(drastically)
}}
;
\node
[anchor=north]
(t6) at ([xshift=0.0em,yshift=0.0em]t5.south)
{
\
footnotesize
{$
r
_
4
$}}
;
\node
[anchor=north]
(t6) at ([xshift=0.0em,yshift=0.0em]t5.south)
{
\
small
{$
r
_
4
$}}
;
\node
[anchor=west]
(t6-1) at ([xshift=0.0em,yshift=0.0em]t6.east)
{
\
footnotesize
{
VV(下降)
$
\rightarrow
$
VBN(fallen)
}}
;
\node
[anchor=west]
(t6-1) at ([xshift=0.0em,yshift=0.0em]t6.east)
{
\
small
{
VV(下降)
$
\rightarrow
$
VBN(fallen)
}}
;
\node
[anchor=north]
(t7) at ([xshift=0.0em,yshift=0.0em]t6.south)
{
\color
{
gray!70
}
\
footnotesize
{$
r
_
5
$}}
;
\node
[anchor=north]
(t7) at ([xshift=0.0em,yshift=0.0em]t6.south)
{
\color
{
gray!70
}
\
small
{$
r
_
5
$}}
;
\node
[anchor=west]
(t7-1) at ([xshift=0.0em,yshift=0.0em]t7.east)
{
\color
{
gray!70
}
\
footnotesize
{
IP(NN
$_
1
$
VP(AD
$_
2
$
VP(VV
$_
3
$
AS
$_
4
$
))
$
\rightarrow
$}}
;
\node
[anchor=west]
(t7-1) at ([xshift=0.0em,yshift=0.0em]t7.east)
{
\color
{
gray!70
}
\
small
{
IP(NN
$_
1
$
VP(AD
$_
2
$
VP(VV
$_
3
$
AS
$_
4
$
))
$
\rightarrow
$}}
;
\node
[anchor=north]
(t8) at ([xshift=9.4em,yshift=0.0em]t7.south)
{
\color
{
gray!70
}
\scriptsize
{
S(NP(DT
$_
4
$
NNS
$_
1
$
) VP(VBZ(have) ADVP(RB
$_
2
$
VBN
$_
3
$
))
}}
;
\node
[anchor=north]
(t8) at ([xshift=9.4em,yshift=0.0em]t7.south)
{
\color
{
gray!70
}
\scriptsize
{
S(NP(DT
$_
4
$
NNS
$_
1
$
) VP(VBZ(have) ADVP(RB
$_
2
$
VBN
$_
3
$
))
}}
;
\node
[anchor=north]
(s3) at ([xshift=0.0em,yshift=-1.3em]t7.south)
{
\red
{
\
footnotesize
{$
r
_{
6
}$}}}
;
\node
[anchor=north]
(s3) at ([xshift=0.0em,yshift=-1.3em]t7.south)
{
\red
{
\
small
{$
r
_{
6
}$}}}
;
\node
[anchor=west]
(s3-1) at ([xshift=0.0em,yshift=0.0em]s3.east)
{
\red
{
\
footnotesize
{
AS(了)
$
\rightarrow
$
VBZ(have)
}}}
;
\node
[anchor=west]
(s3-1) at ([xshift=0.0em,yshift=0.0em]s3.east)
{
\red
{
\
small
{
AS(了)
$
\rightarrow
$
VBZ(have)
}}}
;
\node
[anchor=north]
(s4) at ([xshift=0.0em,yshift=0.0em]s3.south)
{
\red
{
\
footnotesize
{$
r
_{
7
}$}}}
;
\node
[anchor=north]
(s4) at ([xshift=0.0em,yshift=0.0em]s3.south)
{
\red
{
\
small
{$
r
_{
7
}$}}}
;
\node
[anchor=west]
(s4-1) at ([xshift=0.0em,yshift=0.0em]s4.east)
{
\red
{
\
footnotesize
{
NN(进口)
$
\rightarrow
$}}}
;
\node
[anchor=west]
(s4-1) at ([xshift=0.0em,yshift=0.0em]s4.east)
{
\red
{
\
small
{
NN(进口)
$
\rightarrow
$}}}
;
\node
[anchor=north]
(s5) at ([xshift=0.0em,yshift=0.0em]s4.south)
{
\
footnotesize
{
\color
{
white
}{$
r
_{
?
}$}}}
;
\node
[anchor=north]
(s5) at ([xshift=0.0em,yshift=0.0em]s4.south)
{
\
small
{
\color
{
white
}{$
r
_{
?
}$}}}
;
\node
[anchor=west]
(s5-1) at ([xshift=0.0em,yshift=0.0em]s5.east)
{
\red
{
\
footnotesize
{
NP(DT(the) NNS(imports))
}}}
;
\node
[anchor=west]
(s5-1) at ([xshift=0.0em,yshift=0.0em]s5.east)
{
\red
{
\
small
{
NP(DT(the) NNS(imports))
}}}
;
\node
[anchor=north]
(s6) at ([xshift=0.0em,yshift=0.0em]s5.south)
{
\red
{
\
footnotesize
{$
r
_{
8
}$}}}
;
\node
[anchor=north]
(s6) at ([xshift=0.0em,yshift=0.0em]s5.south)
{
\red
{
\
small
{$
r
_{
8
}$}}}
;
\node
[anchor=west]
(s6-1) at ([xshift=0.0em,yshift=0.0em]s6.east)
{
\red
{
\
footnotesize
{
VP(AD
$_
1
$
VP(VV
$_
2
$
AS
$_
3
$
))
$
\rightarrow
$}}}
;
\node
[anchor=west]
(s6-1) at ([xshift=0.0em,yshift=0.0em]s6.east)
{
\red
{
\
small
{
VP(AD
$_
1
$
VP(VV
$_
2
$
AS
$_
3
$
))
$
\rightarrow
$}}}
;
\node
[anchor=north]
(s7) at ([xshift=0.0em,yshift=0.0em]s6.south)
{
\red
{
\
footnotesize
{
\color
{
white
}{$
r
_{
?
}$}}}}
;
\node
[anchor=north]
(s7) at ([xshift=0.0em,yshift=0.0em]s6.south)
{
\red
{
\
small
{
\color
{
white
}{$
r
_{
?
}$}}}}
;
\node
[anchor=west]
(s7-1) at ([xshift=0.0em,yshift=0.0em]s7.east)
{
\red
{
\
footnotesize
{
VP(VBZ
$_
3
$
ADVP(RB
$_
1
$
VBN
$_
2
$
)
}}}
;
\node
[anchor=west]
(s7-1) at ([xshift=0.0em,yshift=0.0em]s7.east)
{
\red
{
\
small
{
VP(VBZ
$_
3
$
ADVP(RB
$_
1
$
VBN
$_
2
$
)
}}}
;
\node
[anchor=north]
(s8) at ([xshift=0.0em,yshift=0.0em]s7.south)
{
\red
{
\
footnotesize
{$
r
_{
9
}$}}}
;
\node
[anchor=north]
(s8) at ([xshift=0.0em,yshift=0.0em]s7.south)
{
\red
{
\
small
{$
r
_{
9
}$}}}
;
\node
[anchor=west]
(s8-1) at ([xshift=0.0em,yshift=0.0em]s8.east)
{
\red
{
\
footnotesize
{
IP(NN
$_
1
$
VP
$_
2
$
)
$
\rightarrow
$
S(NP
$_
1
$
VP
$_
2
$
)
}}}
;
\node
[anchor=west]
(s8-1) at ([xshift=0.0em,yshift=0.0em]s8.east)
{
\red
{
\
small
{
IP(NN
$_
1
$
VP
$_
2
$
)
$
\rightarrow
$
S(NP
$_
1
$
VP
$_
2
$
)
}}}
;
\end{tikzpicture}
\end{tikzpicture}
Book/Chapter4/Figures/tree-to-tree-rule-extraction-base-word-alignment.tex
查看文件 @
29544803
...
@@ -44,30 +44,28 @@
...
@@ -44,30 +44,28 @@
\end{scope}
\end{scope}
\node
[anchor=north]
(t1) at (4.5,0.3)
{{
\
footnotesize
{
抽取得到的规则
}}}
;
\node
[anchor=north]
(t1) at (4.5,0.3)
{{
\
small
{
抽取得到的规则
}}}
;
\node
[anchor=north]
(t2) at ([xshift=5.5em,yshift=0.5em]t1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(t2) at ([xshift=5.5em,yshift=0.5em]t1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(t3) at ([xshift=-7.7em,yshift=0.0em]t2.south)
{
\
footnotesize
{$
r
_
1
$}}
;
\node
[anchor=north]
(t3) at ([xshift=-7.7em,yshift=0.0em]t2.south)
{
\
small
{$
r
_
1
$}}
;
\node
[anchor=west]
(t3-1) at ([xshift=0.0em,yshift=0.0em]t3.east)
{
\
footnotesize
{
AS(了)
$
\rightarrow
$
DT(the)
}}
;
\node
[anchor=west]
(t3-1) at ([xshift=0.0em,yshift=0.0em]t3.east)
{
\
small
{
AS(了)
$
\rightarrow
$
DT(the)
}}
;
\node
[anchor=north]
(t4) at ([xshift=0.0em,yshift=0.0em]t3.south)
{
\
footnotesize
{$
r
_
2
$}}
;
\node
[anchor=north]
(t4) at ([xshift=0.0em,yshift=0.0em]t3.south)
{
\
small
{$
r
_
2
$}}
;
\node
[anchor=west]
(t4-1) at ([xshift=0.0em,yshift=0.0em]t4.east)
{
\
footnotesize
{
NN(进口)
$
\rightarrow
$
NNS(imports)
}}
;
\node
[anchor=west]
(t4-1) at ([xshift=0.0em,yshift=0.0em]t4.east)
{
\
small
{
NN(进口)
$
\rightarrow
$
NNS(imports)
}}
;
\node
[anchor=north]
(t5) at ([xshift=0.0em,yshift=0.0em]t4.south)
{
\
footnotesize
{$
r
_
3
$}}
;
\node
[anchor=north]
(t5) at ([xshift=0.0em,yshift=0.0em]t4.south)
{
\
small
{$
r
_
3
$}}
;
\node
[anchor=west]
(t5-1) at ([xshift=0.0em,yshift=0.0em]t5.east)
{
\
footnotesize
{
AD(大幅度)
$
\rightarrow
$
RB(drastically)
}}
;
\node
[anchor=west]
(t5-1) at ([xshift=0.0em,yshift=0.0em]t5.east)
{
\
small
{
AD(大幅度)
$
\rightarrow
$
RB(drastically)
}}
;
\node
[anchor=north]
(t6) at ([xshift=0.0em,yshift=0.0em]t5.south)
{
\
footnotesize
{$
r
_
4
$}}
;
\node
[anchor=north]
(t6) at ([xshift=0.0em,yshift=0.0em]t5.south)
{
\
small
{$
r
_
4
$}}
;
\node
[anchor=west]
(t6-1) at ([xshift=0.0em,yshift=0.0em]t6.east)
{
\
footnotesize
{
VV(下降)
$
\rightarrow
$
VBN(fallen)
}}
;
\node
[anchor=west]
(t6-1) at ([xshift=0.0em,yshift=0.0em]t6.east)
{
\
small
{
VV(下降)
$
\rightarrow
$
VBN(fallen)
}}
;
\node
[anchor=north]
(t7) at ([xshift=0.0em,yshift=0.0em]t6.south)
{
\
footnotesize
{$
r
_
6
$}}
;
\node
[anchor=north]
(t7) at ([xshift=0.0em,yshift=0.0em]t6.south)
{
\
small
{$
r
_
6
$}}
;
\node
[anchor=west]
(t7-1) at ([xshift=0.0em,yshift=0.0em]t7.east)
{
\
footnotesize
{
IP(NN
$_
1
$
VP(AD
$_
2
$
VP(VV
$_
3
$
AS
$_
4
$
))
$
\rightarrow
$}}
;
\node
[anchor=west]
(t7-1) at ([xshift=0.0em,yshift=0.0em]t7.east)
{
\
small
{
IP(NN
$_
1
$
VP(AD
$_
2
$
VP(VV
$_
3
$
AS
$_
4
$
))
$
\rightarrow
$}}
;
\node
[anchor=north]
(t8) at ([xshift=9.4em,yshift=0.0em]t7.south)
{
\scriptsize
{
S(NP(DT
$_
4
$
NNS
$_
1
$
) VP(VBZ(have) ADVP(RB
$_
2
$
VBN
$_
3
$
))
}}
;
\node
[anchor=north]
(t8) at ([xshift=9.4em,yshift=0.0em]t7.south)
{
\scriptsize
{
S(NP(DT
$_
4
$
NNS
$_
1
$
) VP(VBZ(have) ADVP(RB
$_
2
$
VBN
$_
3
$
))
}}
;
\node
[anchor=north]
(s1) at ([yshift=-8.0em]t1.south)
{{
\
footnotesize
{
无法得到的规则
}}}
;
\node
[anchor=north]
(s1) at ([yshift=-8.0em]t1.south)
{{
\
small
{
无法得到的规则
}}}
;
\node
[anchor=north]
(s2) at ([xshift=5.5em,yshift=0.5em]s1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(s2) at ([xshift=5.5em,yshift=0.5em]s1.south)
{
\underline
{
\qquad
\qquad
\qquad
\quad
\qquad
\qquad
\qquad
\qquad
\qquad
}}
;
\node
[anchor=north]
(s3) at ([xshift=-7.7em,yshift=0.0em]s2.south)
{
\footnotesize
{$
r
_{
?
}$}}
;
\node
[anchor=north]
(s3) at ([xshift=-7.7em,yshift=0.0em]s2.south)
{
\small
{$
r
_{
?
}$}}
;
\node
[anchor=west]
(s3-1) at ([xshift=0.0em,yshift=0.0em]s3.east)
{
\footnotesize
{
AS(了)
$
\rightarrow
$
VBZ(have)
}}
;
\node
[anchor=west]
(s3-1) at ([xshift=0.0em,yshift=0.0em]s3.east)
{
\small
{
AS(了)
$
\rightarrow
$
VBZ(have)
}}
;
\node
[anchor=north]
(s4) at ([xshift=0.0em,yshift=0.0em]s3.south)
{
\footnotesize
{$
r
_{
?
}$}}
;
\node
[anchor=north]
(s4) at ([xshift=0.0em,yshift=0.0em]s3.south)
{
\small
{$
r
_{
?
}$}}
;
\node
[anchor=west]
(s4-1) at ([xshift=0.0em,yshift=0.0em]s4.east)
{
\footnotesize
{
NN(进口)
$
\rightarrow
$}}
;
\node
[anchor=west]
(s4-1) at ([xshift=0.0em,yshift=0.0em]s4.east)
{
\small
{
NN(进口)
$
\rightarrow
$}
\small
{
NP(DT(the) NNS(imports))
}}
;
\node
[anchor=north]
(s5) at ([xshift=0.0em,yshift=0.0em]s4.south)
{
\footnotesize
{
\color
{
white
}{$
r
_{
?
}$}}}
;
\node
[anchor=north]
(s6) at ([xshift=0.0em,yshift=0.0em]s4.south)
{
\small
{$
r
_{
?
}$}}
;
\node
[anchor=west]
(s5-1) at ([xshift=0.0em,yshift=0.0em]s5.east)
{
\footnotesize
{
NP(DT(the) NNS(imports))
}}
;
\node
[anchor=west]
(s6-1) at ([xshift=0.0em,yshift=0.0em]s6.east)
{
\small
{
IP(NN
$_
1
$
VP
$_
2
$
)
$
\rightarrow
$
S(NP
$_
1
$
VP
$_
2
$
)
}}
;
\node
[anchor=north]
(s6) at ([xshift=0.0em,yshift=0.0em]s5.south)
{
\footnotesize
{$
r
_{
?
}$}}
;
\node
[anchor=west]
(s6-1) at ([xshift=0.0em,yshift=0.0em]s6.east)
{
\footnotesize
{
IP(NN
$_
1
$
VP
$_
2
$
)
$
\rightarrow
$
S(NP
$_
1
$
VP
$_
2
$
)
}}
;
\end{tikzpicture}
\end{tikzpicture}
...
...
Book/Chapter4/chapter4.tex
查看文件 @
29544803
...
@@ -1767,8 +1767,8 @@ r_9: \quad \textrm{IP(}\textrm{NN}_1\ \textrm{VP}_2) \rightarrow \textrm{S(}\tex
...
@@ -1767,8 +1767,8 @@ r_9: \quad \textrm{IP(}\textrm{NN}_1\ \textrm{VP}_2) \rightarrow \textrm{S(}\tex
% 图
% 图
\begin{figure}
[htp]
\begin{figure}
[htp]
\centering
\centering
\begin{tabular}
{
l l
}
\begin{tabular}
{
l l
l
}
\subfigure
{
\input
{
./Chapter4/Figures/combine-minimum-rule-1
}}
&
\subfigure
{
\input
{
./Chapter4/Figures/combine-minimum-rule-2
}}
&
\subfigure
{
\input
{
./Chapter4/Figures/combine-minimum-rule-1
}}
&
\subfigure
{
\input
{
./Chapter4/Figures/combine-minimum-rule-2
}}
\end{tabular}
\end{tabular}
\caption
{
对最小规则进行组合(绿色矩形)
}
\caption
{
对最小规则进行组合(绿色矩形)
}
\label
{
fig:combine-minimum-rule
}
\label
{
fig:combine-minimum-rule
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论