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
b16230a3
Commit
b16230a3
authored
Apr 14, 2020
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chapter 3 figures
parent
0290875b
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
17 行增加
和
17 行删除
+17
-17
Book/Chapter3/Figures/figure-example-of-t-s-generate.tex
+0
-0
Book/Chapter3/Figures/figure-expression.tex
+5
-5
Book/Chapter3/Figures/figure-greedy-MT-decoding-pseudo-code.tex
+1
-1
Book/Chapter3/Figures/figure-probability_translation_process.tex
+0
-0
Book/Chapter3/Figures/figure-word-alignment.tex
+11
-11
没有找到文件。
Book/Chapter3/Figures/figure-example-of-t-s-generate.tex
查看文件 @
b16230a3
差异被折叠。
点击展开。
Book/Chapter3/Figures/figure-expression.tex
查看文件 @
b16230a3
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
\node
[anchor=north west,inner sep=2pt,minimum height=2.5em] (eq3) at ([xshift=-15.56em,yshift=0.0em]eq2.south east)
{${
\prod
_{
j
=
1
}^
l
{
\prod
_{
k
=
1
}^{
\varphi
_
j
}{
\textrm
{
P
}
(
\pi
_{
jk
}
|
\pi
_{
j
1
}^{
k
-
1
}
,
\pi
_{
1
}^{
j
-
1
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}}
\times
}$}
;
\node
[anchor=north west,inner sep=2pt,minimum height=2.5em] (eq3) at ([xshift=-15.56em,yshift=0.0em]eq2.south east)
{${
\prod
_{
j
=
1
}^
l
{
\prod
_{
k
=
1
}^{
\varphi
_
j
}{
\textrm
{
P
}
(
\pi
_{
jk
}
|
\pi
_{
j
1
}^{
k
-
1
}
,
\pi
_{
1
}^{
j
-
1
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}}
\times
}$}
;
\node
[anchor=north west,inner sep=2pt,minimum height=2.5em] (eq4) at ([xshift=-17.10em,yshift=0.0em]eq3.south east)
{{${
\prod
_{
k
=
1
}^{
\varphi
_
0
}{
\textrm
{
P
}
(
\pi
_{
0
k
}
|
\pi
_{
01
}^{
k
-
1
}
,
\pi
_{
1
}^{
l
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}}$}}
;
\node
[anchor=north west,inner sep=2pt,minimum height=2.5em] (eq4) at ([xshift=-17.10em,yshift=0.0em]eq3.south east)
{{${
\prod
_{
k
=
1
}^{
\varphi
_
0
}{
\textrm
{
P
}
(
\pi
_{
0
k
}
|
\pi
_{
01
}^{
k
-
1
}
,
\pi
_{
1
}^{
l
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=red!
15
] (part1) at ([xshift=-12.5em,yshift=0.0em]eq1.east)
{{${
\textrm
{
P
}
(
\varphi
_
j|
\varphi
_{
1
}^{
j
-
1
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=red!
30
] (part1) at ([xshift=-12.5em,yshift=0.0em]eq1.east)
{{${
\textrm
{
P
}
(
\varphi
_
j|
\varphi
_{
1
}^{
j
-
1
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=blue!
15
] (part2) at ([xshift=-5.9em,yshift=0.0em]eq1.east)
{{${
\textrm
{
P
}
(
\varphi
_
0
|
\varphi
_{
1
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=blue!
30
] (part2) at ([xshift=-5.9em,yshift=0.0em]eq1.east)
{{${
\textrm
{
P
}
(
\varphi
_
0
|
\varphi
_{
1
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=green!
15
] (part3) at ([xshift=-10.7em,yshift=0.0em]eq2.east)
{{${
\textrm
{
P
}
(
\tau
_{
jk
}
|
\tau
_{
j
1
}^{
k
-
1
}
,
\tau
_{
1
}^{
j
-
1
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=green!
30
] (part3) at ([xshift=-10.7em,yshift=0.0em]eq2.east)
{{${
\textrm
{
P
}
(
\tau
_{
jk
}
|
\tau
_{
j
1
}^{
k
-
1
}
,
\tau
_{
1
}^{
j
-
1
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=yellow!
15
] (part4) at ([xshift=-12.23em,yshift=0.0em]eq3.east)
{{${
\textrm
{
P
}
(
\pi
_{
jk
}
|
\pi
_{
j
1
}^{
k
-
1
}
,
\pi
_{
1
}^{
j
-
1
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=yellow!
30
] (part4) at ([xshift=-12.23em,yshift=0.0em]eq3.east)
{{${
\textrm
{
P
}
(
\pi
_{
jk
}
|
\pi
_{
j
1
}^{
k
-
1
}
,
\pi
_{
1
}^{
j
-
1
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=gray!
15
] (part5) at ([xshift=-10.4em,yshift=0.0em]eq4.east)
{{${
\textrm
{
P
}
(
\pi
_{
0
k
}
|
\pi
_{
01
}^{
k
-
1
}
,
\pi
_{
1
}^{
l
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\node
[anchor=west,inner sep=2pt,minimum height=2.0em,fill=gray!
30
] (part5) at ([xshift=-10.4em,yshift=0.0em]eq4.east)
{{${
\textrm
{
P
}
(
\pi
_{
0
k
}
|
\pi
_{
01
}^{
k
-
1
}
,
\pi
_{
1
}^{
l
}
,
\tau
_{
0
}^{
l
}
,
\varphi
_{
0
}^{
l
}
,
\mathbf
{
t
}
)
}$}}
;
\end{tikzpicture}
\end{tikzpicture}
...
...
Book/Chapter3/Figures/figure-greedy-MT-decoding-pseudo-code.tex
查看文件 @
b16230a3
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
%% remark 5
%% remark 5
\begin{scope}
\begin{scope}
{
{
\node
[anchor=north west,align=left] (remark5) at ([xshift=0.
6
em,yshift=-1.6em]remark4.south west)
{
\textsc
{
PruneForTop1
}
\\
保留得分最高的结果
}
;
\node
[anchor=north west,align=left] (remark5) at ([xshift=0.
72
em,yshift=-1.6em]remark4.south west)
{
\textsc
{
PruneForTop1
}
\\
保留得分最高的结果
}
;
\node
[anchor=west,draw,inner sep=1pt] (s1) at ([yshift=-0.5em,xshift=1.2em]remark5.north east)
{
\tiny
{
0.234
}}
;
\node
[anchor=west,draw,inner sep=1pt] (s1) at ([yshift=-0.5em,xshift=1.2em]remark5.north east)
{
\tiny
{
0.234
}}
;
\node
[anchor=north west,draw,inner sep=1pt] (s2) at ([yshift=-0.2em]s1.south west)
{
\tiny
{
0.197
}}
;
\node
[anchor=north west,draw,inner sep=1pt] (s2) at ([yshift=-0.2em]s1.south west)
{
\tiny
{
0.197
}}
;
\node
[anchor=north west,draw,inner sep=1pt] (s3) at ([yshift=-0.2em]s2.south west)
{
\tiny
{
0.083
}}
;
\node
[anchor=north west,draw,inner sep=1pt] (s3) at ([yshift=-0.2em]s2.south west)
{
\tiny
{
0.083
}}
;
...
...
Book/Chapter3/Figures/figure-probability_translation_process.tex
查看文件 @
b16230a3
差异被折叠。
点击展开。
Book/Chapter3/Figures/figure-word-alignment.tex
查看文件 @
b16230a3
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
{
{
{
\footnotesize
{
\footnotesize
\node
[anchor=north west,minimum height=2em,minimum width=4em] (s11) at (0,0)
{}
;
\node
[anchor=north west,minimum height=2em,minimum width=4em] (s11) at (0,0)
{}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em] (s1) at ([xshift=2em]s11.east)
{
我
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em
,fill=green!30,drop shadow
] (s1) at ([xshift=2em]s11.east)
{
我
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em] (s2) at ([xshift=2em]s1.east)
{
改变
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em
,fill=green!30,drop shadow
] (s2) at ([xshift=2em]s1.east)
{
改变
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em] (s3) at ([xshift=2em]s2.east)
{
主意
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em
,fill=green!30,drop shadow
] (s3) at ([xshift=2em]s2.east)
{
主意
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em] (s4) at ([xshift=2em]s3.east)
{
了
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em
,fill=green!30,drop shadow
] (s4) at ([xshift=2em]s3.east)
{
了
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em] (s5) at ([xshift=2em]s4.east)
{
。
}
;
\node
[rectangle,draw,anchor=west,line width=1pt,minimum height=2em,minimum width=4em
,fill=green!30,drop shadow
] (s5) at ([xshift=2em]s4.east)
{
。
}
;
\node
[anchor=south] (nu1) at (s1.north)
{
1
}
;
\node
[anchor=south] (nu1) at (s1.north)
{
1
}
;
\node
[anchor=south] (nu2) at (s2.north)
{
2
}
;
\node
[anchor=south] (nu2) at (s2.north)
{
2
}
;
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
{
{
{
\footnotesize
{
\footnotesize
\node
[anchor=north,rectangle,draw,line width=1pt,minimum height=2em,minimum width=4em] (t1) at ([yshift=-3.5em]s11.south)
{$
t
_
0
$}
;
\node
[anchor=north,rectangle,draw,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t1) at ([yshift=-3.5em]s11.south)
{$
t
_
0
$}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em] (t2) at ([yshift=-3.5em]s1.south)
{
I
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t2) at ([yshift=-3.5em]s1.south)
{
I
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em] (t3) at ([yshift=-3.5em]s2.south)
{
changed
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t3) at ([yshift=-3.5em]s2.south)
{
changed
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em] (t4) at ([yshift=-3.5em]s3.south)
{
my
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t4) at ([yshift=-3.5em]s3.south)
{
my
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em] (t5) at ([yshift=-3.5em]s4.south)
{
mind
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t5) at ([yshift=-3.5em]s4.south)
{
mind
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em] (t6) at ([yshift=-3.5em]s5.south)
{
.
}
;
\node
[rectangle,draw,anchor=north,line width=1pt,minimum height=2em,minimum width=4em
,fill=red!30,drop shadow
] (t6) at ([yshift=-3.5em]s5.south)
{
.
}
;
\node
[anchor=north] (nd1) at (t2.south)
{
[1]
}
;
\node
[anchor=north] (nd1) at (t2.south)
{
[1]
}
;
\node
[anchor=north] (nd2) at (t3.south)
{
[2]
}
;
\node
[anchor=north] (nd2) at (t3.south)
{
[2]
}
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论