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
6fd3eec0
Commit
6fd3eec0
authored
Sep 06, 2020
by
单韦乔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第七章出版社格式
parent
2a4564f0
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
36 行增加
和
34 行删除
+36
-34
Chapter7/Figures/figure-basic-process-of-translation.tex
+8
-8
Chapter7/Figures/figure-function-image-about-weight-and-Bleu-1.tex
+2
-2
Chapter7/Figures/figure-function-image-about-weight-and-Bleu-2.tex
+1
-1
Chapter7/Figures/figure-grid-search.tex
+3
-3
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment-1.tex
+1
-1
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment.tex
+4
-4
Chapter7/Figures/figure-reorder-base-distance.tex
+2
-2
Chapter7/Figures/figure-reorder-base-phrase-translation.tex
+2
-2
Chapter7/Figures/figure-search-space-representation-of-feature-weight.tex
+6
-4
Chapter7/Figures/figure-translation-hypothesis-extension.tex
+1
-1
Chapter7/Figures/figure-translation-option.tex
+1
-1
Chapter7/Figures/figure-unlimited-phrase-extraction.tex
+2
-2
Chapter7/Figures/figure-word-and-phrase-translation-regard-as-path.tex
+1
-1
Chapter7/Figures/figure-word-translation-regard-as-path.tex
+1
-1
Chapter7/chapter7.tex
+1
-1
没有找到文件。
Chapter7/Figures/figure-basic-process-of-translation.tex
查看文件 @
6fd3eec0
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
\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=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gray!20]
(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=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\footnotesize
{
(a)
\
}}
;
\node
[anchor=north]
(l) at ([xshift=7em,yshift=-0.5em]t0.south)
{
\footnotesize
{
(a)
\
}}
;
\end{scope}
\end{scope}
...
@@ -18,12 +18,12 @@
...
@@ -18,12 +18,12 @@
\begin{scope}
[xshift=15em,minimum height = 18pt]
\begin{scope}
[xshift=15em,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=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gray!20]
(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]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
...
@@ -36,12 +36,12 @@
...
@@ -36,12 +36,12 @@
\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=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(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]
(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=gray!20]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\node
[anchor=west,fill=gray!20]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
...
@@ -58,12 +58,12 @@
...
@@ -58,12 +58,12 @@
\begin{scope}
[xshift=15em,yshift=-9.5em,minimum height = 18pt]
%[scale=0.5]
\begin{scope}
[xshift=15em,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]
(s1) at (0, 0)
{
\footnotesize
{
桌子 上
}}
;
\node
[anchor=west,fill=gray!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
有
}}
;
\node
[anchor=west,fill=gray!20]
(s3) at ([xshift=1em]s2.east)
{
\footnotesize
{
一个 苹果
}}
;
\node
[anchor=west,fill=gray!20]
(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=gray!20]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\node
[anchor=west,fill=gray!20]
(t1) at (0, -1.5)
{
\footnotesize
{
There is
}}
;
\path
[<->, thick]
(s2.south) edge (t1.north);
\path
[<->, thick]
(s2.south) edge (t1.north);
...
...
Chapter7/Figures/figure-function-image-about-weight-and-Bleu-1.tex
查看文件 @
6fd3eec0
...
@@ -12,12 +12,12 @@
...
@@ -12,12 +12,12 @@
\draw
[thick]
([yshift=2em]x0.center) -- ([xshift=8em,yshift=4em]x0.center);
\draw
[thick]
([yshift=2em]x0.center) -- ([xshift=8em,yshift=4em]x0.center);
\node
[anchor=north]
(e1) at ([xshift=6em,yshift=6em]x0.south)
{
\small
{$
d
_
1
$}}
;
\node
[anchor=north]
(e1) at ([xshift=6em,yshift=6em]x0.south)
{
\small
{$
d
_
1
$}}
;
\node
[anchor=north]
(e2) at ([xshift=7em,yshift=4em]x0.south)
{
\small
{$
d
_
2
$}}
;
\node
[anchor=north]
(e2) at ([xshift=7em,yshift=4em]x0.south)
{
\small
{$
d
_
2
$}}
;
\node
[anchor=north,rotate=90]
(e2) at ([xshift=-1.3em,yshift=3.6em]x0.south)
{
\small
{
model s
core
}}
;
\node
[anchor=north,rotate=90]
(e2) at ([xshift=-1.3em,yshift=3.6em]x0.south)
{
\small
{
S
core
}}
;
}
}
{
{
\node
[anchor=center,draw=red,circle,inner sep=2pt,thick] (x1) at ([xshift=4em,yshift=3em]x0.center)
{}
;
\node
[anchor=center,draw=red,circle,inner sep=2pt,thick] (x1) at ([xshift=4em,yshift=3em]x0.center)
{}
;
\draw
[thick,dotted]
([xshift=4em]x0.center) -- ([xshift=4em,yshift=3em]x0.center);
\draw
[thick,dotted]
([xshift=4em]x0.center) -- ([xshift=4em,yshift=3
.6
em]x0.center);
}
}
\node
[anchor=north]
(zero) at ([yshift=0.1em]x0.south)
{
\small
{
0
}}
;
\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]
(wx) at ([xshift=4em,yshift=0.1em]x0.south)
{
\small
{$
w
_
x
$}}
;
...
...
Chapter7/Figures/figure-function-image-about-weight-and-Bleu-2.tex
查看文件 @
6fd3eec0
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
\node
[anchor=north]
(e1) at ([xshift=2em,yshift=3em]x0.north)
{
\small
{$
d
^
*=
d
_
1
$}}
;
\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]
(e2) at ([xshift=6.2em,yshift=5em]x0.north)
{
\small
{$
d
^
*=
d
_
2
$}}
;
\node
[anchor=north,rotate=90]
(e2) at ([xshift=-1.3em,yshift=3
.6
em]x0.south)
{
\small
{
BLEU
}}
;
\node
[anchor=north,rotate=90]
(e2) at ([xshift=-1.3em,yshift=3em]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);
\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
{
挑选
$
w
_
i
$}}}
;
}
}
...
...
Chapter7/Figures/figure-grid-search.tex
查看文件 @
6fd3eec0
...
@@ -28,11 +28,11 @@
...
@@ -28,11 +28,11 @@
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r35) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (r35) at (2,1)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (f11) at ([xshift=0em,yshift=23em]y2.north)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,blue!30,fill=blue!30] (f11) at ([xshift=0em,yshift=23em]y2.north)
{}
;
\node
[anchor=south]
(f12) at ([xshift=
5em,yshift=-0.5em]f11.south)
{
\scriptsize
{
fixed
}}
;
\node
[anchor=south]
(f12) at ([xshift=
8.5em,yshift=-1em]f11.south)
{
\scriptsize
{
固定的权重
}}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!50,fill=ugreen!50] (f21) at ([xshift=0em,yshift=-4em]f11.north)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,ugreen!50,fill=ugreen!50] (f21) at ([xshift=0em,yshift=-4em]f11.north)
{}
;
\node
[anchor=south]
(f22) at ([xshift=8.5em,yshift=-
0.5em]f21.south)
{
\scriptsize
{
valid choices
}}
;
\node
[anchor=south]
(f22) at ([xshift=8.5em,yshift=-
1em]f21.south)
{
\scriptsize
{
有效取值点
}}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (f31) at ([xshift=0em,yshift=-4em]f21.north)
{}
;
\node
[anchor=center,draw,circle,inner sep=1.5pt,red!30,fill=red!30] (f31) at ([xshift=0em,yshift=-4em]f21.north)
{}
;
\node
[anchor=south]
(f32) at ([xshift=
9.5em,yshift=-0.5em]f31.south)
{
\scriptsize
{
invalid choices
}}
;
\node
[anchor=south]
(f32) at ([xshift=
8.5em,yshift=-1em]f31.south)
{
\scriptsize
{
无效取值点
}}
;
\draw
[-,very thick,red!50, dashed] (1,2) -- (2,4) -- (3,2) -- (2,3) -- (1,2) -- (3,2) -- (2,1) -- (1,2) -- (2,0) -- (3,2);
\draw
[-,very thick,red!50, dashed] (1,2) -- (2,4) -- (3,2) -- (2,3) -- (1,2) -- (3,2) -- (2,1) -- (1,2) -- (2,0) -- (3,2);
\draw
[-,very thick,blue!50] (0,1) -- (1,2);
\draw
[-,very thick,blue!50] (0,1) -- (1,2);
...
...
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment-1.tex
查看文件 @
6fd3eec0
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
\begin{scope}
[xshift = 1.5in, yshift = 1.3in]
\begin{scope}
[xshift = 1.5in, 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);
{
{
...
...
Chapter7/Figures/figure-phrase-extraction-consistent-with-word-alignment.tex
查看文件 @
6fd3eec0
...
@@ -50,11 +50,11 @@
...
@@ -50,11 +50,11 @@
{
{
\node
[anchor=west] (p1line1) at ([xshift=4em,yshift=1em]a75.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
:
天气
\ \ \ \ \ \
}}
;
\node
[anchor=west] (p1line1) at ([xshift=4em,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=4em]a72.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
:
真
\ \ \
好
\ \
}}
;
\node
[anchor=west] (p2line1) at ([xshift=4em]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
}
...
...
Chapter7/Figures/figure-reorder-base-distance.tex
查看文件 @
6fd3eec0
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
\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]
(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
}}
;
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\small
{
苹果
}}
;
\node
[anchor=west,fill=red!20]
(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]
(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]
(t2) at ([xshift=1.3em]t1.east)
{
\small
{
on the table
}}
;
...
...
Chapter7/Figures/figure-reorder-base-phrase-translation.tex
查看文件 @
6fd3eec0
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
\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]
(s1) at (0, 0)
{
\footnotesize
{
在 桌子 上 的
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]s1.east)
{
\footnotesize
{
苹果
}}
;
\node
[anchor=west,fill=red!20]
(s2) at ([xshift=1em]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]
(t1) at (0, -1.5)
{
\footnotesize
{
the apple
}}
;
\node
[anchor=west,fill=green!20]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
on the table
}}
;
\node
[anchor=west,fill=green!20]
(t2) at ([xshift=1em]t1.east)
{
\footnotesize
{
on the table
}}
;
...
...
Chapter7/Figures/figure-search-space-representation-of-feature-weight.tex
查看文件 @
6fd3eec0
...
@@ -21,9 +21,10 @@
...
@@ -21,9 +21,10 @@
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x4) at ([xshift=5em,yshift=1em]x3.north)
{$
\lambda
_{
M
-
1
}$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\node
[anchor=north]
(x5) at ([xshift=5em,yshift=0em]x4.north)
{$
\lambda
_
M
$}
;
\draw
[decorate,decoration={brace}]
(0,4.7) --(4,4.7) node [xshift=-4em,yshift=1.5em,align=center](label1)
{
M
dimensions
}
;
\draw
[decorate,decoration={brace}]
(0,4.7) --(4,4.7) node [xshift=-4em,yshift=1.5em,align=center](label1)
{
M
个特征函数
}
;
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=5.8em,align=center](label2)
{
Values
}
;
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=6.8em,align=center](label2)
{
V种
}
;
\node
[anchor=north]
(label3) at ([xshift=0em,yshift=-2.5em]label2.north)
{
取值
}
;
}
}
\end{scope}
\end{scope}
...
@@ -110,8 +111,8 @@
...
@@ -110,8 +111,8 @@
\draw
[-,very thick,ugreen!50] (0,2) -- (1,3) -- (2,4) -- (3,0) -- (4,2);
\draw
[-,very thick,ugreen!50] (0,2) -- (1,3) -- (2,4) -- (3,0) -- (4,2);
\draw
[-,very thick,red!50] (0,4) -- (1,3) -- (2,2) -- (3,3) -- (4,1);
\draw
[-,very thick,red!50] (0,4) -- (1,3) -- (2,2) -- (3,3) -- (4,1);
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=
7
.5em,align=center](label1)
{$
M
^
V
$}
;
\draw
[decorate,decoration={brace}]
(4.5,4.3) --(4.5,0) node [xshift=2.3em,yshift=
6
.5em,align=center](label1)
{$
M
^
V
$}
;
\node
[anchor=north]
(label2) at ([xshift=0em,yshift=-2.5em]label1.north)
{
pathes
}
;
\node
[anchor=north]
(label2) at ([xshift=0em,yshift=-2.5em]label1.north)
{
种组合
}
;
}
}
\end{scope}
\end{scope}
\end{tikzpicture}
\end{tikzpicture}
\ No newline at end of file
Chapter7/Figures/figure-translation-hypothesis-extension.tex
查看文件 @
6fd3eec0
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
{
{
\draw
[->,ultra thick,red,line width=2pt,opacity=0.7] ([xshift=-0.5em]h0.west) -- ([xshift=0.7em]h0.east) -- ([xshift=-0.2em]h3.west) -- ([xshift=0.8em]h3.east) -- ([xshift=-0.2em]h5.west) -- ([xshift=0.8em]h5.east) -- ([xshift=-0.2em]h7.west) -- ([xshift=1.5em]h7.east);
\draw
[->,ultra thick,red,line width=2pt,opacity=0.7] ([xshift=-0.5em]h0.west) -- ([xshift=0.7em]h0.east) -- ([xshift=-0.2em]h3.west) -- ([xshift=0.8em]h3.east) -- ([xshift=-0.2em]h5.west) -- ([xshift=0.8em]h5.east) -- ([xshift=-0.2em]h7.west) -- ([xshift=1.5em]h7.east);
\node
[anchor=north west] (wtranslabel) at ([yshift=-3em]h0.south west)
{
\small
{
翻译路径
:
}}
;
\node
[anchor=north west] (wtranslabel) at ([yshift=-3em]h0.south west)
{
\small
{
翻译路径
:
}}
;
\draw
[->,ultra thick,red,line width=1.5pt,opacity=0.7] (wtranslabel.east) -- ([xshift=1.5em]wtranslabel.east);
\draw
[->,ultra thick,red,line width=1.5pt,opacity=0.7] (wtranslabel.east) -- ([xshift=1.5em]wtranslabel.east);
}
}
\end{scope}
\end{scope}
...
...
Chapter7/Figures/figure-translation-option.tex
查看文件 @
6fd3eec0
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
\begin{tikzpicture}
\begin{tikzpicture}
\begin{scope}
[minimum height = 16pt]
\begin{scope}
[minimum height = 16pt]
\node
[anchor=east]
(s0) at (-0.8em, 0)
{$
\textbf
{
s
}$
:
}
;
\node
[anchor=east]
(s0) at (-0.8em, 0)
{$
\textbf
{
s
}$
:
}
;
\node
[anchor=west]
(s1) at (0, 0)
{
桌子
}
;
\node
[anchor=west]
(s1) at (0, 0)
{
桌子
}
;
\node
[anchor=west]
(s2) at ([xshift=2em]s1.east)
{
上
}
;
\node
[anchor=west]
(s2) at ([xshift=2em]s1.east)
{
上
}
;
\node
[anchor=west]
(s3) at ([xshift=2.3em]s2.east)
{
有
}
;
\node
[anchor=west]
(s3) at ([xshift=2.3em]s2.east)
{
有
}
;
...
...
Chapter7/Figures/figure-unlimited-phrase-extraction.tex
查看文件 @
6fd3eec0
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
\node
[anchor=west] (p1line1) at ([xshift=4em,yshift=1em]a57.east)
{
\footnotesize
{$
\bar
{
s
}_
i
$
: 什么
\ \ \
都
\ \ \
没
}}
;
\node
[anchor=west] (p1line1) at ([xshift=4em,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=4em]a53.east)
{
\footnotesize
{$
\bar
{
s
}_
j
$
:
到
\ \ \
?
}}
;
\node
[anchor=west] (p2line1) at ([xshift=4em]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
}
...
...
Chapter7/Figures/figure-word-and-phrase-translation-regard-as-path.tex
查看文件 @
6fd3eec0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
\node
[anchor=west] (s4) at ([xshift=2em]s3.east)
{
\textbf
{
表示
}}
;
\node
[anchor=west] (s4) at ([xshift=2em]s3.east)
{
\textbf
{
表示
}}
;
\node
[anchor=west] (s5) at ([xshift=2em]s4.east)
{
\textbf
{
满意
}}
;
\node
[anchor=west] (s5) at ([xshift=2em]s4.east)
{
\textbf
{
满意
}}
;
\node
[anchor=south west] (sentlabel) at ([yshift=-0.5em]s1.north west)
{
\scriptsize
{
\textbf
{
待翻译句子(已经分词)
}}}
;
\node
[anchor=south west] (sentlabel) at ([yshift=-0.5em]s1.north west)
{
\scriptsize
{
\textbf
{
待翻译句子(已经分词)
:
}}}
;
\draw
[->,very thick,ublue] (s1.south) -- ([yshift=-0.7em]s1.south);
\draw
[->,very thick,ublue] (s1.south) -- ([yshift=-0.7em]s1.south);
\draw
[->,very thick,ublue] (s2.south) -- ([yshift=-0.7em]s2.south);
\draw
[->,very thick,ublue] (s2.south) -- ([yshift=-0.7em]s2.south);
...
...
Chapter7/Figures/figure-word-translation-regard-as-path.tex
查看文件 @
6fd3eec0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
\node
[anchor=west] (s4) at ([xshift=2em]s3.east)
{
\textbf
{
表示
}}
;
\node
[anchor=west] (s4) at ([xshift=2em]s3.east)
{
\textbf
{
表示
}}
;
\node
[anchor=west] (s5) at ([xshift=2em]s4.east)
{
\textbf
{
满意
}}
;
\node
[anchor=west] (s5) at ([xshift=2em]s4.east)
{
\textbf
{
满意
}}
;
\node
[anchor=south west] (sentlabel) at ([yshift=-0.5em]s1.north west)
{
\scriptsize
{
\textbf
{
待翻译句子(已经分词)
}}}
;
\node
[anchor=south west] (sentlabel) at ([yshift=-0.5em]s1.north west)
{
\scriptsize
{
\textbf
{
待翻译句子(已经分词)
:
}}}
;
\draw
[->,very thick,ublue] (s1.south) -- ([yshift=-0.7em]s1.south);
\draw
[->,very thick,ublue] (s1.south) -- ([yshift=-0.7em]s1.south);
\draw
[->,very thick,ublue] (s2.south) -- ([yshift=-0.7em]s2.south);
\draw
[->,very thick,ublue] (s2.south) -- ([yshift=-0.7em]s2.south);
...
...
Chapter7/chapter7.tex
查看文件 @
6fd3eec0
...
@@ -703,7 +703,7 @@ dr = start_i-end_{i-1}-1
...
@@ -703,7 +703,7 @@ dr = start_i-end_{i-1}-1
\label
{
eq:7-20
}
\label
{
eq:7-20
}
\end{eqnarray}
\end{eqnarray}
\parinterval
这里,
$
a
=
h
_
i
(
d
)
$
是直线的斜率,
$
b
=
\sum
_{
k
\neq
i
}^{
M
}
\lambda
_
k
\cdot
h
_
k
(
d
)
$
是截距。有了关于权重
$
\lambda
_
i
$
的直线表示,可以将
$
d
_
1
$
和
$
d
_
2
$
分别画成两条直线,如图
\ref
{
fig:7-25
}
所示。在两条直线交叉点的左侧,
$
d
_
2
$
是最优的翻译结果;在交叉点右侧,
$
d
_
1
$
是最优的翻译结果。也就是说,只需知道交叉点左侧和右侧谁的BLEU 值高,
$
\lambda
_
i
$
的最优值就应该落在相应的范围,比如,这个例子中交叉点右侧(即
$
d
_
2
$
)所对应的BLEU值更高,因此最优特征权重应该在交叉点右侧(
$
\lambda
_
x
\sim
\lambda
_
i
$
任意取值都可以)。
\parinterval
这里,
$
a
=
h
_
i
(
d
)
$
是直线的斜率,
$
b
=
\sum
_{
k
\neq
i
}^{
M
}
\lambda
_
k
\cdot
h
_
k
(
d
)
$
是截距。有了关于权重
$
\lambda
_
i
$
的直线表示,可以将
$
d
_
1
$
和
$
d
_
2
$
分别画成两条直线,如图
\ref
{
fig:7-25
}
所示。在两条直线交叉点的左侧,
$
d
_
2
$
是最优的翻译结果;在交叉点右侧,
$
d
_
1
$
是最优的翻译结果。也就是说,只需知道交叉点左侧和右侧谁的BLEU 值高,
$
\lambda
_
i
$
的最优值就应该落在相应的范围,比如,这个例子中交叉点右侧(即
$
d
_
2
$
)所对应的BLEU值更高,因此最优特征权重应该在交叉点右侧(
$
\lambda
_
x
\sim
\lambda
_
i
$
任意取值都可以)。
{
\red
{
看下下图score是这么写的不
}}
%----------------------------------------------
%----------------------------------------------
\begin{figure}
[htp]
\begin{figure}
[htp]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论