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
0b27b5c7
Commit
0b27b5c7
authored
Aug 22, 2020
by
曹润柘
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'caorunzhe' 到 'master'
Caorunzhe 查看合并请求
!88
parents
41d5b8db
22b2990f
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
0 行增加
和
171 行删除
+0
-171
Chapter5/Figures/figure-different-translation-result-in-different-score-ibm1.tex
+0
-41
Chapter5/Figures/figure-example-hmm.tex
+0
-93
Chapter5/Figures/figure-zh-en-sentence-alignment.tex
+0
-37
Chapter5/chapter5.tex
+0
-0
没有找到文件。
Chapter5/Figures/figure-different-translation-result-in-different-score-ibm1.tex
deleted
100644 → 0
查看文件 @
41d5b8db
%%% 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}
%---------------------------------------------------------------------
Chapter5/Figures/figure-example-hmm.tex
deleted
100644 → 0
查看文件 @
41d5b8db
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\definecolor
{
ugreen
}{
rgb
}{
0,0.5,0
}
%%% outline
%-------------------------------------------------------------------------
%%% 简易机器翻译系统 - step 3 decoding - example
\begin{tikzpicture}
\begin{scope}
[scale=0.4]
{
\footnotesize
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num1) at (0,0)
{
C
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num1-1) at ([yshift=-5.0em]num1.south)
{
正
}
;
\draw
[->,very thick,ublue]([yshift=-0.2em]num1.south) -- ([yshift=0.2em]num1-1.north);
%%%%%%%%%%%%%%%%%%%%%%%%%%
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num2) at ([xshift=5.2em]num1.east)
{
B
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num2-1) at ([yshift=-5.0em]num2.south)
{
正
}
;
\draw
[->,very thick]([xshift=0.2em]num1.east) -- ([xshift=-0.2em]num2.west);
\draw
[->,very thick,ublue]([yshift=-0.2em]num2.south) -- ([yshift=0.2em]num2-1.north);
%%%%%%%%%%%%%%%%%%%%%%%%%%
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num3) at ([xshift=5.2em]num2.east)
{
A
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num3-1) at ([yshift=-5.0em]num3.south)
{
反
}
;
\draw
[->,very thick]([xshift=0.2em]num2.east) -- ([xshift=-0.2em]num3.west);
\draw
[->,very thick,ublue]([yshift=-0.2em]num3.south) -- ([yshift=0.2em]num3-1.north);
%%%%%%%%%%%%%%%%%%%%%%%%%%
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num4) at ([xshift=5.2em]num3.east)
{
B
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num4-1) at ([yshift=-5.0em]num4.south)
{
反
}
;
\draw
[->,very thick]([xshift=0.2em]num3.east) -- ([xshift=-0.2em]num4.west);
\draw
[->,very thick,ublue]([yshift=-0.2em]num4.south) -- ([yshift=0.2em]num4-1.north);
%%%%%%%%%%%%%%%%%%%%%%%%%%
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num5) at ([xshift=5.2em]num4.east)
{
C
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num5-1) at ([yshift=-5.0em]num5.south)
{
正
}
;
\draw
[->,very thick]([xshift=0.2em]num4.east) -- ([xshift=-0.2em]num5.west);
\draw
[->,very thick,ublue]([yshift=-0.2em]num5.south) -- ([yshift=0.2em]num5-1.north);
%%%%%%%%%%%%%%%%%%%%%%%%%%
\node
[anchor=west,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](num6) at ([xshift=5.2em]num5.east)
{
A
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](num6-1) at ([yshift=-5.0em]num6.south)
{
反
}
;
\draw
[->,very thick]([xshift=0.2em]num5.east) -- ([xshift=-0.2em]num6.west);
\draw
[->,very thick,ublue]([yshift=-0.2em]num6.south) -- ([yshift=0.2em]num6-1.north);
\node
[anchor=north](word1) at ([xshift=2.5em,yshift=-3.0em]num1-1.south)
{
图示说明:
}
;
\node
[anchor=north,draw,thick,minimum width=2.8em, minimum height=2.0em,fill=green!30,drop shadow](word2) at ([xshift=-2.5em,yshift=-3.0em]word1.south)
{
C
}
;
\node
[anchor=west](word2-2) at ([xshift=1.5em]word2.east)
{
一个隐含状态
}
;
\node
[anchor=north,circle,draw,thick,minimum width=2.0em,fill=red!30,drop shadow](word3) at ([xshift=-2.5em,yshift=-12.2em]word1.south)
{
正
}
;
\node
[anchor=west](word3-2) at ([xshift=2.1em]word3.east)
{
一个可见状态
}
;
\draw
[->,very thick]([xshift=6.4em]word2-2.east) -- ([xshift=11.6em]word2-2.east);
\node
[anchor=west](word4) at ([xshift=13.1em]word2-2.east)
{
从一个隐含状态到下一个
}
;
\node
[anchor=west](word4-1) at ([xshift=13.1em,yshift=-4.0em]word2-2.east)
{
隐含状态的转换
}
;
\draw
[->,very thick,ublue]([xshift=30.7em,yshift=-0.2em]word3.north) -- ([xshift=30.7em,yshift=0.2em]word3.south);
\node
[anchor=west](word5) at ([xshift=13.1em,yshift=-9.5em]word2-2.east)
{
从一个隐含状态到可见状
}
;
\node
[anchor=west](word5-1) at ([xshift=13.1em,yshift=-13.5em]word2-2.east)
{
态的输出
}
;
}
\end{scope}
\end{tikzpicture}
Chapter5/Figures/figure-zh-en-sentence-alignment.tex
deleted
100644 → 0
查看文件 @
41d5b8db
%%% 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}
%---------------------------------------------------------------------
Chapter5/chapter5.tex
查看文件 @
0b27b5c7
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论