Machine Translation
- Prof. Sameer Singh
CS 295: STATISTICAL NLP WINTER 2017
February 28, 2017
Based on slides from Jason Eisenstein, Chris Dyer, Alan Ritter, Yejin Choi, and everyone else they copied from.
Machine Translation Prof. Sameer Singh CS 295: STATISTICAL NLP - - PowerPoint PPT Presentation
Machine Translation Prof. Sameer Singh CS 295: STATISTICAL NLP WINTER 2017 February 28, 2017 Based on slides from Jason Eisenstein, Chris Dyer, Alan Ritter, Yejin Choi, and everyone else they copied from. Upcoming Paper summaries:
February 28, 2017
Based on slides from Jason Eisenstein, Chris Dyer, Alan Ritter, Yejin Choi, and everyone else they copied from.
Homework
Project
Summaries
CS 295: STATISTICAL NLP (WINTER 2017) 2
CS 295: STATISTICAL NLP (WINTER 2017) 3
CS 295: STATISTICAL NLP (WINTER 2017) 4
CS 295: STATISTICAL NLP (WINTER 2017) 5
CS 295: STATISTICAL NLP (WINTER 2017) 6
Even for SVO English: I will buy it French: Je vais l’acheter (I will it buy) English: I bought it French: Je l’ai achet´ e (I it have bought) SVO vs SOV English: IBM bought Lotus Japanese: IBM Lotus bought
CS 295: STATISTICAL NLP (WINTER 2017) 7
bill pico cuenta
CS 295: STATISTICAL NLP (WINTER 2017) 8
In Spanish, you can recover the pronoun from verb inflection:
Vivimos en Atlanta → We live in Atlanta
I Again, discourse context is often crucial:
Vive en Atlanta → She/he/it lives in Atlanta
English possessive pronouns take the gender of the owner:
Marie rides her bike
French possessive pronouns take the gender of the object:
Marie monte sur son vélo
Different Pronouns Dropping Pronouns
CS 295: STATISTICAL NLP (WINTER 2017) 9
The preterite tense is for events with a definite time, e.g.
The imperfect is for events with indefinite times, e.g.
To translate English to Spanish, we must pick the right tense.
CS 295: STATISTICAL NLP (WINTER 2017) 10
Why in the world Kick the bucket Lend me your ears Dead As A Doornail As Cool As a Cucumber Hold Your Horses Storm in a Teacup Bob's Your Uncle Blue in the Face Head In The Clouds
CS 295: STATISTICAL NLP (WINTER 2017) 11
Rules for translating much or many into Russian: if preceding word is how return skol’ko else if preceding word is as return stol’ko zhe else if word is much if preceding word is very return nil else if following word is a noun return mnogo else (word is many) if preceding word is a preposition and following word is noun return mnogii else return mnogo
Panov (1960)
CS 295: STATISTICAL NLP (WINTER 2017) 12
CS 295: STATISTICAL NLP (WINTER 2017) 13
CS 295: STATISTICAL NLP (WINTER 2017) 14
CS 295: STATISTICAL NLP (WINTER 2017) 15
CS 295: STATISTICAL NLP (WINTER 2017) 16
CS 295: STATISTICAL NLP (WINTER 2017) 17
CS 295: STATISTICAL NLP (WINTER 2017) 18
CS 295: STATISTICAL NLP (WINTER 2017) 19
CS 295: STATISTICAL NLP (WINTER 2017) 20
CS 295: STATISTICAL NLP (WINTER 2017) 21
CS 295: STATISTICAL NLP (WINTER 2017) 22
CS 295: STATISTICAL NLP (WINTER 2017) 23
“Noisy Channel” Decoder
CS 295: STATISTICAL NLP (WINTER 2017) 24
“Noisy Channel” Decoder
CS 295: STATISTICAL NLP (WINTER 2017) 25
CS 295: STATISTICAL NLP (WINTER 2017) 26
CS 295: STATISTICAL NLP (WINTER 2017) 27
Language Model Translation Model Decoding Algo
CS 295: STATISTICAL NLP (WINTER 2017) 28
CS 295: STATISTICAL NLP (WINTER 2017) 29
CS 295: STATISTICAL NLP (WINTER 2017) 30
Fluency Adequacy A: furious nAgA on wednesday , the tribal minimum pur of ten schools also was burnt B: furious nAgA on wednesday the tribal pur mini ten schools of them was also burnt
CS 295: STATISTICAL NLP (WINTER 2017) 31
Fluency Adequacy
CS 295: STATISTICAL NLP (WINTER 2017) 32
CS 295: STATISTICAL NLP (WINTER 2017) 33
CS 295: STATISTICAL NLP (WINTER 2017) 34
CS 295: STATISTICAL NLP (WINTER 2017) 35
CS 295: STATISTICAL NLP (WINTER 2017) 36
CS 295: STATISTICAL NLP (WINTER 2017) 37
And the program was implemented La programmation a été mise en application
CS 295: STATISTICAL NLP (WINTER 2017) 38
CS 295: STATISTICAL NLP (WINTER 2017) 39
CS 295: STATISTICAL NLP (WINTER 2017) 40
CS 295: STATISTICAL NLP (WINTER 2017) 41
CS 295: STATISTICAL NLP (WINTER 2017) 42
CS 295: STATISTICAL NLP (WINTER 2017) 43
CS 295: STATISTICAL NLP (WINTER 2017) 44
CS 295: STATISTICAL NLP (WINTER 2017) 45
Model 1 Model 2 Model 3/4/5
CS 295: STATISTICAL NLP (WINTER 2017) 46