Empirical Methods in Natural Language Processing Lecture 15 Machine translation (II): Word-based models and the EM algorithm
Philipp Koehn 25 February 2008
Philipp Koehn EMNLP Lecture 15 25 February 2008
Empirical Methods in Natural Language Processing Lecture 15 Machine - - PowerPoint PPT Presentation
Empirical Methods in Natural Language Processing Lecture 15 Machine translation (II): Word-based models and the EM algorithm Philipp Koehn 25 February 2008 Philipp Koehn EMNLP Lecture 15 25 February 2008 1 Lexical translation How to
Philipp Koehn EMNLP Lecture 15 25 February 2008
1
Philipp Koehn EMNLP Lecture 15 25 February 2008
2
Philipp Koehn EMNLP Lecture 15 25 February 2008
3
Philipp Koehn EMNLP Lecture 15 25 February 2008
4
Philipp Koehn EMNLP Lecture 15 25 February 2008
5
Philipp Koehn EMNLP Lecture 15 25 February 2008
6
Philipp Koehn EMNLP Lecture 15 25 February 2008
7
Philipp Koehn EMNLP Lecture 15 25 February 2008
8
Philipp Koehn EMNLP Lecture 15 25 February 2008
9
Philipp Koehn EMNLP Lecture 15 25 February 2008
10
le
Philipp Koehn EMNLP Lecture 15 25 February 2008
11
Philipp Koehn EMNLP Lecture 15 25 February 2008
12
Philipp Koehn EMNLP Lecture 15 25 February 2008
13
Philipp Koehn EMNLP Lecture 15 25 February 2008
14
Philipp Koehn EMNLP Lecture 15 25 February 2008
15
Philipp Koehn EMNLP Lecture 15 25 February 2008
16
Philipp Koehn EMNLP Lecture 15 25 February 2008
17
Philipp Koehn EMNLP Lecture 15 25 February 2008
18
Philipp Koehn EMNLP Lecture 15 25 February 2008
19
Philipp Koehn EMNLP Lecture 15 25 February 2008
20
Philipp Koehn EMNLP Lecture 15 25 February 2008
21
❅ ❅
✱ ✱
❅ ❅ ✱ ✱ ✱
Philipp Koehn EMNLP Lecture 15 25 February 2008
22
Philipp Koehn EMNLP Lecture 15 25 February 2008
23
lf
lf
lf
lf
le
Philipp Koehn EMNLP Lecture 15 25 February 2008
24
lf
lf
le
lf
lf
le
le
lf
Philipp Koehn EMNLP Lecture 15 25 February 2008
25
2
2
2
Philipp Koehn EMNLP Lecture 15 25 February 2008
26
ǫ (lf+1)le
j=1 t(ej|fa(j)) ǫ (lf+1)le
j=1
i=0 t(ej|fi)
le
i=0 t(ej|fi) Philipp Koehn EMNLP Lecture 15 25 February 2008
27
le
i=0 t(e|fi) le
lf
Philipp Koehn EMNLP Lecture 15 25 February 2008
28
Philipp Koehn EMNLP Lecture 15 25 February 2008
29
initialize t(e|f) uniformly do until convergence set count(e|f) to 0 for all e,f set total(f) to 0 for all f for all sentence pairs (e_s,f_s) for all words e in e_s total_s(e) = 0 for all words f in f_s total_s(e) += t(e|f) for all words e in e_s for all words f in f_s count(e|f) += t(e|f) / total_s(e) total(f) += t(e|f) / total_s(e) for all f for all e t(e|f) = count(e|f) / total(f) Philipp Koehn EMNLP Lecture 15 25 February 2008
30
Philipp Koehn EMNLP Lecture 15 25 February 2008
31
Philipp Koehn EMNLP Lecture 15 25 February 2008