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
22f02f67
Commit
22f02f67
authored
Jan 27, 2020
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
ae1c7966
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
2 行增加
和
205 行删除
+2
-205
Section01-Introduction/section01.pdf
+0
-0
Section01-Introduction/section01.test.tex
+0
-203
Section01-Introduction/section01.tex
+2
-2
没有找到文件。
Section01-Introduction/section01.pdf
deleted
100644 → 0
查看文件 @
ae1c7966
File deleted
Section01-Introduction/section01.test.tex
deleted
100644 → 0
查看文件 @
ae1c7966
\def\CTeXPreproc
{
Created by ctex v0.2.13, don't edit!
}
\documentclass
[cjk,t,compress,12pt]
{
beamer
}
%\documentclass{article}
%\usepackage{beamerarticle}
\usepackage
{
pstricks
}
\usepackage
{
etex
}
\usepackage
{
eso-pic,graphicx
}
\usepackage
{
fancybox
}
\usepackage
{
amsmath,amssymb
}
\usepackage
{
setspace
}
\usepackage
{
xcolor
}
\usepackage
{
CJK
}
\usepackage
{
tikz
}
\usepackage
{
tikz-qtree
}
\usepackage
{
hyperref
}
\usepgflibrary
{
arrows
}
% LATEX and plain TEX and pure pgf
\usetikzlibrary
{
arrows
}
% LATEX and plain TEX when using Tik Z
\usetikzlibrary
{
decorations
}
\usetikzlibrary
{
shapes,arrows,shadows
}
\usetikzlibrary
{
positioning,fit,calc
}
\usetikzlibrary
{
mindmap,backgrounds
}
% mind map
\DeclareMathOperator*
{
\argmax
}{
arg
\,
max
}
\DeclareMathOperator*
{
\argmin
}{
arg
\,
min
}
\setbeamertemplate
{
items
}
[ball]
\usefonttheme
[onlymath]
{
serif
}
% fout of math
\definecolor
{
ugreen
}{
rgb
}{
0,0.5,0
}
\definecolor
{
lgreen
}{
rgb
}{
0.9,1,0.8
}
\definecolor
{
xtgreen1
}{
rgb
}{
0.824,0.898,0.8
}
\definecolor
{
xtgreen
}{
rgb
}{
0.914,0.945,0.902
}
\definecolor
{
lightgray
}{
gray
}{
0.85
}
\setbeamercolor
{
uppercol
}{
fg=white,bg=ugreen
}
\setbeamercolor
{
lowercol
}{
fg=black,bg=xtgreen
}
%\definecolor{ublue}{rgb}{0,0.298,0.525}
\definecolor
{
ublue
}{
rgb
}{
0.152,0.250,0.545
}
\setbeamercolor
{
uppercolblue
}{
fg=white,bg=ublue
}
\setbeamercolor
{
lowercolblue
}{
fg=black,bg=blue!10
}
%\usetheme{default}
%\usetheme{Darmstadt}
%\usetheme{Madrid}
%\usetheme{Frankfurt}
%\usetheme{Dresden}
%\usetheme{Boadilla}
%\usecolortheme{dolphin}
\usefonttheme
[onlylarge]
{
structurebold
}
\begin{CJK}
{
GBK
}{
song
}
\end{CJK}
\setbeamerfont*
{
frametitle
}{
size=
\large
,series=
\bfseries
}
\setbeamertemplate
{
navigation symbols
}{
\begin{CJK}
{
GBK
}{
hei
}
第一章 机器翻译简介
\hspace*
{
2em
}
肖桐
\&
朱靖波
\end{CJK}
\hspace*
{
2em
}
\today
\hspace*
{
2em
}
\insertframenumber
{}
/
\inserttotalframenumber
}
\setbeamertemplate
{
itemize items
}
[circle]
% if you want a circle
\setbeamertemplate
{
itemize subitem
}
[triangle]
% if you wnat a triangle
\setbeamertemplate
{
itemize subsubitem
}
[ball]
% if you want a ball
\begin{document}
\begin{CJK}
{
GBK
}{
you
}
\title
{
\Large
{
机器翻译简介
}}
\subtitle
{
背景 + 概念 + 方法概述
}
\author
{
\large
{
\textbf
{
肖桐
\ \
朱靖波
}}}
\institute
{
东北大学 自然语言处理实验室
\\
\blue
{
\underline
{
\url
{
xiaotong@mail.neu.edu.cn
}}}
\black
{}
\\
\vspace
{
0.2cm
}
\hspace
{
0.1cm
}
\includegraphics
[scale=0.1]
{
../Figures/logo.pdf
}
}
\date
{}
\maketitle
\setlength
{
\leftmargini
}{
1em
}
\setlength
{
\leftmarginii
}{
1em
}
\section
{
机器翻译
}
\subsection
{
基本概念
}
%%%------------------------------------------------------------------------------------------------------------
%%% 神经机器翻译
\begin{frame}
{
如何进行机器翻译? - 基于神经网络的方法
}
\alert
{
神经机器翻译
}
:把字符串表示成实数向量,翻译被看做序列到序列转化。这个过程由
\alert
{
编码器-解码器
}
网络计算,不需要依赖人工先验或者语言学规则
\\
\vspace
{
0.5em
}
\begin{tikzpicture}
\begin{scope}
\small
{
\node
[anchor=south west,minimum width=15em] (source) at (0,0)
{
\textbf
{
source
}
: 我
\ \ \ \
对
\ \ \ \
你
\ \ \ \
感到
\ \ \ \
满意
}
;
\visible
<3->
{
\node
[anchor=south west,minimum width=15em] (target) at ([yshift=12em]source.north west)
{
\textbf
{
target
}
: I
\ \
am
\ \ \
satisfied
\ \ \
with
\ \ \
you
}
;
}
\visible
<2->
{
\node
[anchor=center,minimum width=9.6em,minimum height=1.8em,draw,rounded corners=0.3em] (hidden) at ([yshift=6em]source.north)
{}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!20] (cell01) at ([xshift=0.2em]hidden.west)
{
\footnotesize
{
.2
}}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!10] (cell02) at (cell01.east)
{
\footnotesize
{
-1
}}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!70] (cell03) at (cell02.east)
{
\footnotesize
{
6
}}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!50] (cell04) at (cell03.east)
{
\footnotesize
{
5
}}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!30] (cell05) at (cell04.east)
{
\footnotesize
{
.7
}}
;
\node
[anchor=west,minimum width=1.5em,minimum size=1.5em,fill=ugreen!10] (cell06) at (cell05.east)
{
\footnotesize
{
-2
}}
;
}
\visible
<2->
{
\filldraw
[fill=red!20,draw=white] (source.north west) -- (source.north east) -- ([xshift=-0.2em,yshift=-0.1em]hidden.south east) -- ([xshift=0.2em,yshift=-0.1em]hidden.south west);
}
\visible
<3->
{
\filldraw
[fill=blue!20,draw=white] (target.south west) -- (target.south east) -- ([xshift=-0.2em,yshift=0.1em]hidden.north east) -- ([xshift=0.2em,yshift=0.1em]hidden.north west);
}
\visible
<2->
{
\draw
[->,thick] (source.north west) -- ([xshift=0.2em,yshift=-0.1em]hidden.south west);
\draw
[->,thick] (source.north east) -- ([xshift=-0.2em,yshift=-0.1em]hidden.south east);
}
\visible
<3->
{
\draw
[->,thick] ([xshift=0.2em,yshift=0.1em]hidden.north west) -- (target.south west);
\draw
[->,thick] ([xshift=-0.2em,yshift=0.1em]hidden.north east) -- (target.south east);
}
}
\visible
<4->
{
\node
[anchor=south] (enclabel) at ([yshift=2em]source.north)
{
\large
{
\textbf
{
Encoder
}}}
;
\node
[anchor=north] (declabel) at ([yshift=-2em]target.south)
{
\large
{
\textbf
{
Decoder
}}}
;
\node
[anchor=east,align=left] (hiddenlabel) at (hidden.west)
{
\scriptsize
{
represe-
}
\\\scriptsize
{
ntation
}}
;
}
\end{scope}
\begin{scope}
[xshift=16.8em,yshift=6em]
\visible
<5->
{
\tikzstyle
{
numbernode
}
= [fill=blue!30,minimum height=0.8em,minimum width=0.8em,circle,draw,inner sep=1pt]
\tikzstyle
{
numbernode2
}
= [fill=ugreen!30,minimum height=0.8em,minimum width=0.8em,circle,draw,inner sep=1pt]
\node
[anchor=west,numbernode]
(neuron01) at (0,0)
{}
;
\node
[anchor=west,numbernode]
(neuron02) at ([xshift=0.3em]neuron01.east)
{}
;
\node
[anchor=west,numbernode]
(neuron03) at ([xshift=0.3em]neuron02.east)
{}
;
\node
[anchor=west,numbernode]
(neuron04) at ([xshift=0.3em]neuron03.east)
{}
;
\node
[anchor=west,numbernode]
(neuron11) at ([xshift=2em]neuron04.east)
{}
;
\node
[anchor=west,numbernode]
(neuron12) at ([xshift=0.3em]neuron11.east)
{}
;
\node
[anchor=west,numbernode]
(neuron13) at ([xshift=0.3em]neuron12.east)
{}
;
\node
[anchor=west,numbernode]
(neuron14) at ([xshift=0.3em]neuron13.east)
{}
;
\node
[anchor=west,numbernode2]
(neuron21) at ([xshift=1.5em,yshift=3em]neuron02.north)
{}
;
\node
[anchor=west,numbernode2]
(neuron22) at ([xshift=0.3em]neuron21.east)
{}
;
\node
[anchor=west,numbernode2]
(neuron23) at ([xshift=0.3em]neuron22.east)
{}
;
\node
[anchor=west,numbernode2]
(neuron24) at ([xshift=0.3em]neuron23.east)
{}
;
\node
[anchor=west,numbernode2]
(neuron25) at ([xshift=0.3em]neuron24.east)
{}
;
\begin{pgfonlayer}
{
background
}
\visible
<5->
{
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron01) (neuron02) (neuron03) (neuron04)] (layer1)
{}
;
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron11) (neuron12) (neuron13) (neuron14)] (layer2)
{}
;
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron21) (neuron22) (neuron23) (neuron24) (neuron25)] (layer3)
{}
;
}
\end{pgfonlayer}
% input and output labels
\draw
[->,thick,align=center]
([yshift=-0.8em]layer1.south)--([yshift=-0.1em]layer1.south) node [pos=0,anchor=north,inner sep=3pt] (word01)
{
\footnotesize
{
input
}
\footnotesize
{
(word)
}}
;
\draw
[->,thick,align=center]
([yshift=-0.8em]layer2.south)--([yshift=-0.1em]layer2.south) node [pos=0,anchor=north,inner sep=3pt] (word02)
{
\footnotesize
{
input
}
\footnotesize
{
(word)
}}
;
\draw
[<-,thick,align=center]
([yshift=0.8em]layer3.north)--([yshift=0.1em]layer3.north) node [pos=0,anchor=south,inner sep=0] (outputnode)
{
\footnotesize
{
output
}
\footnotesize
{
(representation)
}}
;
% layer and neuron labels
\node
[anchor=west]
(layerlabel3) at (layer3.east)
{
\footnotesize
{
layer
}}
;
% connections
\draw
[-]
(neuron01)--(neuron21);
\draw
[-]
(neuron02)--(neuron21);
\draw
[-]
(neuron03)--(neuron21);
\draw
[-]
(neuron04)--(neuron21);
\node
[anchor=north]
(connections) at ([yshift=-0.7em,xshift=0.5em]layer3.south)
{
\textbf
{
...
}}
;
\node
[anchor=west]
(conntections2) at ([xshift=0.5em]connections.east)
{
\textbf
{
...
}}
;
\begin{pgfonlayer}
{
background
}
\visible
<5->
{
\node
[draw,thin,minimum width=11em,align=left,rounded corners=1pt,fill=red!5,drop shadow]
[fit = (outputnode) (word01) (word02) ] (netbox)
{}
;
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron01) (neuron02) (neuron03) (neuron04)] (layer1)
{}
;
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron11) (neuron12) (neuron13) (neuron14)] (layer2)
{}
;
\node
[rectangle,draw,thin,inner sep=3pt,rounded corners=1pt]
[fit = (neuron21) (neuron22) (neuron23) (neuron24) (neuron25)] (layer3)
{}
;
}
\end{pgfonlayer}
\draw
[->,very thick,dotted] (enclabel.east) ..controls + (east:2em) and +(west:2em).. ([yshift=-1em]netbox.west);
\node
[anchor=north] (netlabel) at (netbox.south)
{
\footnotesize
{
sample network of the encoder
}}
;
}
\end{scope}
\end{tikzpicture}
\end{frame}
\end{CJK}
\end{document}
Section01-Introduction/section01.tex
查看文件 @
22f02f67
...
...
@@ -134,7 +134,7 @@
%%% 啥是机器翻译
\begin{frame}
{
啥是机器翻译
}
\begin{minipage}
[c][5cm][t]
{
0.46
\textwidth
}
传统观念
上
,翻译是由
\alert
{
人工
}
完成
传统观念
中
,翻译是由
\alert
{
人工
}
完成
\begin{itemize}
\item
精度高
\item
\textbf
{
但是
}
,费时费力
...
...
@@ -601,7 +601,7 @@ At that time, \only<2-3>{the wealth by a boat}\only<4->{\alert{\underline{the we
\visible
<4->
{
\begin{scope}
[yshift=-0.8in,xshift=2.2in]
\node
[] (part2label) at (0,0.3em)
{
\includegraphics
[scale=0.22]
{
./Figures/truck.jpg
}}
;
\node
[anchor=north west] (part2text) at ([xshift=-2em,yshift=0em]part2label.south west)
{
\begin{tabular}
{
l
}
\alert
{
系统
}
:利用资源完成
\\
完成
自动翻译的程序
\end{tabular}
}
;
\node
[anchor=north west] (part2text) at ([xshift=-2em,yshift=0em]part2label.south west)
{
\begin{tabular}
{
l
}
\alert
{
系统
}
:利用资源完成
\\
自动翻译的程序
\end{tabular}
}
;
\end{scope}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论