machine translation
play

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:


  1. 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.

  2. Upcoming… • Paper summaries: February 28 , March 14 Summaries Summary 1 graded • Status report due in 1 weeks: March 7, 2017 • Project Instructions coming today! • Almost final report, only 5 pages • Homework 4 is due on March 13 • Homework Write-up and data releasing soon. • CS 295: STATISTICAL NLP (WINTER 2017) 2

  3. Outline Machine Translation Introduction to Statistical MT IBM Translation Models CS 295: STATISTICAL NLP (WINTER 2017) 3

  4. Outline Machine Translation Introduction to Statistical MT IBM Translation Models CS 295: STATISTICAL NLP (WINTER 2017) 4

  5. Machine Translation Yo, que me figuraba el Paraíso / Bajo la especie de una biblioteca. I have always imagined Paradise as a kind of library. CS 295: STATISTICAL NLP (WINTER 2017) 5

  6. Challenges: Word Order English : IBM bought Lotus SVO vs SOV Japanese : IBM Lotus bought English : I will buy it Even for SVO French : Je vais l’acheter (I will it buy) English : I bought it French : Je l’ai achet´ e (I it have bought) CS 295: STATISTICAL NLP (WINTER 2017) 6

  7. Challenges: Lexical Ambiguity pico bill cuenta CS 295: STATISTICAL NLP (WINTER 2017) 7

  8. Challenges: Pronouns English possessive pronouns take the gender of the owner: Marie rides her bike Different French possessive pronouns take the gender of the object: Pronouns Marie monte sur son vélo In Spanish, you can recover the pronoun from verb inflection: Viv imos en Atlanta → We live in Atlanta Dropping I Again, discourse context is often crucial: Pronouns Viv e en Atlanta → She/he/it lives in Atlanta CS 295: STATISTICAL NLP (WINTER 2017) 8

  9. Challenges: Tenses The preterite tense is for events with a definite time, e.g. I biked to work this morning The imperfect is for events with indefinite times, e.g. I biked to work all last summer To translate English to Spanish, we must pick the right tense. CS 295: STATISTICAL NLP (WINTER 2017) 9

  10. Challenges: Idioms As Cool As a Cucumber Why in the world Blue in the Face Lend me your ears Hold Your Horses Dead As A Doornail Kick the bucket Head In The Clouds Bob's Your Uncle Storm in a Teacup CS 295: STATISTICAL NLP (WINTER 2017) 10

  11. Rules for Machine Translation 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 CS 295: STATISTICAL NLP (WINTER 2017) 11 Panov (1960)

  12. The Vauquios Triangle CS 295: STATISTICAL NLP (WINTER 2017) 12

  13. Outline Machine Translation Introduction to Statistical MT IBM Translation Models CS 295: STATISTICAL NLP (WINTER 2017) 13

  14. Statistical Machine Translation CS 295: STATISTICAL NLP (WINTER 2017) 14

  15. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 15

  16. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 16

  17. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 17

  18. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 18

  19. The Rosetta Stone CS 295: STATISTICAL NLP (WINTER 2017) 19

  20. Warren Weaver (1949) CS 295: STATISTICAL NLP (WINTER 2017) 20

  21. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 21

  22. Parallel Corpus: Examples CS 295: STATISTICAL NLP (WINTER 2017) 22

  23. Noisy Channel Model “Noisy Decoder Channel” CS 295: STATISTICAL NLP (WINTER 2017) 23

  24. Noisy Channel Model “Noisy Decoder Channel” CS 295: STATISTICAL NLP (WINTER 2017) 24

  25. Example: Noisy Channel CS 295: STATISTICAL NLP (WINTER 2017) 25

  26. Example: Noisy Channel CS 295: STATISTICAL NLP (WINTER 2017) 26

  27. Components of an MT system Language Model Translation Model Decoding Algo CS 295: STATISTICAL NLP (WINTER 2017) 27

  28. Components of an MT system CS 295: STATISTICAL NLP (WINTER 2017) 28

  29. Evaluating MT CS 295: STATISTICAL NLP (WINTER 2017) 29

  30. Human Evaluation 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) 30

  31. Automated Evaluation Fluency Adequacy CS 295: STATISTICAL NLP (WINTER 2017) 31

  32. BLEU Score CS 295: STATISTICAL NLP (WINTER 2017) 32

  33. BLEU Score: Example ‘ extension of isi in uttar pradesh ’ ‘ isi ’s expansion in uttar pradesh ’ ‘ the spread of isi in uttar pradesh ’ ‘ isi spreading in uttar pradesh ’ the spread of isi in uttar pradesh CS 295: STATISTICAL NLP (WINTER 2017) 33

  34. BLEU Score: Example ‘ extension of isi in uttar pradesh ’ ‘ isi ’s expansion in uttar pradesh ’ ‘ the spread of isi in uttar pradesh ’ ‘ isi spreading in uttar pradesh ’ the spread of isi in uttar pradesh CS 295: STATISTICAL NLP (WINTER 2017) 34

  35. BLEU’s not bad… CS 295: STATISTICAL NLP (WINTER 2017) 35 G. Doddington, NIST

  36. Outline Machine Translation Introduction to Statistical MT IBM Translation Models CS 295: STATISTICAL NLP (WINTER 2017) 36

  37. Statistical Translation Model And the program was implemented La programmation a été mise en application CS 295: STATISTICAL NLP (WINTER 2017) 37

  38. Word Alignment: Direct CS 295: STATISTICAL NLP (WINTER 2017) 38

  39. Word Alignment: 1-to-Many CS 295: STATISTICAL NLP (WINTER 2017) 39

  40. Word Alignment: Reordering CS 295: STATISTICAL NLP (WINTER 2017) 40

  41. Word Alignment: Inserting CS 295: STATISTICAL NLP (WINTER 2017) 41

  42. Word Alignment: Dropping CS 295: STATISTICAL NLP (WINTER 2017) 42

  43. Translating with Alignments CS 295: STATISTICAL NLP (WINTER 2017) 43

  44. Example: Translation Prob CS 295: STATISTICAL NLP (WINTER 2017) 44

  45. IBM Models Model 1 Model 2 Model 3/4/5 CS 295: STATISTICAL NLP (WINTER 2017) 45

  46. Word Alignment Algorithm CS 295: STATISTICAL NLP (WINTER 2017) 46

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend