












































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













































































Lecture # Introduction to Natural Language Processing CMPSCI 585, Fall 2007 Andrew McCallum (including slides from Michael Collins, and Dan Klein)
English word order is subject – verb – object Japanese word order is subject – object – verb English: IBM bought Lotus Japanese: IBM Lotus bought English: Sources said that IBM bought Lotus yesterday Japanese: Sources yesterday IBM Lotus bought that said
The bottle floated into the cave La botella entro a la cuerva flotando (the bottle entered the cave floating)
The computer outputs the data; it is fast. La computadora imprime los datos; es rapida The computer outputs the data; it is stored in ascii. La computadora imprime los datos; estan almacendos en ascii
From Dorr et. al 1998 : Mary went to Mexico. During her stay she learned Spanish. Went iba (simple past/preterit) Mary went to Mexico. When she returned she started to speak Spanish. Went fue (ongoing past/imperfect)
http://ourworld.compuserve.com/homepages/WJHutchins/MTS-93.htm
Rule-based approaches Expert system-like rewrite systems Interlingua methods (analyze and generate) Lexicons come from humans Can be very fast, and can accumulate a lot of knowledge over time (e.g. Systran) Statistical approaches Word-to-word translation Phrase-based translation Syntax-based translation (tree-to-tree, tree-to-string) Trained on parallel corpora Usually noisy-channel (at least in spirit)
Warren Weaver (1955:18, quoting a letter he wrote in 1947)
Parallel corpora are available in several language pairs Basic idea: use a parallel corpus as a training set of translation examples Classic example: IBM work on French-English translation, using the Canadian Hansards. (1.7 million sentences of 30 words or less in length). Idea goes back to Warren Weaver (1949): suggested applying statistical and cryptanalytic techniques to translation.
Example from Koehn and Knight tutorial Translation from Spanish to English, candidate translations based on alone: Que hambre tengo yo What hunger have = 0. 000014 Hungry I am so = 0. 000001 I am so hungry = 0. 0000015 Have i that hunger = 0. 000020
Might have 1003 sentences (in sequence) of English, 987 sentences (in sequence) of French: but which English sentence(s) corresponds to which French sentence(s)? Might have 1-1 alignments, 1 -2, 2 -1, 2 -2 etc.
Clearly needed before we can train a translation model Also useful for other multi-lingual problems Two broad classes of methods we’ll cover:
- Methods based on sentence lengths alone. - Methods based on lexical matches, or “cognates”.