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
322ca897
Commit
322ca897
authored
4 years ago
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
248efc67
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
25 行增加
和
20 行删除
+25
-20
Chapter7/Figures/figure-example-of-hypothesis-recombination.tex
+13
-8
Chapter7/Figures/figure-example-of-vocabulary-translation-probability.tex
+4
-4
Chapter7/Figures/figure-function-image-about-weight-and-Bleu.tex
+7
-7
Chapter7/Figures/figure-three-types-of-reorder-method-in-msd.tex
+1
-1
没有找到文件。
Chapter7/Figures/figure-example-of-hypothesis-recombination.tex
查看文件 @
322ca897
...
...
@@ -27,7 +27,7 @@
}
}
{
\node
[anchor=north west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h4) at ([yshift=-
9
em]h0.south west)
{
\small
{
null
}}
;
\node
[anchor=north west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h4) at ([yshift=-
7
em]h0.south west)
{
\small
{
null
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h5) at ([xshift=2.2em]h4.east)
{
\small
{
he
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h6) at ([xshift=2.2em,yshift=3.5em]h4.east)
{
\small
{
it
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h8) at ([xshift=2.2em]h6.east)
{
\small
{
is not
}}
;
...
...
@@ -54,9 +54,9 @@
}
}
\node
[anchor=north]
(l1) at ([xshift=
5.5em,yshift=-1em]h0.south)
{
\scriptsize
{
原假设
}}
;
\node
[anchor=north]
(l2) at ([xshift=
5.5em,yshift=-1em]h4.south)
{
\scriptsize
{
原假设
}}
;
\node
[anchor=north]
(part1) at ([xshift=16em,yshift=-2em]h0.south)
{
\scriptsize
{
(a)译文相同时的假设重组
}
}
;
\node
[anchor=north]
(l1) at ([xshift=
6em,yshift=-1em]h0.south)
{
\scriptsize
{
(a)
\
原假设(译文相同时)
}}
;
\node
[anchor=north]
(l2) at ([xshift=
6em,yshift=-1em]h4.south)
{
\scriptsize
{
(c)
\
原假设(译文不同时)
}}
;
%\node [anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em,opacity=0.7] (h1) at ([xshift=-1em,yshift=2em]h2.north) {原假设
};
\end{scope}
...
...
@@ -87,7 +87,7 @@
}
}
{
\node
[anchor=north west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h4) at ([yshift=-
9
em]h0.south west)
{
\small
{
null
}}
;
\node
[anchor=north west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h4) at ([yshift=-
7
em]h0.south west)
{
\small
{
null
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h5) at ([xshift=2.2em]h4.east)
{
\small
{
he
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h6) at ([xshift=2.2em,yshift=3.5em]h4.east)
{
\small
{
it
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em] (h8) at ([xshift=2.2em]h6.east)
{
\small
{
is not
}}
;
...
...
@@ -111,6 +111,8 @@
}
}
{
{
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em,opacity=0.3] (h1) at ([xshift=7em]h0.east)
{
\small
{
an apple
}}
;
...
...
@@ -130,10 +132,12 @@
\node
[anchor=west] (l21) at ([xshift=0em, yshift=-1em]l2.west)
{
\footnotesize
{
较低假设
}}
;
%\node [anchor=west,inner sep=2pt,fill=red!20,minimum height=2em,minimum width=3em,opacity=0.7] (h1) at ([xshift=-1em,yshift=2em]h2.north) {重组假设};
\node
[anchor=north]
(l1) at ([xshift=
7.5em,yshift=-1em]h0.south)
{
\scriptsize
{
重组假设
}}
;
\node
[anchor=north]
(l2) at ([xshift=
7.5em,yshift=-1em]h4.south)
{
\scriptsize
{
重组假设
}}
;
\node
[anchor=north]
(part2) at ([xshift=0em,yshift=-14em]h0.south)
{
\scriptsize
{
(b)译文不同时的假设重组
}}
;
\node
[anchor=north]
(l1) at ([xshift=
6em,yshift=-1em]h0.south)
{
\scriptsize
{
(c)
\
重组假设(译文相同时)
}}
;
\node
[anchor=north]
(l2) at ([xshift=
6em,yshift=-1em]h4.south)
{
\scriptsize
{
(d)
\
重组假设(译文不同时)
}}
;
\end{scope}
\end{tikzpicture}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-example-of-vocabulary-translation-probability.tex
查看文件 @
322ca897
...
...
@@ -39,10 +39,10 @@
\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
[anchor=west]
(f1) at ([xshift=3em,yshift=0.8em]a43.east)
{
\small
{$
\funp
{
P
}_{
\textrm
{
lex
}}
(
\bar
{
t
}
|
\bar
{
s
}
)=
w
(
t
_
1
|s
_
1
)
\times
$}}
;
\node
[anchor=north]
(f2) at ([xshift=5.2em]f1.south)
{
\small
{$
\frac
{
1
}{
2
}
(
w
(
t
_
2
|s
_
2
)+
w
(
t
_
4
|s
_
2
))
\times
$}}
;
\node
[anchor=north west]
(f3) at (f2.south west)
{
\small
{$
w
(
N|s
_
3
)
\times
$}}
;
\node
[anchor=north west]
(f4) at (f3.south west)
{
\small
{$
w
(
t
_
4
|s
_
4
)
\times
$}}
;
\node
[anchor=west]
(f1) at ([xshift=3em,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
_
4
|s
_
2
))
\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
$}}
;
\end{scope}
...
...
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-function-image-about-weight-and-Bleu.tex
查看文件 @
322ca897
...
...
@@ -20,8 +20,8 @@
\draw
[thick,dotted]
([xshift=4em]x0.center) -- ([xshift=4em,yshift=3.6em]x0.center);
}
\node
[anchor=north]
(zero) at ([yshift=0.1em]x0.south)
{
\small
{
0
}}
;
\node
[anchor=north]
(wx) at ([xshift=4em,yshift=0.1em]x0.south)
{
\small
{$
w
_
x
$}}
;
\node
[anchor=north]
(wi) at ([xshift=8em,yshift=0.1em]x0.south)
{
\small
{$
w
_
i
$}}
;
\node
[anchor=north]
(wx) at ([xshift=4em,yshift=0.1em]x0.south)
{
\small
{$
\lambda
_
x
$}}
;
\node
[anchor=north]
(wi) at ([xshift=8em,yshift=0.1em]x0.south)
{
\small
{$
\lambda
_
i
$}}
;
\end{scope}
...
...
@@ -33,8 +33,8 @@
\draw
[->,thick]
(x0.center) -- ([yshift=5.6em]x0.center);
\node
[anchor=north]
(zero) at ([yshift=0.1em]x0.south)
{
\small
{
0
}}
;
\node
[anchor=north]
(wx) at ([xshift=4em,yshift=0.1em]x0.south)
{
\small
{$
w
_
x
$}}
;
\node
[anchor=north]
(wi) at ([xshift=8em,yshift=0.1em]x0.south)
{
\small
{$
w
_
i
$}}
;
\node
[anchor=north]
(wx) at ([xshift=4em,yshift=0.1em]x0.south)
{
\small
{$
\lambda
_
x
$}}
;
\node
[anchor=north]
(wi) at ([xshift=8em,yshift=0.1em]x0.south)
{
\small
{$
\lambda
_
i
$}}
;
{
\draw
[thick]
([yshift=2em]x0.center) -- ([xshift=4em,yshift=2em]x0.center);
...
...
@@ -42,12 +42,12 @@
\draw
[thick,dotted]
([xshift=4em]x0.center) -- ([xshift=4em,yshift=5.5em]x0.center);
\node
[anchor=north]
(e1) at ([xshift=2em,yshift=3em]x0.north)
{
\small
{$
d
^
*
=
d
_
1
$}}
;
\node
[anchor=north]
(e2) at ([xshift=6.2em,yshift=5em]x0.north)
{
\small
{$
d
^
*
=
d
_
2
$}}
;
\node
[anchor=north]
(e1) at ([xshift=2em,yshift=3em]x0.north)
{
\small
{$
\hat
{
d
}
=
d
_
1
$}}
;
\node
[anchor=north]
(e2) at ([xshift=6.2em,yshift=5em]x0.north)
{
\small
{$
\hat
{
d
}
=
d
_
2
$}}
;
\node
[anchor=north,rotate=90]
(e2) at ([xshift=-1.3em,yshift=4em]x0.south)
{
\small
{
BLEU
}}
;
\draw
[decorate,decoration={brace,amplitude=0.4em},red,thick]
([xshift=4em,yshift=0.5em]x0.south) -- ([xshift=8.2em,yshift=0.5em]x0.south);
\node
[anchor=north]
(wi) at ([xshift=6.1em,yshift=2.1em]x0.south)
{
\footnotesize
{
\red
{
挑选
$
w
_
i
$}}}
;
\node
[anchor=north]
(wi) at ([xshift=6.1em,yshift=2.1em]x0.south)
{
\footnotesize
{
\red
{
挑选
$
\hat
{
\lambda
}
_
i
$}}}
;
}
\end{scope}
\end{tikzpicture}
This diff is collapsed.
Click to expand it.
Chapter7/Figures/figure-three-types-of-reorder-method-in-msd.tex
查看文件 @
322ca897
...
...
@@ -54,7 +54,7 @@
{
\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] (p1line3) at ([xshift=3.
5
em]p1line2.south west)
{
\footnotesize
{
位置进行交换
}}
;
\node
[anchor=north west] (p1line3) at ([xshift=3.
8
em]p1line2.south west)
{
\footnotesize
{
位置进行交换
}}
;
\node
[anchor=north west] (p1line4) at ([xshift=-3.5em,yshift=-1em]p1line3.south west)
{
\footnotesize
{
D(discontinuous):非连续调序
}}
;
\node
[anchor=east] (p1line5) at ([xshift=0em,yshift=3em]p1line4.east)
{}
;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论