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
8fd4e521
Commit
8fd4e521
authored
Aug 05, 2020
by
单韦乔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一章和第二章反馈修改,以及第二章排版
parent
e90cda27
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
92 行增加
和
79 行删除
+92
-79
Chapter1/chapter1.tex
+0
-0
Chapter2/Figures/figure-example-of-beam-search.tex
+24
-21
Chapter2/Figures/figure-example-of-dfs-extension-method.tex
+11
-11
Chapter2/Figures/figure-example-of-greedy-search.tex
+9
-9
Chapter2/Figures/figure-example-of-uniform-cost-search.tex
+10
-10
Chapter2/Figures/figure-score-solution-space-tree-by-lm.tex
+5
-5
Chapter2/Figures/figure-solution-space-tree-of-enumeration-search.tex
+18
-18
Chapter2/chapter2.tex
+0
-0
bibliography.bib
+15
-0
structure.tex
+0
-5
没有找到文件。
Chapter1/chapter1.tex
查看文件 @
8fd4e521
差异被折叠。
点击展开。
Chapter2/Figures/figure-example-of-beam-search.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=3.5em,minimum height=2em,font=
\large
]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
There
\\
[-0.5ex]
Here
\\
[-0.5ex]
is
\\
[-0.5ex]
one
\\
[-0.5ex]
an
\\
[-0.5ex]
appple
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
There
\\
[-0.5ex]
Here
\\
[-0.5ex]
is
\\
[-0.5ex]
one
\\
[-0.5ex]
an
\\
[-0.5ex]
appple
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
eos
$
>
$}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([xshift=2em,yshift=-1em]eos.south)
{$
w
_
1
$
}
;
\node
[anchor=north,unit,fill=red!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$
}
;
% \node[anchor=north,minimum width=1.8em,minimum height=1em,fill=blue!10] (l1) at ([yshift=-1em]eos.south){
};
% \node[anchor=north,minimum width=1.8em,minimum height=1em,fill=red!10] (l2) at ([yshift=-0.5em]l1.south){
};
\node
[anchor=west,unit,fill=red!40,opacity=0.3]
(n24) at ([xshift=6em]n11.east)
{
an
}
;
\node
[anchor=west,unit,text=red]
(w1) at ([xshift=1.5em,yshift=7em]eos.east)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=blue!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=west,unit,fill=red!20,opacity=0.3]
(n24) at ([xshift=4.5em]n11.east)
{
an
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt24) at (n24.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.4
}}}}
;
\node
[anchor=south,unit,fill=red!
4
0]
(n23) at ([yshift=0.1em]n24.north)
{
one
}
;
\node
[anchor=south,unit,fill=red!
2
0]
(n23) at ([yshift=0.1em]n24.north)
{
one
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt23) at (n23.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.6
}}}}
;
\node
[anchor=south,unit,fill=red!
4
0]
(n22) at ([yshift=0.1em]n23.north)
{
Here
}
;
\node
[anchor=south,unit,fill=red!
2
0]
(n22) at ([yshift=0.1em]n23.north)
{
Here
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt22) at (n22.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.3
}}}}
;
\node
[anchor=south,unit,fill=red!
4
0]
(n21) at ([yshift=0.1em]n22.north)
{
There
}
;
\node
[anchor=south,unit,fill=red!
2
0]
(n21) at ([yshift=0.1em]n22.north)
{
There
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt21) at (n21.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.2
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n25) at ([yshift=-0.1em]n24.south)
{
is
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n25) at ([yshift=-0.1em]n24.south)
{
is
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt25) at (n25.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.2
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n26) at ([yshift=-0.1em]n25.south)
{
apple
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n26) at ([yshift=-0.1em]n25.south)
{
apple
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt26) at (n26.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.6
}}}}
;
\node
[anchor=north,unit,fill=
red!4
0,opacity=0.3]
(n27) at ([yshift=-0.1em]n26.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0,opacity=0.3]
(n27) at ([yshift=-0.1em]n26.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt27) at (n27.east)
{
\small
{{
\color
{
white
}
\textbf
{
-7.2
}}}}
;
\node
[anchor=south,unit,text=red]
(w2) at ([yshift=0.5em]n21.north)
{$
w
_
2
$}
;
\node
[anchor=west,unit,fill=red!
40]
(n31) at ([yshift=6em,xshift=7
em]n21.east)
{
is
}
;
\node
[anchor=west,unit,fill=red!
20]
(n31) at ([yshift=3em,xshift=6
em]n21.east)
{
is
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt31) at (n31.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.1
}}}}
;
\node
[anchor=north,unit,fill=
red!4
0]
(n32) at ([yshift=-0.1em]n31.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n32) at ([yshift=-0.1em]n31.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt32) at (n32.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.6
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n33) at ([yshift=-0.1em]n32.south)
{
an
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n33) at ([yshift=-0.1em]n32.south)
{
an
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt33) at (n33.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.4
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n34) at ([yshift=-0.1em]n33.south)
{
one
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n34) at ([yshift=-0.1em]n33.south)
{
one
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt34) at (n34.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.6
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n35) at ([yshift=-0.1em]n34.south)
{
Here
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n35) at ([yshift=-0.1em]n34.south)
{
Here
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt35) at (n35.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.9
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n36) at ([yshift=-0.1em]n35.south)
{
apple
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n36) at ([yshift=-0.1em]n35.south)
{
apple
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt36) at (n36.east)
{
\small
{{
\color
{
white
}
\textbf
{
-3.2
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3]
(n37) at ([yshift=-0.1em]n36.south)
{
There
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3]
(n37) at ([yshift=-0.1em]n36.south)
{
There
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black,opacity=0.3] (pt37) at (n37.east)
{
\small
{{
\color
{
white
}
\textbf
{
-4.1
}}}}
;
\node
[anchor=north,unit,fill=red!
40]
(n41) at ([yshift=-0.5
em]n37.south)
{
is
}
;
\node
[anchor=north,unit,fill=red!
20]
(n41) at ([yshift=-0.1
em]n37.south)
{
is
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt41) at (n41.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.1
}}}}
;
\node
[anchor=north,unit,fill=red!
4
0,opacity=0.3,minimum width=3.5em,minimum height=2.5em]
(n51) at ([yshift=-0.1em]n41.south)
{
…
}
;
\node
[anchor=north,unit,fill=red!
2
0,opacity=0.3,minimum width=3.5em,minimum height=2.5em]
(n51) at ([yshift=-0.1em]n41.south)
{
…
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2.5em,fill=black,opacity=0.3] (pt51) at (n51.east)
{
\small
{{
\color
{
white
}
\textbf
{$
<
$
-0.7
}}}}
;
\node
[anchor=south,unit,text=red]
(w3) at ([yshift=0.5em]n31.north)
{$
w
_
2
$}
;
...
...
Chapter2/Figures/figure-example-of-dfs-extension-method.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=3.5em,minimum height=2em,font=
\large
]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
eos
$
>
$}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([xshift=2
em,yshift=-3
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([xshift=2
.5em,yshift=-1
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=red!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=north west] (wtranslabel) at ([xshift=-5em,yshift=-3em]n11.south)
{
\small
{
生成顺序:
}}
;
...
...
@@ -16,7 +16,7 @@
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt22) at (n22.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.4
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=5.5em]n22.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt21) at (n21.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.5
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n23) at ([yshift=-3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n23) at ([yshift=-3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt23) at (n23.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.2
}}}}
;
\node
[anchor=south,unit,text=red]
(w2) at ([yshift=0.5em]n21.north)
{$
w
_
2
$}
;
...
...
@@ -24,23 +24,23 @@
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt32) at (n32.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.2
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n31) at ([yshift=0.3em]n32.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt31) at (n31.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.8
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n33) at ([yshift=-0.3em]n32.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n33) at ([yshift=-0.3em]n32.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt33) at (n33.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.3
}}}}
;
\node
[anchor=west,unit,fill=red!20]
(n35) at ([xshift=4em]n22.east)
{
agree
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt35) at (n35.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.5
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n34) at ([yshift=0.3em]n35.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt34) at (n34.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.0
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt36) at (n36.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.3
}}}}
;
\node
[anchor=south,unit,text=red]
(w3) at ([yshift=0.5em]n31.north)
{$
w
_
3
$}
;
\node
[anchor=west,unit,fill=
red!2
0]
(n41) at ([xshift=4em]n31.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=
blue!1
0]
(n41) at ([xshift=4em]n31.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt41) at (n41.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.9
}}}}
;
\node
[anchor=west,unit,fill=
red!2
0]
(n42) at ([xshift=4em]n32.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=
blue!1
0]
(n42) at ([xshift=4em]n32.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt42) at (n42.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.8
}}}}
;
\node
[anchor=west,unit,fill=
red!2
0]
(n43) at ([xshift=4em]n34.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=
blue!1
0]
(n43) at ([xshift=4em]n34.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt43) at (n43.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.4
}}}}
;
\node
[anchor=west,unit,fill=
red!2
0]
(n44) at ([xshift=4em]n35.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=
blue!1
0]
(n44) at ([xshift=4em]n35.east)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt44) at (n44.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.1
}}}}
;
\node
[anchor=south,unit,text=red]
(w4) at ([yshift=0.5em]n41.north)
{$
w
_
4
$}
;
...
...
Chapter2/Figures/figure-example-of-greedy-search.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=3.5em,minimum height=2em,font=
\large
]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
eos
$
>
$}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=
north,unit,text=red]
(w1) at ([xshift=2em,yshift=-3em]eos.south
)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=
red
!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=
west,unit,text=red]
(w1) at ([xshift=2em,yshift=4.5em]eos.east
)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=
blue
!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=north
west] (wtranslabel) at ([xshift=-5em,yshift=-3
em]n11.south)
{
\small
{
生成顺序:
}}
;
\node
[anchor=north
] (wtranslabel) at ([xshift=0em,yshift=-1
em]n11.south)
{
\small
{
生成顺序:
}}
;
\draw
[->,ultra thick,red,line width=1.5pt,opacity=0.7] (wtranslabel.east) -- ([xshift=1.5em]wtranslabel.east);
\node
[anchor=west,unit,fill=red!20]
(n22) at ([xshift=5em]n11.east)
{
agree
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt22) at (n22.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.4
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=
5.5
em]n22.north)
{
I
}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=
0.3
em]n22.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt21) at (n21.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.5
}}}}
;
\node
[anchor=north,unit,fill=
red!20]
(n23) at ([yshift=-
3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!10]
(n23) at ([yshift=-0.
3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt23) at (n23.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.2
}}}}
;
\node
[anchor=south,unit,text=red]
(w2) at ([yshift=0.5em]n21.north)
{$
w
_
2
$}
;
...
...
@@ -24,7 +24,7 @@
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt35) at (n35.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.5
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n34) at ([yshift=0.3em]n35.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt34) at (n34.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.0
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt36) at (n36.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.3
}}}}
;
\node
[anchor=south,unit,text=red]
(w3) at ([yshift=0.5em]n34.north)
{$
w
_
3
$}
;
...
...
Chapter2/Figures/figure-example-of-uniform-cost-search.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=3.5em,minimum height=2em,font=
\large
]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
eos
$
>
$}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([yshift=-
2
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=
red
!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([yshift=-
1.5
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=
blue
!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=west,unit,fill=red!20]
(n22) at ([xshift=2.5em]n11.east)
{
agree
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt22) at (n22.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.4
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=5.5em]n22.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt21) at (n21.east)
{
\small
{{
\color
{
white
}
\textbf
{
-0.5
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n23) at ([yshift=-3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n23) at ([yshift=-3em]n22.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt23) at (n23.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.2
}}}}
;
\node
[anchor=south,unit,text=red]
(w2) at ([yshift=0.5em]n21.north)
{$
w
_
2
$}
;
\node
[anchor=west,unit,fill=green!20,minimum width=4.3em]
(n32) at ([xshift=3em]n21.east)
{
agree
}
;
\node
[anchor=south,unit,fill=green!20,minimum width=4.3em]
(n31) at ([yshift=0.3em]n32.north)
{
I
}
;
\node
[anchor=north,unit,fill=green!20,minimum width=4.3em]
(n33) at ([yshift=-0.3em]n32.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=
u
green!20,minimum width=4.3em]
(n32) at ([xshift=3em]n21.east)
{
agree
}
;
\node
[anchor=south,unit,fill=
u
green!20,minimum width=4.3em]
(n31) at ([yshift=0.3em]n32.north)
{
I
}
;
\node
[anchor=north,unit,fill=
u
green!20,minimum width=4.3em]
(n33) at ([yshift=-0.3em]n32.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=west,unit,fill=red!20]
(n35) at ([xshift=3em]n22.east)
{
agree
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt35) at (n35.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.5
}}}}
;
\node
[anchor=south,unit,fill=red!20]
(n34) at ([yshift=0.3em]n35.north)
{
I
}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt34) at (n34.east)
{
\small
{{
\color
{
white
}
\textbf
{
-2.0
}}}}
;
\node
[anchor=north,unit,fill=
red!2
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,fill=
blue!1
0]
(n36) at ([yshift=-0.3em]n35.south)
{$
<
$
eos
$
>
$}
;
\node
[anchor=north,rotate=90,inner sep=1pt,minimum width=2em,fill=black] (pt36) at (n36.east)
{
\small
{{
\color
{
white
}
\textbf
{
-1.3
}}}}
;
\node
[anchor=south,unit,text=red]
(w3) at ([yshift=0.5em]n31.north)
{$
w
_
3
$}
;
...
...
Chapter2/Figures/figure-score-solution-space-tree-by-lm.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=3.5em,minimum height=2em,font=
\large
]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
eos
$
>
$}
;
\node
[fill=blue!10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([xshift=2
em,yshift=-3
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([xshift=2
.5em,yshift=-1
em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=blue!10]
(n11) at ([yshift=-0.5em]w1.south)
{$
<
$
sos
$
>
$}
;
\node
[anchor=north west] (wtranslabel) at ([xshift=-5em,yshift=-3em]n11.south)
{
\small
{
生成顺序:
}}
;
\node
[anchor=north west
,unit
] (wtranslabel) at ([xshift=-5em,yshift=-3em]n11.south)
{
\small
{
生成顺序:
}}
;
\draw
[->,ultra thick,red,line width=1.5pt,opacity=0.7] (wtranslabel.east) -- ([xshift=1.5em]wtranslabel.east);
\node
[anchor=west,unit,fill=red!20]
(n22) at ([xshift=3em]n11.east)
{
agree
}
;
...
...
Chapter2/Figures/figure-solution-space-tree-of-enumeration-search.tex
查看文件 @
8fd4e521
\begin{tikzpicture}
\tikzstyle
{
unit
}
= [inner sep=1pt,align=center,minimum width=4em,minimum height=2em]
\node
[fill=
blue
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
blue!1
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=
red
!40,inner sep=2pt,minimum width=5em]
(vocab)at(0,0)
{
\color
{
white
}{
\small\bfnew
{
词表
}}}
;
\node
[fill=
red!2
0,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(words)at(vocab.south)
{
I
\\
[-0.5ex]
agree
}
;
\node
[fill=blue!40,anchor=north,align=left,inner sep=2pt,minimum width=5em]
(spe)at(words.south)
{
\color
{
white
}{
\small\bfnew
{
特殊符号
}}}
;
\node
[fill=blue!
10,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{
$
<
$
eos
$
>
$}
;
\node
[fill=blue!
20,anchor=north,align=left,inner sep=3pt,minimum width=5em]
(eos)at(spe.south)
{$
<
$
sos
$
>
$
\\
[-0.5ex]
$
<
$
eos
$
>
$}
;
\node
[anchor=north,unit,text=red]
(w1) at ([yshift=-1em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=blue!10]
(n11) at ([yshift=-0.5em]w1.south)
{{
\small\bfnew
{$
<
$
sos
$
>
$}}}
;
\node
[anchor=north,unit,text=red]
(w1) at ([
xshift=2.5em,
yshift=-1em]eos.south)
{$
w
_
1
$}
;
\node
[anchor=north,unit,fill=blue!10]
(n11) at ([yshift=-0.5em]w1.south)
{{{$
<
$
sos
$
>
$}}}
;
\node
[anchor=west,unit,fill=red!20]
(n22) at ([xshift=3em]n11.east)
{{
\small\bfnew
{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=5.5em]n22.north)
{{
\small\bfnew
{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n23) at ([yshift=-3em]n22.south)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=red!20]
(n22) at ([xshift=3em]n11.east)
{{{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n21) at ([yshift=5.5em]n22.north)
{{{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n23) at ([yshift=-3em]n22.south)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=south,unit,text=red]
(w2) at ([yshift=0.5em]n21.north)
{$
w
_
2
$}
;
\node
[anchor=west,unit,fill=red!20]
(n32) at ([xshift=3em]n21.east)
{{
\small\bfnew
{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n31) at ([yshift=0.3em]n32.north)
{{
\small\bfnew
{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n33) at ([yshift=-0.3em]n32.south)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=red!20]
(n35) at ([xshift=3em]n22.east)
{{
\small\bfnew
{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n34) at ([yshift=0.3em]n35.north)
{{
\small\bfnew
{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n36) at ([yshift=-0.3em]n35.south)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=red!20]
(n32) at ([xshift=3em]n21.east)
{{{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n31) at ([yshift=0.3em]n32.north)
{{{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n33) at ([yshift=-0.3em]n32.south)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=red!20]
(n35) at ([xshift=3em]n22.east)
{{{
agree
}}}
;
\node
[anchor=south,unit,fill=red!20]
(n34) at ([yshift=0.3em]n35.north)
{{{
I
}}}
;
\node
[anchor=north,unit,fill=blue!10]
(n36) at ([yshift=-0.3em]n35.south)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=south,unit,text=red]
(w3) at ([yshift=0.5em]n31.north)
{$
w
_
3
$}
;
\node
[anchor=west,unit,fill=blue!10]
(n41) at ([xshift=3em]n31.east)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n42) at ([xshift=3em]n32.east)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n43) at ([xshift=3em]n34.east)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n44) at ([xshift=3em]n35.east)
{{
\small\bfnew
{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n41) at ([xshift=3em]n31.east)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n42) at ([xshift=3em]n32.east)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n43) at ([xshift=3em]n34.east)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=west,unit,fill=blue!10]
(n44) at ([xshift=3em]n35.east)
{{{$
<
$
eos
$
>
$}}}
;
\node
[anchor=south,unit,text=red]
(w4) at ([yshift=0.5em]n41.north)
{$
w
_
4
$}
;
\draw
[->,ublue,very thick]
(n11.east) -- (n21.west);
...
...
Chapter2/chapter2.tex
查看文件 @
8fd4e521
差异被折叠。
点击展开。
bibliography.bib
查看文件 @
8fd4e521
...
...
@@ -819,6 +819,21 @@
pages={78-85},
year={1995},
}
@article{DBLP:journals/bstj/Shannon48a,
author = {Claude E. Shannon},
title = {A mathematical theory of communication},
journal = {Bell Syst. Tech. J.},
volume = {27},
number = {4},
pages = {623--656},
year = {1948},
url = {https://doi.org/10.1002/j.1538-7305.1948.tb00917.x},
doi = {10.1002/j.1538-7305.1948.tb00917.x},
timestamp = {Sat, 30 May 2020 20:01:09 +0200},
biburl = {https://dblp.org/rec/journals/bstj/Shannon48a.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
%%%%% chapter 1------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
structure.tex
查看文件 @
8fd4e521
...
...
@@ -674,7 +674,3 @@ addtohook={%
\newcommand\chaptersixteen
{
第十六章
}
\newcommand\chapterseventeen
{
第十七章
}
\newcommand\chaptereighteen
{
第十八章
}
%*
\newcommand
{
\chapterseven
}{
七
}
\newcommand
{
\chapterten
}{
十
}
\newcommand
{
\chaptereleven
}{
十一
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论