Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
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
Toy-MT-Introduction
Commits
aac18f84
Commit
aac18f84
authored
Dec 24, 2019
by
Lee
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.105.50.196/NiuTrans/Toy-MT-Introduction
parents
cef82db3
2a41537d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
16 行删除
+18
-16
Section04-Phrasal-and-Syntactic-Models/section04-test.tex
+0
-0
Section04-Phrasal-and-Syntactic-Models/section04.tex
+18
-16
没有找到文件。
Section04-Phrasal-and-Syntactic-Models/section04-test.tex
查看文件 @
aac18f84
差异被折叠。
点击展开。
Section04-Phrasal-and-Syntactic-Models/section04.tex
查看文件 @
aac18f84
...
...
@@ -840,7 +840,9 @@
\begin{tcolorbox}
[enhanced,size=normal,left=2mm,right=1mm,colback=blue!5!white,colframe=blue!75!black,drop fuzzy shadow]
{
\LARGE
\textbf
{
如何使用短语、句法等
}
\\
\textbf
{
结构信息进行机器翻译建模?
}
\textbf
{
如何使用短语、句法等
}
\\
\\
\textbf
{
结构信息进行机器翻译建模?
}
}
\end{tcolorbox}
...
...
@@ -1532,15 +1534,15 @@ $d$是一个$(\textbf{s},\textbf{t})$上基于短语的翻译推导,$\textrm{P
\visible
<3->
{
% rule 1 (source)
\node
[anchor=west] (rule1s1) at (0,0)
{
与
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1s2) at ([xshift=0.5em]rule1s1.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1s2) at ([xshift=0.5em]rule1s1.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
\node
[anchor=west] (rule1s3) at ([xshift=0.5em]rule1s2.east)
{
有
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1s4) at ([xshift=0.5em]rule1s3.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1s4) at ([xshift=0.5em]rule1s3.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
% rule 1 (target)
\node
[anchor=west] (rule1t1) at ([xshift=0.8in]rule1s4.east)
{
have
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1t2) at ([xshift=0.5em]rule1t1.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1t2) at ([xshift=0.5em]rule1t1.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
\node
[anchor=west] (rule1t3) at ([xshift=0.5em]rule1t2.east)
{
with
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1t4) at ([xshift=0.5em]rule1t3.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule1t4) at ([xshift=0.5em]rule1t3.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
}
\visible
<1->
{
...
...
@@ -1573,14 +1575,14 @@ $d$是一个$(\textbf{s},\textbf{t})$上基于短语的翻译推导,$\textrm{P
\visible
<4->
{
% rule 2 (source)
\node
[anchor=west,inner sep=2pt,fill=black] (rule2s1) at ([yshift=3.5em,xshift=-0.5em]rule1s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2s1) at ([yshift=3.5em,xshift=-0.5em]rule1s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
\node
[anchor=west] (rule2s2) at ([xshift=0.5em]rule2s1.east)
{
的
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2s3) at ([xshift=0.5em]rule2s2.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2s3) at ([xshift=0.5em]rule2s2.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
% rule 2 (target)
\node
[anchor=west,inner sep=2pt,fill=black] (rule2t1) at ([xshift=1.8in]rule2s3.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2t1) at ([xshift=1.8in]rule2s3.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
\node
[anchor=west] (rule2t2) at ([xshift=0.5em]rule2t1.east)
{
that
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2t3) at ([xshift=0.5em]rule2t2.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule2t3) at ([xshift=0.5em]rule2t2.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
% phrase 3 (source and target)
\node
[anchor=north] (phrase3s1) at ([yshift=-0.8em]rule2s3.south)
{
\footnotesize
{
少数 国家
}}
;
...
...
@@ -1603,12 +1605,12 @@ $d$是一个$(\textbf{s},\textbf{t})$上基于短语的翻译推导,$\textrm{P
\visible
<5->
{
% rule 3 (source)
\node
[anchor=west,inner sep=2pt,fill=black] (rule3s1) at ([yshift=2.5em,xshift=4em]rule2s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule3s1) at ([yshift=2.5em,xshift=4em]rule2s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
\node
[anchor=west] (rule3s2) at ([xshift=0.5em]rule3s1.east)
{
之一
}
;
% rule 3 (target)
\node
[anchor=west] (rule3t1) at ([xshift=1.0in]rule3s2.east)
{
one of
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule3t2) at ([xshift=0.5em]rule3t1.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule3t2) at ([xshift=0.5em]rule3t1.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
% edges: rule 2 to rule 3
\draw
[->] ([xshift=-1em]rule2s.north) ..controls +(north:1.2em) and +(south:1.2em).. ([yshift=-0.1em]rule3s1.south);
...
...
@@ -1625,14 +1627,14 @@ $d$是一个$(\textbf{s},\textbf{t})$上基于短语的翻译推导,$\textrm{P
\visible
<6->
{
% rule 4 (source)
\node
[anchor=west,inner sep=2pt,fill=black] (rule4s1) at ([yshift=3.5em,xshift=-3.5em]rule3s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4s1) at ([yshift=3.5em,xshift=-3.5em]rule3s1.north west)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
\node
[anchor=west] (rule4s2) at ([xshift=0.5em]rule4s1.east)
{
是
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4s3) at ([xshift=0.5em]rule4s2.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4s3) at ([xshift=0.5em]rule4s2.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
% rule 2 (target)
\node
[anchor=west,inner sep=2pt,fill=black] (rule4t1) at ([xshift=2.0in]rule4s2.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
1
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4t1) at ([xshift=2.0in]rule4s2.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
1
$}}}
;
\node
[anchor=west] (rule4t2) at ([xshift=0.5em]rule4t1.east)
{
is
}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4t3) at ([xshift=0.5em]rule4t2.east)
{
\scriptsize
{{
\color
{
white
}
$
X
_
2
$}}}
;
\node
[anchor=west,inner sep=2pt,fill=black] (rule4t3) at ([xshift=0.5em]rule4t2.east)
{
\scriptsize
{{
\color
{
white
}
$
\textrm
{
X
}
_
2
$}}}
;
% phrase 4 (source and target)
\node
[anchor=north] (phrase4s1) at ([yshift=-0.8em]rule4s1.south)
{
\footnotesize
{
澳洲
}}
;
...
...
@@ -1818,7 +1820,7 @@ d = r_1 \circ r_2 \circ r_3 \circ r_4
\draw
[->,very thick] ([yshift=-0.1em]monotext.south) -- ([yshift=0.1em]lm.north);
\draw
[->,very thick] ([yshift=-0.1em]lm.south) -- ([yshift=0.1em]lmmodel.north);
\draw
[->,very thick] ([yshift=0.3em,xshift=-0.1em]lmmodel.west) -- ([yshift=-0.1em]tuning.south east);
\draw
[->,very thick] ([yshift=-0.3em,xshift=-0.1em]lmmodel.west) -- ([yshift=
-
0.1em]decoding.north east);
\draw
[->,very thick] ([yshift=-0.3em,xshift=-0.1em]lmmodel.west) -- ([yshift=0.1em]decoding.north east);
\end{scope}
\end{tikzpicture}
\end{center}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论