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
1781ff92
Commit
1781ff92
authored
Aug 24, 2020
by
曹润柘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update chapter 6
parent
8b9754b1
全部展开
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
81 行增加
和
2 行删除
+81
-2
Chapter6/Figures/figure-alignment-matrix-for-zh-to-en-translation.tex
+3
-2
Chapter6/Figures/figure-different-translation-result-in-different-score-ibm1.tex
+41
-0
Chapter6/Figures/figure-zh-en-sentence-alignment.tex
+37
-0
Chapter6/chapter6.tex
+0
-0
没有找到文件。
Chapter6/Figures/figure-alignment-matrix-for-zh-to-en-translation.tex
查看文件 @
1781ff92
...
...
@@ -25,7 +25,7 @@
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
2,yshift=0.4em]o.east)
{
satisfied
}
;
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
3,yshift=0.4em]o.east)
{
with
}
;
\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=\footnotesize]
at([xshift=
\bc*
3,yshift=-1.0cm-
\bc*
4]o.west)
{
(a)
}
;
\node
[anchor=east,inner sep=0pt,font=\footnotesize]
at([xshift=
\bc*
4.5,yshift=-1.0cm-
\bc*
4]o.west)
{
(a)对齐实例1
}
;
\end{scope}
\begin{scope}
[xshift=15.0em]
\filldraw
[fill=white,drop shadow] (0,0) rectangle (
\bc*
8,
\bc*
6);
...
...
@@ -56,7 +56,7 @@
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
5,yshift=0.4em]o.east)
{
work
}
;
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
6,yshift=0.4em]o.east)
{
every
}
;
\node
[anchor=west,inner sep=0pt,font=\footnotesize,rotate=45]
at([xshift=0.1cm+
\bc*
7,yshift=0.4em]o.east)
{
day
}
;
\node
[anchor=east,inner sep=0pt,font=\footnotesize]
at([xshift=
\bc*
4.5,yshift=-1.0cm-
\bc*
5]o.west)
{
(b)
}
;
\node
[anchor=east,inner sep=0pt,font=\footnotesize]
at([xshift=
\bc*
6.0,yshift=-1.0cm-
\bc*
5]o.west)
{
(b)对齐实例2
}
;
\end{scope}
\end{tikzpicture}
%---------------------------------------------------------------------
\ No newline at end of file
Chapter6/Figures/figure-different-translation-result-in-different-score-ibm1.tex
0 → 100644
查看文件 @
1781ff92
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
\begin{scope}
\node
[anchor=west] (s1) at (0,0)
{$
\mathbf
{
s
}$
= 在
\ \
桌子
\ \
上
}
;
\node
[anchor=west] (t1) at ([yshift=-2em]s1.west)
{$
\mathbf
{
t
}$
= on
\ \
the
\ \
table
}
;
\draw
[->,double,thick,ublue] ([yshift=0.2em]s1.south) -- ([yshift=-0.8em]s1.south);
\end{scope}
\begin{scope}
[xshift=1.5in]
\node
[anchor=west] (s2) at (0,0)
{$
\mathbf
{
s
}$
= 在
\ \
桌子
\ \
上
}
;
\node
[anchor=west] (t2) at ([yshift=-2em]s2.west)
{$
\mathbf
{
t
}
'
$
= table
\
on
\ \
the
}
;
\draw
[->,double,thick,ublue] ([yshift=0.2em]s2.south) -- ([yshift=-0.8em]s2.south);
\end{scope}
\node
[anchor=north] (score11) at ([yshift=-2.0em]s1.south)
{$
\textrm
{
P
}
(
\mathbf
{
s
}
|
\mathbf
{
t
}
)
$}
;
\node
[anchor=north] (score12) at ([yshift=-2.0em]s2.south)
{$
\textrm
{
P
}
(
\mathbf
{
s
}
|
\mathbf
{
t
}
'
)
$}
;
\node
[anchor=west] (comp1) at ([xshift=2.3em]score11.east)
{
\large
{$
\mathbf
{
=
}$}}
;
\node
[anchor=east] (label1) at ([xshift=-1em,yshift=0.1em]score11.west)
{{
IBM模型1:
}}
;
{
\node
[anchor=north] (score21) at ([yshift=0.2em]score11.south)
{$
\textrm
{
P
}
(
\mathbf
{
s
}
|
\mathbf
{
t
}
)
$}
;
\node
[anchor=north] (score22) at ([yshift=0.2em]score12.south)
{$
\textrm
{
P
}
(
\mathbf
{
s
}
|
\mathbf
{
t
}
'
)
$}
;
\node
[anchor=west] (comp2) at ([xshift=2.3em]score21.east)
{
\large
{$
\mathbf
{
>
}$}}
;
\node
[anchor=east] (label2) at ([xshift=-1em,yshift=0.1em]score21.west)
{{
理想:
}}
;
}
\end{tikzpicture}
%---------------------------------------------------------------------
Chapter6/Figures/figure-zh-en-sentence-alignment.tex
0 → 100644
查看文件 @
1781ff92
%%% outline
%-------------------------------------------------------------------------
\begin{tikzpicture}
\begin{scope}
\node
[anchor=west] (s1) at (0,0)
{
\footnotesize
{$
s
_
1
$}
:我
}
;
\node
[anchor=west] (s2) at ([xshift=0.5em]s1.east)
{
\footnotesize
{$
s
_
2
$}
:对
}
;
\node
[anchor=west] (s3) at ([xshift=0.5em]s2.east)
{
\footnotesize
{$
s
_
3
$}
:你
}
;
\node
[anchor=west] (s4) at ([xshift=0.5em]s3.east)
{
\footnotesize
{$
s
_
4
$}
:感到
}
;
\node
[anchor=west] (s5) at ([xshift=0.5em]s4.east)
{
\footnotesize
{$
s
_
5
$}
:满意
}
;
\end{scope}
\begin{scope}
[yshift=-3.0em]
\node
[anchor=west] (t1) at (0.35em,0)
{
\footnotesize
{$
t
_
1
$}
:I
}
;
\node
[anchor=west] (t2) at ([xshift=1.0em,yshift=0.0em]t1.east)
{
\footnotesize
{$
t
_
2
$}
:am
}
;
\node
[anchor=west] (t3) at ([xshift=0.3em,yshift=0.0em]t2.east)
{
\footnotesize
{$
t
_
3
$}
:satisfied
}
;
\node
[anchor=west] (t4) at ([xshift=0.3em]t3.east)
{
\footnotesize
{$
t
_
4
$}
:with
}
;
\node
[anchor=west] (t5) at ([xshift=0.3em,yshift=-0.0em]t4.east)
{
\footnotesize
{$
t
_
5
$}
:you
}
;
\end{scope}
\draw
[-,thick,ublue,dashed] (s1.south) -- (t1.north);
\draw
[-,thick,ublue,dashed] (s4.south) -- ([yshift=0.3em]t2.north);
\draw
[-,thick,ublue,dashed] (s2.south) ..controls +(south:1em) and +(north:1em).. (t4.north);
\draw
[-,thick,ublue,dashed] (s3.south) ..controls +(south:0.5em) and +(north:1.5em).. (t5.north);
\draw
[-,thick,ublue,dashed] (s5.south) -- (t3.north);
\end{tikzpicture}
%---------------------------------------------------------------------
Chapter6/chapter6.tex
查看文件 @
1781ff92
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论