Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mtbookv2
概览
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
mtbookv2
Commits
f1c8ed7c
Commit
f1c8ed7c
authored
4 years ago
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update figures 5-7
parent
e151a3d9
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
137 行增加
和
144 行删除
+137
-144
Chapter5/Figures/figure-different-translation-candidate-space.tex
+2
-2
Chapter5/Figures/figure-the-optimal-solution-to-an-objective-function.tex
+1
-1
Chapter5/Figures/figure-translation-pipeline.tex
+35
-40
Chapter6/Figures/figure-alignment-matrix-for-zh-to-en-translation.tex
+1
-1
Chapter6/Figures/figure-zh-en-sentence-alignment.tex
+11
-11
Chapter7/Figures/figure-basic-process-of-translation.tex
+20
-20
Chapter7/Figures/figure-consistence-of-word-alignment.tex
+2
-2
Chapter7/Figures/figure-derivation-consist-of-bilingual-phrase.tex
+9
-9
Chapter7/Figures/figure-example-of-stack-decode.tex
+2
-2
Chapter7/Figures/figure-example-of-vocabulary-translation-probability.tex
+1
-1
Chapter7/Figures/figure-example-of-zh2en-translation-base-phrase.tex
+10
-10
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment-1.tex
+1
-1
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment.tex
+5
-5
Chapter7/Figures/figure-process-of-machine-translation-base-phrase.tex
+12
-12
Chapter7/Figures/figure-reorder-base-distance.tex
+6
-6
Chapter7/Figures/figure-reorder-base-phrase-translation.tex
+6
-6
Chapter7/Figures/figure-search-space-representation-of-feature-weight.tex
+4
-3
Chapter7/Figures/figure-three-types-of-reorder-method-in-msd.tex
+4
-7
Chapter7/Figures/figure-unlimited-phrase-extraction.tex
+5
-5
没有找到文件。
Chapter5/Figures/figure-different-translation-candidate-space.tex
查看文件 @
f1c8ed7c
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
\draw
[->,thick,] (s1.north east) .. controls +(north east:1em) and +(north west:1em).. (t.north west) node[pos=0.5,below]
{
\tiny
{
正确翻译
}}
;
\draw
[->,thick,] (s1.north east) .. controls +(north east:1em) and +(north west:1em).. (t.north west) node[pos=0.5,below]
{
\tiny
{
正确翻译
}}
;
\node
[draw,red,fill=red!10,thick,anchor=center,circle,inner sep=3.5pt] (s) at ([xshift=1
3
em,yshift=0em]s1.east)
{
\black
{$
\seq
{
s
}$}}
;
\node
[draw,red,fill=red!10,thick,anchor=center,circle,inner sep=3.5pt] (s) at ([xshift=1
4
em,yshift=0em]s1.east)
{
\black
{$
\seq
{
s
}$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t1) at ([xshift=1in]s.east)
{
\black
{$
\seq
{
t
}_
1
$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t1) at ([xshift=1in]s.east)
{
\black
{$
\seq
{
t
}_
1
$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t2) at ([xshift=3em,yshift=2em]t1.north east)
{
\black
{$
\seq
{
t
}_
2
$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t2) at ([xshift=3em,yshift=2em]t1.north east)
{
\black
{$
\seq
{
t
}_
2
$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t3) at ([xshift=1em,yshift=4em]t1.north east)
{
\black
{$
\seq
{
t
}_
3
$}}
;
\node
[draw,ublue,fill=blue!10,thick,anchor=center,circle,inner sep=2pt] (t3) at ([xshift=1em,yshift=4em]t1.north east)
{
\black
{$
\seq
{
t
}_
3
$}}
;
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
\draw
[->,thick] (s.south east) .. controls +(300:3em) and +(south west:1em).. (t4.south west) node[pos=0.5,below]
{
\tiny
{$
\funp
{
P
}
(
\seq
{
t
}_
4
|
\seq
{
s
}
)=
0
.
1
$}}
;
\draw
[->,thick] (s.south east) .. controls +(300:3em) and +(south west:1em).. (t4.south west) node[pos=0.5,below]
{
\tiny
{$
\funp
{
P
}
(
\seq
{
t
}_
4
|
\seq
{
s
}
)=
0
.
1
$}}
;
\node
[anchor=center] (foot1) at ([xshift=3.8em,yshift=-3.5em]s1.south)
{
\small
{
(a) 人的翻译候选空间
}}
;
\node
[anchor=center] (foot1) at ([xshift=3.8em,yshift=-3.5em]s1.south)
{
\small
{
(a) 人的翻译候选空间
}}
;
\node
[anchor=center] (foot2) at ([xshift=
7
em,yshift=-3.5em]s.south)
{
\small
{
(b) 机器的翻译候选空间
}}
;
\node
[anchor=center] (foot2) at ([xshift=
8
em,yshift=-3.5em]s.south)
{
\small
{
(b) 机器的翻译候选空间
}}
;
\end{tikzpicture}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter5/Figures/figure-the-optimal-solution-to-an-objective-function.tex
查看文件 @
f1c8ed7c
\begin{tikzpicture}
\begin{tikzpicture}
\begin{scope}
[scale=
0.8
]
\begin{scope}
[scale=
1.0
]
\draw
[-,very thick] (0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0) sin (7,-1);
\draw
[-,very thick] (0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0) sin (7,-1);
\draw
[-latex,thick] (-0.5,-1.2) -- (8,-1.2);
\draw
[-latex,thick] (-0.5,-1.2) -- (8,-1.2);
...
...
This diff is collapsed.
Click to expand it.
Chapter5/Figures/figure-translation-pipeline.tex
查看文件 @
f1c8ed7c
...
@@ -4,32 +4,32 @@
...
@@ -4,32 +4,32 @@
\definecolor
{
ugreen
}{
rgb
}{
0,0.5,0
}
\definecolor
{
ugreen
}{
rgb
}{
0,0.5,0
}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\node
[anchor=west] (sent) at (0,0)
{
\s
criptsize
{
源文:我对你感到满意
}}
;
\node
[anchor=west] (sent) at (0,0)
{
\s
mall
{
源文:我对你感到满意
}}
;
\node
[anchor=west,draw,thick,minimum width=1
0.5em,minimum height=1.2
em] (sent-1) at (0,0)
{}
;
\node
[anchor=west,draw,thick,minimum width=1
1.7em,minimum height=1.5
em] (sent-1) at (0,0)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,red] (s1) at ([xshift=0.15em,yshift=-2.7
em]sent.south west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,red] (s1) at ([xshift=0.15em,yshift=-3.0
em]sent.south west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ugreen] (s2) at ([xshift=1.3
em]s1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ugreen] (s2) at ([xshift=1.5
em]s1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,orange] (s3) at ([xshift=1.3
em]s2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,orange] (s3) at ([xshift=1.5
em]s2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ublue] (s4) at ([xshift=1.3
em]s3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ublue] (s4) at ([xshift=1.5
em]s3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,purple] (s5) at ([xshift=1.3
em]s4.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,purple] (s5) at ([xshift=1.5
em]s4.east)
{}
;
{
{
\node
[anchor=west,draw,thick,circle,minimum size=0.
3
em,red,fill=red] (t1) at ([yshift=-2.5em]s1.west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5
em,red,fill=red] (t1) at ([yshift=-2.5em]s1.west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ugreen,fill=ugreen] (t2) at ([xshift=1.3
em]t1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ugreen,fill=ugreen] (t2) at ([xshift=1.5
em]t1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,orange,fill=orange] (t3) at ([xshift=1.3
em]t2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,orange,fill=orange] (t3) at ([xshift=1.5
em]t2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ublue,fill=ublue] (t4) at ([xshift=1.3
em]t3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ublue,fill=ublue] (t4) at ([xshift=1.5
em]t3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,purple,fill=purple] (t5) at ([xshift=1.3
em]t4.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,purple,fill=purple] (t5) at ([xshift=1.5
em]t4.east)
{}
;
}
}
{
{
\node
[anchor=west,draw,thick,circle,minimum size=0.
3
em,red,fill=red] (ft1) at ([yshift=-2.5em]t1.west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5
em,red,fill=red] (ft1) at ([yshift=-2.5em]t1.west)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ublue,fill=ublue] (ft2) at ([xshift=1.3
em]ft1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ublue,fill=ublue] (ft2) at ([xshift=1.5
em]ft1.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,purple,fill=purple] (ft3) at ([xshift=1.3
em]ft2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,purple,fill=purple] (ft3) at ([xshift=1.5
em]ft2.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,ugreen,fill=ugreen] (ft4) at ([xshift=1.3
em]ft3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,ugreen,fill=ugreen] (ft4) at ([xshift=1.5
em]ft3.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
3em,orange,fill=orange] (ft5) at ([xshift=1.3
em]ft4.east)
{}
;
\node
[anchor=west,draw,thick,circle,minimum size=0.
5em,orange,fill=orange] (ft5) at ([xshift=1.5
em]ft4.east)
{}
;
}
}
\draw
[->,thick,double] ([yshift=-0.
1em]sent-1.south) -- ([yshift=-1.0
em]sent-1.south);
\draw
[->,thick,double] ([yshift=-0.
2em]sent-1.south) -- ([yshift=-1.1
em]sent-1.south);
{
{
\draw
[->,thick] ([yshift=-0.1em]s1.south) -- ([yshift=0.1em]t1.north);
\draw
[->,thick] ([yshift=-0.1em]s1.south) -- ([yshift=0.1em]t1.north);
...
@@ -46,38 +46,33 @@
...
@@ -46,38 +46,33 @@
\draw
[->,thick] ([yshift=-0.1em]t5.south) -- ([yshift=0.1em]ft3.north);
\draw
[->,thick] ([yshift=-0.1em]t5.south) -- ([yshift=0.1em]ft3.north);
}
}
{
{
\node
[anchor=north west] (label1) at ([xshift=
0.6em,yshift=0.0
em]sent-1.south east)
{{
分析
}}
;
\node
[anchor=north west] (label1) at ([xshift=
1em,yshift=-0.5
em]sent-1.south east)
{{
分析
}}
;
\node
[anchor=north west] (label2) at ([yshift=-1.
5
em]label1.south west)
{{
转换
}}
;
\node
[anchor=north west] (label2) at ([yshift=-1.
3
em]label1.south west)
{{
转换
}}
;
\node
[anchor=north west] (label3) at ([yshift=-1.
1
em]label2.south west)
{{
生成
}}
;
\node
[anchor=north west] (label3) at ([yshift=-1.
0
em]label2.south west)
{{
生成
}}
;
}
}
{
\s
criptsize
{
\s
mall
\begin{scope}
\begin{scope}
\node
[anchor=west] (ss1) at ([xshift=-1.6em,yshift=1.
5
em]s1.east)
{
我
}
;
\node
[anchor=west] (ss1) at ([xshift=-1.6em,yshift=1.
2
em]s1.east)
{
我
}
;
\node
[anchor=west] (ss2) at ([xshift=1.
4
em]ss1.east)
{
对
}
;
\node
[anchor=west] (ss2) at ([xshift=1.
2
em]ss1.east)
{
对
}
;
\node
[anchor=west] (ss3) at ([xshift=1.
5
em]ss2.east)
{
你
}
;
\node
[anchor=west] (ss3) at ([xshift=1.
1
em]ss2.east)
{
你
}
;
\node
[anchor=west] (ss4) at ([xshift=
1.0
em]ss3.east)
{
感到
}
;
\node
[anchor=west] (ss4) at ([xshift=
0.5
em]ss3.east)
{
感到
}
;
\node
[anchor=west] (ss5) at ([xshift=0.
4
em]ss4.east)
{
满意
}
;
\node
[anchor=west] (ss5) at ([xshift=0.
2
em]ss4.east)
{
满意
}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-3em]
\begin{scope}
[yshift=-3em]
\node
[anchor=west] (tt1) at ([xshift=-1.2em,yshift=-1.5em]ft1.east)
{
I
}
;
\node
[anchor=west] (tt1) at ([xshift=-1.2em,yshift=-1.5em]ft1.east)
{
I
}
;
\node
[anchor=west] (tt2) at ([xshift=1.
7
em,yshift=-0.1em]tt1.east)
{
am
}
;
\node
[anchor=west] (tt2) at ([xshift=1.
4
em,yshift=-0.1em]tt1.east)
{
am
}
;
\node
[anchor=west] (tt3) at ([xshift=
0.3
em,yshift=0.1em]tt2.east)
{
satisfied
}
;
\node
[anchor=west] (tt3) at ([xshift=
-0.1
em,yshift=0.1em]tt2.east)
{
satisfied
}
;
\node
[anchor=west] (tt4) at ([xshift=-0.
1
em]tt3.east)
{
with
}
;
\node
[anchor=west] (tt4) at ([xshift=-0.
5
em]tt3.east)
{
with
}
;
\node
[anchor=west] (tt5) at ([xshift=0.
7
em,yshift=-0.2em]tt4.east)
{
you
}
;
\node
[anchor=west] (tt5) at ([xshift=0.
3
em,yshift=-0.2em]tt4.east)
{
you
}
;
\end{scope}
\end{scope}
}
}
\node
[anchor=west] (sent2) at ([xshift=-3.0em,yshift=-1.8em]tt2.south)
{
\scriptsize
{
译文:I am satisfied with you
}}
;
\node
[anchor=west] (sent2) at ([xshift=-3.2em,yshift=-2.0em]tt2.south)
{
\small
{
译文:I am satisfied with you
}}
;
\node
[anchor=west,draw,thick,minimum width=10.5em,minimum height=1.2em] (sent-2) at ([xshift=-3.0em,yshift=-1.8em]tt2.south)
{}
;
\node
[anchor=west,draw,thick,minimum width=11.7em,minimum height=1.5em] (sent-2) at ([xshift=-3.2em,yshift=-2.0em]tt2.south)
{}
;
\draw
[->,thick,double] ([yshift=1.1em]sent-2.north) -- ([yshift=0.2em]sent-2.north);
\draw
[->,thick,double] ([yshift=1.0em]sent-2.north) -- ([yshift=0.1em]sent-2.north);
\begin{pgfonlayer}
{
background
}
{
%\node[rectangle,draw=ublue,thick, inner sep=0mm] [fit =(sent)] {};
%\node[rectangle,draw=ublue,thick, inner sep=0mm] [fit =(sent2)] {};
}
\end{pgfonlayer}
\end{tikzpicture}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter6/Figures/figure-alignment-matrix-for-zh-to-en-translation.tex
查看文件 @
f1c8ed7c
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
4,yshift=0.4em]o.east)
{
you
}
;
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
4,yshift=0.4em]o.east)
{
you
}
;
\node
[anchor=east,inner sep=0pt,font=\small]
at([xshift=
\bc*
4.5,yshift=-1.0cm-
\bc*
4]o.west)
{
(a)对齐实例1
}
;
\node
[anchor=east,inner sep=0pt,font=\small]
at([xshift=
\bc*
4.5,yshift=-1.0cm-
\bc*
4]o.west)
{
(a)对齐实例1
}
;
\end{scope}
\end{scope}
\begin{scope}
[xshift=1
5
.0em]
\begin{scope}
[xshift=1
7
.0em]
\filldraw
[fill=white,drop shadow] (0,0) rectangle (
\bc*
8,
\bc*
6);
\filldraw
[fill=white,drop shadow] (0,0) rectangle (
\bc*
8,
\bc*
6);
\filldraw
[fill=black] (0,
\bc*
5) rectangle (
\bc*
1,
\bc*
6);
\filldraw
[fill=black] (0,
\bc*
5) rectangle (
\bc*
1,
\bc*
6);
\filldraw
[fill=black] (
\bc*
1,
\bc*
3) rectangle (
\bc*
2,
\bc*
4);
\filldraw
[fill=black] (
\bc*
1,
\bc*
3) rectangle (
\bc*
2,
\bc*
4);
...
...
This diff is collapsed.
Click to expand it.
Chapter6/Figures/figure-zh-en-sentence-alignment.tex
查看文件 @
f1c8ed7c
...
@@ -6,19 +6,19 @@
...
@@ -6,19 +6,19 @@
\begin{tikzpicture}
\begin{tikzpicture}
\begin{scope}
\begin{scope}
\node
[anchor=west] (s1) at (0,0)
{
\
footnotesize
{$
s
_
1
$}
:我
}
;
\node
[anchor=west] (s1) at (0,0)
{
\
small
{$
s
_
1
$}
:我
}
;
\node
[anchor=west] (s2) at ([xshift=0.5em]s1.east)
{
\
footnotesize
{$
s
_
2
$}
:对
}
;
\node
[anchor=west] (s2) at ([xshift=0.5em]s1.east)
{
\
small
{$
s
_
2
$}
:对
}
;
\node
[anchor=west] (s3) at ([xshift=0.5em]s2.east)
{
\
footnotesize
{$
s
_
3
$}
:你
}
;
\node
[anchor=west] (s3) at ([xshift=0.5em]s2.east)
{
\
small
{$
s
_
3
$}
:你
}
;
\node
[anchor=west] (s4) at ([xshift=0.5em]s3.east)
{
\
footnotesize
{$
s
_
4
$}
:感到
}
;
\node
[anchor=west] (s4) at ([xshift=0.5em]s3.east)
{
\
small
{$
s
_
4
$}
:感到
}
;
\node
[anchor=west] (s5) at ([xshift=0.5em]s4.east)
{
\
footnotesize
{$
s
_
5
$}
:满意
}
;
\node
[anchor=west] (s5) at ([xshift=0.5em]s4.east)
{
\
small
{$
s
_
5
$}
:满意
}
;
\end{scope}
\end{scope}
\begin{scope}
[yshift=-3.
0
em]
\begin{scope}
[yshift=-3.
5
em]
\node
[anchor=west] (t1) at (0.
35em,0)
{
\footnotesize
{$
t
_
1
$}
:I
}
;
\node
[anchor=west] (t1) at (0.
45em,0)
{
\small
{$
t
_
1
$}
:I
}
;
\node
[anchor=west] (t2) at ([xshift=1.0em,yshift=0.0em]t1.east)
{
\
footnotesize
{$
t
_
2
$}
:am
}
;
\node
[anchor=west] (t2) at ([xshift=1.0em,yshift=0.0em]t1.east)
{
\
small
{$
t
_
2
$}
:am
}
;
\node
[anchor=west] (t3) at ([xshift=0.3em,yshift=0.0em]t2.east)
{
\
footnotesize
{$
t
_
3
$}
:satisfied
}
;
\node
[anchor=west] (t3) at ([xshift=0.3em,yshift=0.0em]t2.east)
{
\
small
{$
t
_
3
$}
:satisfied
}
;
\node
[anchor=west] (t4) at ([xshift=0.3em]t3.east)
{
\
footnotesize
{$
t
_
4
$}
:with
}
;
\node
[anchor=west] (t4) at ([xshift=0.3em]t3.east)
{
\
small
{$
t
_
4
$}
:with
}
;
\node
[anchor=west] (t5) at ([xshift=0.3em,yshift=-0.0em]t4.east)
{
\
footnotesize
{$
t
_
5
$}
:you
}
;
\node
[anchor=west] (t5) at ([xshift=0.3em,yshift=-0.0em]t4.east)
{
\
small
{$
t
_
5
$}
:you
}
;
\end{scope}
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-basic-process-of-translation.tex
查看文件 @
f1c8ed7c
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
\begin{scope}
[minimum height = 18pt]
\begin{scope}
[minimum height = 18pt]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=gr
ay!20
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
...
@@ -16,16 +16,16 @@
...
@@ -16,16 +16,16 @@
\begin{scope}
[xshift=1
5
em,minimum height = 18pt]
\begin{scope}
[xshift=1
7
em,minimum height = 18pt]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=gr
ay!20
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
{
{
\node
[anchor=west,fill=red!20]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
}
}
...
@@ -37,17 +37,17 @@
...
@@ -37,17 +37,17 @@
\begin{scope}
[yshift=-9.5em,minimum height = 18pt]
\begin{scope}
[yshift=-9.5em,minimum height = 18pt]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=gr
ay!20
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=red!20]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
{
{
\node
[anchor=west,fill=gr
ay!20
]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
}
}
{
{
\node
[anchor=west,fill=red!20]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
an apple
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
an apple
}}
;
\path
[<->, thick]
(s3.south) edge (t2.north);
\path
[<->, thick]
(s3.south) edge (t2.north);
}
}
\node
[anchor=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\small
{
(c)
\
找到译文第二个词
}}
;
\node
[anchor=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\small
{
(c)
\
找到译文第二个词
}}
;
...
@@ -56,24 +56,24 @@
...
@@ -56,24 +56,24 @@
\begin{scope}
[xshift=1
5
em,yshift=-9.5em,minimum height = 18pt]
%[scale=0.5]
\begin{scope}
[xshift=1
7
em,yshift=-9.5em,minimum height = 18pt]
%[scale=0.5]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=red!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gr
ay!20
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
{
{
\node
[anchor=west,fill=gr
ay!20
]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
}
}
{
{
\node
[anchor=west,fill=gr
ay!20
]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
an apple
}}
;
\node
[anchor=west,fill=gr
een!20,draw,thick,rounded corners=0.3em
]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
an apple
}}
;
\path
[<->, thick]
(s3.south) edge (t2.north);
\path
[<->, thick]
(s3.south) edge (t2.north);
}
}
{
{
\node
[anchor=west,fill=red!20]
(t3) at ([xshift=1em]t2.east)
{
\footnotesize
{
on the table
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t3) at ([xshift=1em]t2.east)
{
\footnotesize
{
on the table
}}
;
\path
[<->, thick]
(s1.south) edge (t3.north);
\path
[<->, thick]
(s1.south) edge (t3.north);
}
}
\node
[anchor=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\small
{
(d)
\
找到译文第三个词
}}
;
\node
[anchor=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\small
{
(d)
\
找到译文第三个词
}}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-consistence-of-word-alignment.tex
查看文件 @
f1c8ed7c
...
@@ -87,9 +87,9 @@
...
@@ -87,9 +87,9 @@
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(lc3) at (c11)
{}
;
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(lc3) at (c11)
{}
;
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
\node
[rectangle,draw=
u
green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a03) (a11)] (phrase1)
{}
;
\node
[rectangle,draw=green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a03) (a11)] (phrase1)
{}
;
\node
[rectangle,draw=red,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (b03) (b12)] (phrase2)
{}
;
\node
[rectangle,draw=red,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (b03) (b12)] (phrase2)
{}
;
\node
[rectangle,draw=
u
green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (c03) (c21)] (phrase3)
{}
;
\node
[rectangle,draw=green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (c03) (c21)] (phrase3)
{}
;
\end{pgfonlayer}
\end{pgfonlayer}
\end{scope}
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-derivation-consist-of-bilingual-phrase.tex
查看文件 @
f1c8ed7c
...
@@ -6,17 +6,17 @@
...
@@ -6,17 +6,17 @@
\begin{scope}
[minimum height = 18pt]
\begin{scope}
[minimum height = 18pt]
{
\small
{
\small
\node
[anchor=north,fill=green!20]
(s1) at (0,0)
{
进口
}
;
\node
[anchor=north,fill=green!20
,draw,thick,rounded corners=0.3em
]
(s1) at (0,0)
{
进口
}
;
\node
[anchor=north,fill=red!20] (s2) at ([xshift=4em,yshift=0em]s1.north)
{
大幅度
}
;
\node
[anchor=north,fill=red!20
,draw,thick,rounded corners=0.3em
] (s2) at ([xshift=4em,yshift=0em]s1.north)
{
大幅度
}
;
\node
[anchor=north,fill=blue!20]
(s3) at ([xshift=4.5em,yshift=0em]s2.north)
{
下降 了
}
;
\node
[anchor=north,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=4.5em,yshift=0em]s2.north)
{
下降 了
}
;
\node
[anchor=west,fill=green!20]
(t1) at ([xshift=0em,yshift=-4em]s1.west)
{
The imports have
}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em
]
(t1) at ([xshift=0em,yshift=-4em]s1.west)
{
The imports have
}
;
\node
[anchor=north,fill=red!20]
(t2) at ([xshift=8em,yshift=0em]t1.north)
{
drastically
}
;
\node
[anchor=north,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t2) at ([xshift=8em,yshift=0em]t1.north)
{
drastically
}
;
\node
[anchor=north,fill=blue!20]
(t3) at ([xshift=5.7em,yshift=0em]t2.north)
{
fallen
}
;
\node
[anchor=north,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(t3) at ([xshift=5.7em,yshift=0em]t2.north)
{
fallen
}
;
\path
[<->, thick]
(
s1.south) edge (
t1.north);
\path
[<->, thick]
(
[yshift=-0.1em]s1.south) edge ([yshift=0.1em]
t1.north);
\path
[<->, thick]
(
s2.south) edge (
t2.north);
\path
[<->, thick]
(
[yshift=-0.1em]s2.south) edge ([yshift=0.1em]
t2.north);
\path
[<->, thick]
(
s3.south) edge (
t3.north);
\path
[<->, thick]
(
[yshift=-0.1em]s3.south) edge ([yshift=0.1em]
t3.north);
}
}
\node
[anchor=south]
(s0) at ([xshift=-2em,yshift=0em]s1.south)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=south]
(s0) at ([xshift=-2em,yshift=0em]s1.south)
{$
\seq
{
s
}$
:
}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-example-of-stack-decode.tex
查看文件 @
f1c8ed7c
...
@@ -66,10 +66,10 @@
...
@@ -66,10 +66,10 @@
}
}
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
{
{
\node
[rectangle,inner sep=0.1em,fill=
ugreen!10
] [fit = (line1)] (box1)
{}
;
\node
[rectangle,inner sep=0.1em,fill=
green!10,draw,thick,rounded corners=0.3em
] [fit = (line1)] (box1)
{}
;
}
}
{
{
\node
[rectangle,inner sep=0.1em,fill=red!10] [fit = (line2) (line3)] (box2)
{}
;
\node
[rectangle,inner sep=0.1em,fill=red!10
,draw,thick,rounded corners=0.3em
] [fit = (line2) (line3)] (box2)
{}
;
}
}
\end{pgfonlayer}
\end{pgfonlayer}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-example-of-vocabulary-translation-probability.tex
查看文件 @
f1c8ed7c
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(la4) at (a41)
{}
;
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(la4) at (a41)
{}
;
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(la5) at (a30)
{}
;
\node
[align=center,elementnode,minimum size=0.3cm,inner sep=0.1pt,fill=blue!50]
(la5) at (a30)
{}
;
\node
[anchor=west]
(f1) at ([xshift=
3
em,yshift=0.8em]a43.east)
{
\small
{$
\funp
{
P
}_{
\textrm
{
lex
}}
(
\bar
{
t
}
|
\bar
{
s
}
)=
\sigma
(
t
_
1
|s
_
1
)
\times
$}}
;
\node
[anchor=west]
(f1) at ([xshift=
4
em,yshift=0.8em]a43.east)
{
\small
{$
\funp
{
P
}_{
\textrm
{
lex
}}
(
\bar
{
t
}
|
\bar
{
s
}
)=
\sigma
(
t
_
1
|s
_
1
)
\times
$}}
;
\node
[anchor=north]
(f2) at ([xshift=5.2em]f1.south)
{
\small
{$
\frac
{
1
}{
2
}
(
\sigma
(
t
_
2
|s
_
2
)+
\sigma
(
t
_
3
|s
_
2
))
\times
$}}
;
\node
[anchor=north]
(f2) at ([xshift=5.2em]f1.south)
{
\small
{$
\frac
{
1
}{
2
}
(
\sigma
(
t
_
2
|s
_
2
)+
\sigma
(
t
_
3
|s
_
2
))
\times
$}}
;
\node
[anchor=north west]
(f3) at (f2.south west)
{
\small
{$
\sigma
(
N|s
_
3
)
\times
$}}
;
\node
[anchor=north west]
(f3) at (f2.south west)
{
\small
{$
\sigma
(
N|s
_
3
)
\times
$}}
;
\node
[anchor=north west]
(f4) at (f3.south west)
{
\small
{$
\sigma
(
t
_
4
|s
_
4
)
\times
$}}
;
\node
[anchor=north west]
(f4) at (f3.south west)
{
\small
{$
\sigma
(
t
_
4
|s
_
4
)
\times
$}}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-example-of-zh2en-translation-base-phrase.tex
查看文件 @
f1c8ed7c
...
@@ -6,20 +6,20 @@
...
@@ -6,20 +6,20 @@
\begin{scope}
[minimum height = 18pt]
\begin{scope}
[minimum height = 18pt]
{
\small
{
\small
\node
[anchor=north,fill=green!20]
(s1) at (0,0)
{
进口
}
;
\node
[anchor=north,fill=green!20
,draw,thick,rounded corners=0.3em
]
(s1) at (0,0)
{
进口
}
;
\node
[anchor=west,fill=red!20] (s2) at ([xshift=1em,yshift=0em]s1.east)
{
大幅度
}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
] (s2) at ([xshift=1em,yshift=0em]s1.east)
{
大幅度
}
;
\node
[anchor=west,fill=blue!20]
(s3) at ([xshift=1em,yshift=0em]s2.east)
{
下降
\ \ \
了
}
;
\node
[anchor=west,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(s3) at ([xshift=1em,yshift=0em]s2.east)
{
下降
\ \ \
了
}
;
\node
[anchor=west,fill=green!20]
(t1) at ([xshift=0em,yshift=-4em]s1.west)
{
The imports have
}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em
]
(t1) at ([xshift=0em,yshift=-4em]s1.west)
{
The imports have
}
;
\node
[anchor=west,fill=red!20]
(t2) at ([xshift=1em,yshift=0em]t1.east)
{
drastically
}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t2) at ([xshift=1em,yshift=0em]t1.east)
{
drastically
}
;
\node
[anchor=west,fill=blue!20]
(t3) at ([xshift=1em,yshift=0em]t2.east)
{
fallen
}
;
\node
[anchor=west,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(t3) at ([xshift=1em,yshift=0em]t2.east)
{
fallen
}
;
\path
[<->, thick]
(
s1.south) edge (
t1.north);
\path
[<->, thick]
(
[yshift=-0.1em]s1.south) edge ([yshift=0.1em]
t1.north);
\path
[<->, thick]
(
s2.south) edge (
t2.north);
\path
[<->, thick]
(
[yshift=-0.1em]s2.south) edge ([yshift=0.1em]
t2.north);
\path
[<->, thick]
(
s3.south) edge (
t3.north);
\path
[<->, thick]
(
[yshift=-0.1em]s3.south) edge ([yshift=0.1em]
t3.north);
}
}
\node
[anchor=south]
(s0) at ([xshift=-3em,yshift=0em]s1.south)
{
源语言:
}
;
\node
[anchor=south]
(s0) at ([xshift=-3
.5
em,yshift=0em]s1.south)
{
源语言:
}
;
\node
[anchor=east]
(t0) at ([xshift=0em,yshift=-3.5em]s0.east)
{
目标语言:
}
;
\node
[anchor=east]
(t0) at ([xshift=0em,yshift=-3.5em]s0.east)
{
目标语言:
}
;
\end{scope}
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment-1.tex
查看文件 @
f1c8ed7c
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
\end{scope}
\end{scope}
\begin{scope}
[xshift = 1.
5
in, yshift = 1.3in]
\begin{scope}
[xshift = 1.
7
in, yshift = 1.3in]
{
\scriptsize
{
\scriptsize
\node
(rules)
{
\textbf
{
抽取得到的短语:
}}
;
\node
(rules)
{
\textbf
{
抽取得到的短语:
}}
;
\draw
[-]
(rules.south west)--([xshift=2.0in]rules.south west);
\draw
[-]
(rules.south west)--([xshift=2.0in]rules.south west);
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment.tex
查看文件 @
f1c8ed7c
...
@@ -50,19 +50,19 @@
...
@@ -50,19 +50,19 @@
{
{
\node
[anchor=west] (p1line1) at ([xshift=
4
em,yshift=1em]a75.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
: 天气
\ \ \ \ \ \
}}
;
\node
[anchor=west] (p1line1) at ([xshift=
5
em,yshift=1em]a75.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
: 天气
\ \ \ \ \ \
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0]p1line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
i
$
: The
\ \ \
weather
\ \ \ \ \
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0]p1line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
i
$
: The
\ \ \
weather
\ \ \ \ \
}}
;
\node
[anchor=west] (p2line1) at ([xshift=
4
em]a72.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
: 真
\ \ \
好
\ \
}}
;
\node
[anchor=west] (p2line1) at ([xshift=
5
em]a72.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
: 真
\ \ \
好
\ \
}}
;
\node
[anchor=north west] (p2line2) at ([xshift=0]p2line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
j
$
: very
\ \ \
good
\ \ \ \ \ \ \ \
}}
;
\node
[anchor=north west] (p2line2) at ([xshift=0]p2line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
j
$
: very
\ \ \
good
\ \ \ \ \ \ \ \
}}
;
\node
[anchor=east] (p2line3) at ([xshift=0em,yshift=-4em]p1line2.east)
{}
;
\node
[anchor=east] (p2line3) at ([xshift=0em,yshift=-4em]p1line2.east)
{}
;
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
{
{
\node
[rectangle,draw=red,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a04) (a14)] (phrase1)
{}
;
\node
[rectangle,draw=red,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a04) (a14)] (phrase1)
{}
;
\node
[rectangle,draw=
u
green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a33) (a42)] (phrase2)
{}
;
\node
[rectangle,draw=green,thick,inner sep=0.4em,fill=white,drop shadow] [fit = (a33) (a42)] (phrase2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!1
0
] [fit = (p1line1) (p1line2)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!1
5,draw=red,thick
] [fit = (p1line1) (p1line2)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=green!1
0
] [fit = (p2line1) (p2line2) (p2line3)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=green!1
5,draw=green,thick
] [fit = (p2line1) (p2line2) (p2line3)] (box2)
{}
;
}
}
\end{pgfonlayer}
\end{pgfonlayer}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-process-of-machine-translation-base-phrase.tex
查看文件 @
f1c8ed7c
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
\begin{tikzpicture}
\begin{tikzpicture}
\begin{scope}
\begin{scope}
\tikzstyle
{
datanode
}
= [minimum width=7em,minimum height=1.7em,fill=red!20,rounded corners=0.3em];
\tikzstyle
{
datanode
}
= [minimum width=7em,minimum height=1.7em,fill=red!20,rounded corners=0.3em
,draw,thick
];
\tikzstyle
{
modelnode
}
= [minimum width=7em,minimum height=1.7em,fill=blue!20,rounded corners=0.3em];
\tikzstyle
{
modelnode
}
= [minimum width=7em,minimum height=1.7em,fill=blue!20,rounded corners=0.3em
,draw,thick
];
\tikzstyle
{
decodingnode
}
= [minimum width=7em,minimum height=1.7em,fill=green!20,rounded corners=0.3em];
\tikzstyle
{
decodingnode
}
= [minimum width=7em,minimum height=1.7em,fill=green!20,rounded corners=0.3em
,draw,thick
];
\node
[datanode,anchor=north west,minimum height=1.7em,minimum width=8em] (bitext) at (0,0)
{{
\small
{
训练用双语数据
}}}
;
\node
[datanode,anchor=north west,minimum height=1.7em,minimum width=8em] (bitext) at (0,0)
{{
\small
{
训练用双语数据
}}}
;
\node
[modelnode,anchor=north,minimum height=1.7em,minimum width=8em] (phrase) at ([yshift=-1.5em]bitext.south)
{{
\small
{
短语抽取及打分
}}}
;
\node
[modelnode,anchor=north,minimum height=1.7em,minimum width=8em] (phrase) at ([yshift=-1.5em]bitext.south)
{{
\small
{
短语抽取及打分
}}}
;
...
@@ -20,16 +20,16 @@
...
@@ -20,16 +20,16 @@
\node
[decodingnode,anchor=north,minimum height=1.7em,minimum width=8em] (decoding) at ([yshift=-2em]reordertable.south)
{{
\small
{
解码器
}}}
;
\node
[decodingnode,anchor=north,minimum height=1.7em,minimum width=8em] (decoding) at ([yshift=-2em]reordertable.south)
{{
\small
{
解码器
}}}
;
\draw
[->,
very
thick] ([yshift=-0.1em]bitext.south) -- ([yshift=0.1em]phrase.north);
\draw
[->,thick] ([yshift=-0.1em]bitext.south) -- ([yshift=0.1em]phrase.north);
\draw
[->,
very
thick] (bitext.south east) -- ([yshift=0.1em]reorder.north west);
\draw
[->,thick] (bitext.south east) -- ([yshift=0.1em]reorder.north west);
\draw
[->,
very
thick] ([yshift=-0.1em]monotext.south) -- ([yshift=0.1em]lm.north);
\draw
[->,thick] ([yshift=-0.1em]monotext.south) -- ([yshift=0.1em]lm.north);
\draw
[->,
very
thick] ([yshift=-0.1em]phrase.south) -- ([yshift=0.1em]phrasetable.north);
\draw
[->,thick] ([yshift=-0.1em]phrase.south) -- ([yshift=0.1em]phrasetable.north);
\draw
[->,
very
thick] ([yshift=-0.1em]reorder.south) -- ([yshift=0.1em]reordertable.north);
\draw
[->,thick] ([yshift=-0.1em]reorder.south) -- ([yshift=0.1em]reordertable.north);
\draw
[->,
very
thick] ([yshift=-0.1em]lm.south) -- ([yshift=0.1em]lmtable.north);
\draw
[->,thick] ([yshift=-0.1em]lm.south) -- ([yshift=0.1em]lmtable.north);
\draw
[->,
very
thick] ([yshift=-0.1em]phrasetable.south east) -- ([yshift=0.1em,xshift=-3em]decoding.north);
\draw
[->,thick] ([yshift=-0.1em]phrasetable.south east) -- ([yshift=0.1em,xshift=-3em]decoding.north);
\draw
[->,
very
thick] ([yshift=-0.1em]reordertable.south) -- ([yshift=0.1em,xshift=0em]decoding.north);
\draw
[->,thick] ([yshift=-0.1em]reordertable.south) -- ([yshift=0.1em,xshift=0em]decoding.north);
\draw
[->,
very
thick] ([yshift=-0.1em]lmtable.south west) -- ([yshift=0.1em,xshift=3em]decoding.north);
\draw
[->,thick] ([yshift=-0.1em]lmtable.south west) -- ([yshift=0.1em,xshift=3em]decoding.north);
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-reorder-base-distance.tex
查看文件 @
f1c8ed7c
...
@@ -6,17 +6,17 @@
...
@@ -6,17 +6,17 @@
\begin{scope}
[minimum height = 20pt]
\begin{scope}
[minimum height = 20pt]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=green!20]
(s1) at (0, 0)
{
\small
{
在
\ \
桌子
\ \
上
\ \ \;
的
}}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\small
{
在
\ \
桌子
\ \
上
\ \ \;
的
}}
;
\node
[anchor=south]
(n1) at ([xshift=-2.5em,yshift=-0.5em]s1.north)
{
\small
{
1
}}
;
\node
[anchor=south]
(n1) at ([xshift=-2.5em,yshift=-0.5em]s1.north)
{
\small
{
1
}}
;
\node
[anchor=south]
(n2) at ([xshift=-0.7em,yshift=-0.5em]s1.north)
{
\small
{
2
}}
;
\node
[anchor=south]
(n2) at ([xshift=-0.7em,yshift=-0.5em]s1.north)
{
\small
{
2
}}
;
\node
[anchor=south]
(n3) at ([xshift=1.2em,yshift=-0.5em]s1.north)
{
\small
{
3
}}
;
\node
[anchor=south]
(n3) at ([xshift=1.2em,yshift=-0.5em]s1.north)
{
\small
{
3
}}
;
\node
[anchor=south]
(n4) at ([xshift=2.7em,yshift=-0.5em]s1.north)
{
\small
{
4
}}
;
\node
[anchor=south]
(n4) at ([xshift=2.7em,yshift=-0.5em]s1.north)
{
\small
{
4
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\small
{
苹果
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(s2) at ([xshift=1em]s1.east)
{
\small
{
苹果
}}
;
\node
[anchor=south]
(n5) at ([yshift=-0.5em]s2.north)
{
\small
{
5
}}
;
\node
[anchor=south]
(n5) at ([yshift=-0.5em]s2.north)
{
\small
{
5
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=west,fill=red!20]
(t1) at (0, -1.5)
{
\small
{
the apple
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t1) at (0, -1.5)
{
\small
{
the apple
}}
;
\node
[anchor=west,fill=green!20]
(t2) at ([xshift=1.3em]t1.east)
{
\small
{
on the table
}}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em
]
(t2) at ([xshift=1.3em]t1.east)
{
\small
{
on the table
}}
;
\path
[<->, thick]
(s1.south) edge (t2.north);
\path
[<->, thick]
(s1.south) edge (t2.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
...
@@ -34,8 +34,8 @@
...
@@ -34,8 +34,8 @@
\node
[anchor=north]
(d1) at ([xshift=-0.1em,yshift=-0.1em]distance.south)
{
+4
}
;
\node
[anchor=north]
(d1) at ([xshift=-0.1em,yshift=-0.1em]distance.south)
{
+4
}
;
\node
[anchor=north]
(d2) at ([yshift=-1.8em]d1.south)
{
-5
}
;
\node
[anchor=north]
(d2) at ([yshift=-1.8em]d1.south)
{
-5
}
;
\node
[anchor=north west,fill=blue!20]
(m1) at ([xshift=-1em,yshift=-0.0em]t1.south west)
{
\small
{$
\rm
{
start
}_
1
\ \
-
\ \ \rm
{
end
}_{
0
}
\ \
-
\ \
1
$
\quad
=
\quad
5
\
-
\
0
\
-
\
1
}}
;
\node
[anchor=north west,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(m1) at ([xshift=-1em,yshift=-0.0em]t1.south west)
{
\small
{$
\rm
{
start
}_
1
\ \
-
\ \ \rm
{
end
}_{
0
}
\ \
-
\ \
1
$
\quad
=
\quad
5
\
-
\
0
\
-
\
1
}}
;
\node
[anchor=north west,fill=blue!20]
(m2) at ([xshift=-1em,yshift=-0.0em]t2.south west)
{
\small
{$
\rm
{
start
}_
2
\ \
-
\ \ \rm
{
end
}_{
1
}
\ \
-
\ \
1
$
\quad
=
\quad
1
\
-
\
5
\
-
\
1
}}
;
\node
[anchor=north west,fill=blue!20
,draw,thick,rounded corners=0.3em
]
(m2) at ([xshift=-1em,yshift=-0.0em]t2.south west)
{
\small
{$
\rm
{
start
}_
2
\ \
-
\ \ \rm
{
end
}_{
1
}
\ \
-
\ \
1
$
\quad
=
\quad
1
\
-
\
5
\
-
\
1
}}
;
\draw
[-]
([xshift=0.08in]target.south west)--([xshift=2.4in]target.south west);
\draw
[-]
([xshift=0.08in]target.south west)--([xshift=2.4in]target.south west);
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-reorder-base-phrase-translation.tex
查看文件 @
f1c8ed7c
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
\begin{scope}
[minimum height = 20pt]
\begin{scope}
[minimum height = 20pt]
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.5em, 0)
{$
\seq
{
s
}$
:
}
;
\node
[anchor=west,fill=green!20]
(s1) at (0, 0)
{
\footnotesize
{
在 桌子 上 的
}}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em
]
(s1) at (0, 0)
{
\footnotesize
{
在 桌子 上 的
}}
;
\node
[anchor=west,fill=red!20
]
(s2) at ([xshift=1
em]s1.east)
{
\footnotesize
{
苹果
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em]
(s2) at ([xshift=2
em]s1.east)
{
\footnotesize
{
苹果
}}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=east]
(t0) at (-0.5em, -1.5)
{$
\seq
{
t
}$
:
}
;
\node
[anchor=west,fill=red!20]
(t1) at (0, -1.5)
{
\footnotesize
{
the apple
}}
;
\node
[anchor=west,fill=red!20
,draw,thick,rounded corners=0.3em
]
(t1) at (0, -1.5)
{
\footnotesize
{
the apple
}}
;
\node
[anchor=west,fill=green!20
]
(t2) at ([xshift=1
em]t1.east)
{
\footnotesize
{
on the table
}}
;
\node
[anchor=west,fill=green!20
,draw,thick,rounded corners=0.3em]
(t2) at ([xshift=2
em]t1.east)
{
\footnotesize
{
on the table
}}
;
\path
[<->, thick]
(
s1.south) edge (
t2.north);
\path
[<->, thick]
(
[yshift=-0.1em]s1.south) edge ([yshift=0.1em]
t2.north);
\path
[<->, thick]
(
s2.south) edge (
t1.north);
\path
[<->, thick]
(
[yshift=-0.1em]s2.south) edge ([yshift=0.1em]
t1.north);
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-search-space-representation-of-feature-weight.tex
查看文件 @
f1c8ed7c
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
\node
[anchor=north]
(label3) at ([xshift=0em,yshift=-2.5em]label2.north)
{
取值
}
;
\node
[anchor=north]
(label3) at ([xshift=0em,yshift=-2.5em]label2.north)
{
取值
}
;
}
}
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
2.5
em]x3.south)
{
\small
{
(a)搜索空间
}}
;
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
1.0
em]x3.south)
{
\small
{
(a)搜索空间
}}
;
\end{scope}
\end{scope}
\begin{scope}
[scale=0.55,xshift=3.2in]
\begin{scope}
[scale=0.55,xshift=3.2in]
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
\node
[anchor=north]
(e4) at ([xshift=0,yshift=-0.2em]e3.south)
{$
w
_
M
=
1
.
00
$}
;
\node
[anchor=north]
(e4) at ([xshift=0,yshift=-0.2em]e3.south)
{$
w
_
M
=
1
.
00
$}
;
}
}
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
2.5
em]x3.south)
{
\small
{
(b)一条搜索路径
}}
;
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
1.0
em]x3.south)
{
\small
{
(b)一条搜索路径
}}
;
\end{scope}
\end{scope}
\begin{scope}
[scale=0.55,xshift=6.8in]
\begin{scope}
[scale=0.55,xshift=6.8in]
...
@@ -119,6 +119,6 @@
...
@@ -119,6 +119,6 @@
\node
[anchor=north]
(label2) at ([xshift=0em,yshift=-2.5em]label1.north)
{
种组合
}
;
\node
[anchor=north]
(label2) at ([xshift=0em,yshift=-2.5em]label1.north)
{
种组合
}
;
}
}
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
2.5
em]x3.south)
{
\small
{
(c)多条搜索路径
}}
;
\node
[anchor=north]
(l1) at ([xshift=0em,yshift=-
1.0
em]x3.south)
{
\small
{
(c)多条搜索路径
}}
;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-three-types-of-reorder-method-in-msd.tex
查看文件 @
f1c8ed7c
...
@@ -55,14 +55,11 @@
...
@@ -55,14 +55,11 @@
\node
[anchor=west] (p1line1) at ([xshift=3.5em,yshift=0.5em]a75.east)
{
\footnotesize
{
M(monotone):单调调序
}}
;
\node
[anchor=west] (p1line1) at ([xshift=3.5em,yshift=0.5em]a75.east)
{
\footnotesize
{
M(monotone):单调调序
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0,yshift=-1em]p1line1.south west)
{
\footnotesize
{
S(swap): 与前面一个短语
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0,yshift=-1em]p1line1.south west)
{
\footnotesize
{
S(swap): 与前面一个短语
}}
;
\node
[anchor=north west] (p1line3) at ([xshift=3.8em]p1line2.south west)
{
\footnotesize
{
位置进行交换
}}
;
\node
[anchor=north west] (p1line3) at ([xshift=3.8em]p1line2.south west)
{
\footnotesize
{
位置进行交换
}}
;
\node
[anchor=north west] (p1line4) at ([xshift=-3.
5
em,yshift=-1em]p1line3.south west)
{
\footnotesize
{
D(discontinuous):非连续调序
}}
;
\node
[anchor=north west] (p1line4) at ([xshift=-3.
8
em,yshift=-1em]p1line3.south west)
{
\footnotesize
{
D(discontinuous):非连续调序
}}
;
\node
[anchor=east] (p1line5) at ([xshift=0em,yshift=3em]p1line4.east)
{}
;
\node
[anchor=east] (p1line5) at ([xshift=0em,yshift=3em]p1line4.east)
{}
;
\node
[anchor=east] (p1line6) at ([xshift=0em,yshift=7em]p1line4.east)
{}
;
\node
[anchor=east] (p1line6) at ([xshift=0em,yshift=7em]p1line4.east)
{}
;
%\node [anchor=west] (p2line1) at ([xshift=4em]a73.east) {\footnotesize{$\bar{s}_j$: 真\ \ \ 好 \ \ }};
%\node [anchor=north west] (p2line2) at ([xshift=0]p2line1.south west) {\footnotesize{$\bar{t}_j$: very\ \ \ good\ \ \ \ \ \ \ \ }};
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
{
{
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a05)] (phrase1)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a05)] (phrase1)
{}
;
...
@@ -70,9 +67,9 @@
...
@@ -70,9 +67,9 @@
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a31) (a32)] (phrase3)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a31) (a32)] (phrase3)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a43) (a63)] (phrase4)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a43) (a63)] (phrase4)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a70)] (phrase5)
{}
;
\node
[rectangle,thick,inner sep=0.3em,fill=blue!40,drop shadow,fill opacity=0.85] [fit = (a70)] (phrase5)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!10] [fit = (p1line1) (p1line6)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!10
,draw,thick,rounded corners=0.3em
] [fit = (p1line1) (p1line6)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=
ugreen!10
] [fit = (p1line2) (p1line3) (p1line5)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=
green!10,draw,thick,rounded corners=0.3em
] [fit = (p1line2) (p1line3) (p1line5)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=orange!10] [fit = (p1line4)] (box3)
{}
;
\node
[rectangle,inner sep=0.2em,fill=orange!10
,draw,thick,rounded corners=0.3em
] [fit = (p1line4)] (box3)
{}
;
}
}
\end{pgfonlayer}
\end{pgfonlayer}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-unlimited-phrase-extraction.tex
查看文件 @
f1c8ed7c
...
@@ -41,18 +41,18 @@
...
@@ -41,18 +41,18 @@
\node
[tgtnode]
(tgt7) at ([yshift=-0.5*1.0cm]tgt6.north east)
{
\scriptsize
{
?
}}
;
\node
[tgtnode]
(tgt7) at ([yshift=-0.5*1.0cm]tgt6.north east)
{
\scriptsize
{
?
}}
;
\node
[tgtnode]
(tgt8) at ([yshift=-0.5*1.0cm]tgt7.north east)
{
\scriptsize
{
EOS
}}
;
\node
[tgtnode]
(tgt8) at ([yshift=-0.5*1.0cm]tgt7.north east)
{
\scriptsize
{
EOS
}}
;
\node
[anchor=west] (p1line1) at ([xshift=
4
em,yshift=1em]a57.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
: 什么
\ \ \
都
\ \ \
没
}}
;
\node
[anchor=west] (p1line1) at ([xshift=
5
em,yshift=1em]a57.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
: 什么
\ \ \
都
\ \ \
没
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0]p1line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
i
$
: learned
\ \ \
nothing
\ \ \
?
\ \ \ \ \ \ \ \ \ \ \ \
}}
;
\node
[anchor=north west] (p1line2) at ([xshift=0]p1line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
i
$
: learned
\ \ \
nothing
\ \ \
?
\ \ \ \ \ \ \ \ \ \ \ \
}}
;
\node
[anchor=west] (p2line1) at ([xshift=
4
em]a53.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
: 到
\ \ \
?
}}
;
\node
[anchor=west] (p2line1) at ([xshift=
5
em]a53.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
: 到
\ \ \
?
}}
;
\node
[anchor=north west] (p2line2) at ([xshift=0]p2line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
j
$
: Have
\ \ \
you
\ \ \
learned
\ \ \
nothing
}}
;
\node
[anchor=north west] (p2line2) at ([xshift=0]p2line1.south west)
{
\footnotesize
{$
\bar
{
t
}_
j
$
: Have
\ \ \
you
\ \ \
learned
\ \ \
nothing
}}
;
\node
[anchor=east] (p1line3) at ([xshift=0em,yshift=2.9cm]p2line2.east)
{}
;
\node
[anchor=east] (p1line3) at ([xshift=0em,yshift=2.9cm]p2line2.east)
{}
;
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
\node
[rectangle,draw=red,thick,inner sep=0.2em,fill=white,drop shadow] [fit = (a26) (a44)] (phrase1)
{}
;
\node
[rectangle,draw=red,thick,inner sep=0.2em,fill=white,drop shadow] [fit = (a26) (a44)] (phrase1)
{}
;
\node
[rectangle,draw=
u
green,thick,inner sep=0.2em,fill=white,drop shadow] [fit = (a01) (a32)] (phrase2)
{}
;
\node
[rectangle,draw=green,thick,inner sep=0.2em,fill=white,drop shadow] [fit = (a01) (a32)] (phrase2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!1
0
] [fit = (p1line1) (p1line2) (p1line3)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=red!1
5,draw=red,thick
] [fit = (p1line1) (p1line2) (p1line3)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,fill=green!1
0
] [fit = (p2line1) (p2line2)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,fill=green!1
5,draw=green,thick
] [fit = (p2line1) (p2line2)] (box2)
{}
;
\end{pgfonlayer}
\end{pgfonlayer}
\draw
[->,thick,dotted] ([yshift=-0.8em]phrase1.east) .. controls +(east:1.5) and +(west:1) .. (box1.west);
\draw
[->,thick,dotted] ([yshift=-0.8em]phrase1.east) .. controls +(east:1.5) and +(west:1) .. (box1.west);
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论