introduction to computational linguistics
play

Introduction to Computational Linguistics PD Dr. Frank Richter - PowerPoint PPT Presentation

Introduction to Computational Linguistics PD Dr. Frank Richter (all slides provided by Prof. Dr. Erhard W. Hinrichs) fr@sfs.uni-tuebingen.de. Seminar f ur Sprachwissenschaft Eberhard-Karls-Universit at T ubingen Germany NLP Intro


  1. Introduction to Computational Linguistics PD Dr. Frank Richter (all slides provided by Prof. Dr. Erhard W. Hinrichs) fr@sfs.uni-tuebingen.de. Seminar f¨ ur Sprachwissenschaft Eberhard-Karls-Universit¨ at T¨ ubingen Germany NLP Intro – WS 2005/6 – p.1

  2. A bit of Philosophy of Science Theory: A set of statements that determine the format and semantics of descriptions of phenomena in the purview of the theory Methodology: An effective theory comes with an explicit methodology for acquiring these descriptions Application: A theory associated with a methodology can be applied to tasks for which the methodology is appropriate. NLP Intro – WS 2005/6 – p.2

  3. Scientific Strategies Method Oriented Approach: devise or import a tool, a procedure or a formalism, apply it to a task and develop it further. Then (optionally) see whether it works for additional tasks Task oriented Approach: select a task; devise or import a method or several methods for its solution; integrate the methods as required to improve performance. NLP Intro – WS 2005/6 – p.3

  4. What Makes Machine Translation Hard Lexical Ambiguity NLP Intro – WS 2005/6 – p.4

  5. What Makes Machine Translation Hard Lexical Ambiguity Lexical Gaps NLP Intro – WS 2005/6 – p.4

  6. What Makes Machine Translation Hard Lexical Ambiguity Lexical Gaps Syntactic Divergences between Source and Target Language NLP Intro – WS 2005/6 – p.4

  7. Problems: Word-to-Word Translations English – German The ticket office in the train station Der Fahrkartenschalter im Bahnhof öffnet wieder um ein Uhr. re-opens at one o’clock. NLP Intro – WS 2005/6 – p.5

  8. Lexical Ambiguity: Open (1) English German in store door Offen on new building Neu eröffnet open door Tür öffnen open golf tourney Golfspiel eröffnen open question offene Frage open job freie Stelle open morning freier Morgen open football player freier Fussballspieler NLP Intro – WS 2005/6 – p.6

  9. Lexical Ambiguity: Open (2) English German loose ice offenes Eis blank endorsement offenes Giro private firm offene Handelsgesellschaft unfortified town offene Stadt blank cheque offener Wechsel to unbutton a coat einen Mantel öffnen NLP Intro – WS 2005/6 – p.7

  10. Structural Divergence (1) English – German Max likes to swim. NP VFIN INF Max schwimmt gerne. NP VFIN ADV NLP Intro – WS 2005/6 – p.8

  11. Structural Divergence (2) Russian – English Jego zovut Julian. Him they callJulian. They call him Julian. Japanese – English Kino ame ga futa. Yesterday rain fell. It was raining yesterday. NLP Intro – WS 2005/6 – p.9

  12. Differences in Word Order English – German Does it make sense to translate Macht es Sinn documents automatically ? Dokumente automatisch zu übersetzen ? NLP Intro – WS 2005/6 – p.10

  13. MT: The Weaver Memo (1) Translation and Context If one examines the words in a book, one at a time as through an opaque mask with a hole in it one word wide, then it is obviously impossible to determine, one at a time, the meaning of the words. NLP Intro – WS 2005/6 – p.11

  14. MT: The Weaver Memo (1) Translation and Context If one examines the words in a book, one at a time as through an opaque mask with a hole in it one word wide, then it is obviously impossible to determine, one at a time, the meaning of the words. But if one lengthens the slit in the opaque mask, until one see not only the central word in question but also say N words on either side, then if N is large enough one can unambiguously decide the meaning of the central word. NLP Intro – WS 2005/6 – p.11

  15. MT: The Weaver Memo (2) Translation and Context The practical question is: “What minimum value of N will, at least, in a tolerable fraction of cases, lead to the correct choice of meaning for the central word?” NLP Intro – WS 2005/6 – p.12

  16. MT: The Weaver Memo (2) Translation and Context The practical question is: “What minimum value of N will, at least, in a tolerable fraction of cases, lead to the correct choice of meaning for the central word?” Translation and Cryptography ... it is very tempting to say that a book written in Chinese is simply a book written in English which was coded into the “Chinese code”. NLP Intro – WS 2005/6 – p.12

  17. MT: The Weaver Memo (3) Translation and Language Universals (Invariants) ... there are certain invariant properties which are, again not precisely, but to some statistically useful degree, common to all languages. NLP Intro – WS 2005/6 – p.13

  18. MT: The Weaver Memo (3) Translation and Language Universals (Invariants) ... there are certain invariant properties which are, again not precisely, but to some statistically useful degree, common to all languages. Thus may it be true that the way to translate Chinese to Arabic or from Russian to Portugese, is not to attempt the direct route ... but down to the common base of human communication – the real but yet undiscovered universal language – and then to re-emerge by whatever particular route is convenient. NLP Intro – WS 2005/6 – p.13

  19. Strategies for Machine Translation Word-to-Word (Direct) Translation NLP Intro – WS 2005/6 – p.14

  20. Strategies for Machine Translation Word-to-Word (Direct) Translation Syntactic Transfer NLP Intro – WS 2005/6 – p.14

  21. Strategies for Machine Translation Word-to-Word (Direct) Translation Syntactic Transfer Semantic Transfer NLP Intro – WS 2005/6 – p.14

  22. Strategies for Machine Translation Word-to-Word (Direct) Translation Syntactic Transfer Semantic Transfer Interlingua Approach NLP Intro – WS 2005/6 – p.14

  23. Strategies for Machine Translation (2) Word-to-Word (Direct) Translation simplest approach: NLP Intro – WS 2005/6 – p.15

  24. Strategies for Machine Translation (2) Word-to-Word (Direct) Translation simplest approach: may require only an electronic, bi-lingual dictionary NLP Intro – WS 2005/6 – p.15

  25. Strategies for Machine Translation (2) Word-to-Word (Direct) Translation simplest approach: may require only an electronic, bi-lingual dictionary depending on the source and target languages and the dictionary, minimal morphological analysis and generation may be required. NLP Intro – WS 2005/6 – p.15

  26. Strategies for Machine Translation (2) Word-to-Word (Direct) Translation simplest approach: may require only an electronic, bi-lingual dictionary depending on the source and target languages and the dictionary, minimal morphological analysis and generation may be required. no use of syntactic or semantic knowledge NLP Intro – WS 2005/6 – p.15

  27. Strategies for Machine Translation (3) Syntactic Transfer NLP Intro – WS 2005/6 – p.16

  28. Strategies for Machine Translation (3) Syntactic Transfer requires syntactic analysis of the source language NLP Intro – WS 2005/6 – p.16

  29. Strategies for Machine Translation (3) Syntactic Transfer requires syntactic analysis of the source language requires a syntactic parser NLP Intro – WS 2005/6 – p.16

  30. Syntactic Transfer Trees An Example of a Transfer Tree for English like and French plaire S S ’ t n s = X t n s = X ’ v v N P 2 N P 2 ’ N P 1 PP f un = h ea d f un = h ea d f un = ob j f un = s ub j f un = s ub j f un = ob j l e x = p l a i r e l e x = li k e nu m = N 2 nu m = N 2 nu m = N 1 l e x = L 2 l e x = L 2 ’ l e x = L 1 p r e p N P 1 ’ l e x = a f un = ob j nu m = N 1 l e x = L 1 ’ NLP Intro – WS 2005/6 – p.17

  31. Syntactic Transfer Trees (2) An Example of a Transfer Tree for English like to � V � and German � V � gern S S ’ t n s = X t n s = X ’ v ??? v N P 1 S C o m p N P 1 ’ a dv f un = h ea d f un = h ea d f un = s ub j f un = ob j f un = s ub j f un = m od l e x = L 2 ’ l e x = li k e nu m = N 1 t yp e = i ng nu m = N 1 l e x = g e r n l e x = L 1 l e x = L 1 ’ v ??? f un = h ea d l e x = L 2 NLP Intro – WS 2005/6 – p.18

  32. Strategies for Machine Translation (4) Semantic Transfer requires syntactic and semantic analysis of the source language NLP Intro – WS 2005/6 – p.19

  33. Strategies for Machine Translation (4) Semantic Transfer requires syntactic and semantic analysis of the source language requires language-dependent meaning representation language NLP Intro – WS 2005/6 – p.19

  34. Strategies for Machine Translation (4) Semantic Transfer requires syntactic and semantic analysis of the source language requires language-dependent meaning representation language language-dependent rules that relate source language meaning representations to target language meaning representations NLP Intro – WS 2005/6 – p.19

  35. Strategies for Machine Translation (4) Semantic Transfer requires syntactic and semantic analysis of the source language requires language-dependent meaning representation language language-dependent rules that relate source language meaning representations to target language meaning representations requires language generation component which maps target language meaning representations to output sentences NLP Intro – WS 2005/6 – p.19

  36. Strategies for Machine Translation (5) Semantic Transfer synthesis typically performed in two stages: semantic synthesis (resulting in syntactic trees) and morphological synthesis (resulting in strings of inflected word forms). NLP Intro – WS 2005/6 – p.20

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