CS 562: STATISTICAL NATURAL LANGUAGE PROCESSING

Similar documents
Learning to translate with source and target syntax. David Chiang, USC Information Sciences Institute

Sentence Processing. BCS 152 October

4th Quarter Second Grade Samples of Proficient Writing SECOND GRADE

Introduction to Natural Language Processing Phase 2: Question Answering

LING/C SC 581: Advanced Computational Linguistics. Lecture Notes Feb 6th

Sentence Clarity and Combining. Sentence Clarity. Common clarity problems. Misplaced modifiers Dangling modifiers Passive voice

Sentence Clarity and Combining. Sentence Clarity. A workshop brought to you by The Purdue University Writing Lab

Parsing Practice UCLA

Natural Language Processing

Practice Midterm Exam for Natural Language Processing

Meaning 1. Semantics is concerned with the literal meaning of sentences of a language.

ABSTRACT CITATION HANDLING: PROCESSING CITATION TEXTS IN SCIENTIFIC DOCUMENTS. Michael Alan Whidby Master of Science, 2012

The ACL Anthology Network Corpus. University of Michigan

PART 1A READING COMPREHENSION

The Visual Denotations of Sentences. Julia Hockenmaier with Peter Young and Micah Hodosh University of Illinois

17. Semantics in L1A

Simple passive GRAMMAR

WORDS THAT WORK: HOW TO GET KIDS TO DO ALMOST ANYTHING BY ALICIA EATON

Yorick Wilks. Machine Translation. Its Scope and Limits

Basic Natural Language Processing

Statistical Machine Translation Lecture 5. Decoding with Phrase-Based Models

Relative clauses GRAMMAR

Tanuló neve és osztálya: Tanára: Elért eredménye: Írásbeli: / 60 Szóbeli: /40 Összes: /100

Phil 004. Week 3 Day 3 Chapter 3: Clarity of an Argument

! Japanese: a wh-in-situ language. ! Taroo-ga [ DP. ! Taroo-ga [ CP. ! Wh-words don t move. Islands don t matter.

For Big Kids. Idioms. Jen Bengels

First 100 High Frequency Words

CAS LX 522 Syntax I. Islands. Wh-islands. Phases. Complex Noun Phrase islands. Adjunct islands

Adverb Clauses. Week 7, Mon 10/5/15 Todd Windisch, Fall 2015

Lecture 7. Scope and Anaphora. October 27, 2008 Hana Filip 1

Dynamic Semantics! (Part 1: Not Actually Dynamic Semantics) Brian Morris, William Rose

Write the words and then match them to the correct pictures.

How English Phrases Are Formed: Syntax I

KINGDOM OF BAHRAIN MINISTRY OF EDUCATION ALFLAH PRIVATE SCHOOLS RFFA BOYS BRANCH. June English Exam. DURATION: 40 minutes

Language and Inference

Handout 3 Verb Phrases: Types of modifier. Modifier Maximality Principle Non-head constituents are maximal projections, i.e., phrases (XPs).

Simple past vs. past continuous. LEVEL NUMBER LANGUAGE Intermediate B1_1022G_EN English

COMMON GRAMMAR ERRORS. By: Dr. Elham Alzoubi

Complex Inferences Inference v. Observation: Observation is what you see & Inference is what you figure out

My favorite food essay example. My favorite food essay example.zip

An HPSG Account of Depictive Secondary Predicates and Free Adjuncts: A Problem for the Adjuncts-as-Complements Approach

Focus Poetry Plan Week 1

BBC LEARNING ENGLISH 6 Minute Grammar Narrative tenses

Hey! Get Off Our Train By John Burningham

Review Jean Mark Gawron SDSU. March 14, Translation basics (you shouldnt get these things wrong):

A a I i. Write. Name. Building with Dad. Handwriting Letters A,a and I,i: Words with a and i 401

Active Voice vs. Passive Voice (#25. Grammar Girl here. Today's topic is active voice versus passive voice. Here's Brian from Iowa:

Misplaced and Dangling Modifiers. This will be included on you final exam and on your standardized tests!

Tilda and her family. Read, write and draw

ENGLISH ENGLISH AMERICAN. Level 1. Tests

ENGLISH ENGLISH BRITISH. Level 1. Tests

The semiotic triangle. Componential Analysis. Lexical fields. Words. (Lexical) semantic relations. Componential Analysis. Semantics.

Sentiment Analysis. Andrea Esuli

Grammar 101: Adjectives, Adverbs, Articles, Prepositions, oh my! For Planners

Introduction to Sentiment Analysis. Text Analytics - Andrea Esuli

INTERNATIONAL INDIAN SCHOOL BURAIDAH ENGLISH GRAMMAR WORKSHEET 06 GRADE- 3

FCE (B2): REPHRASING 50 PRACTICE QUESTIONS FOR THE CAMBRIDGE FIRST CERTIFICATE EXAM

Sentence Processing III. LIGN 170, Lecture 8

THE UGLY DUCKLING. Una producción de Teatro La Paca. Track 1

CAS LX 500 Topics in Linguistics: Questions April 9, 2009

What is Web of Science Core Collection? Thomson Reuters Journal Selection Process for Web of Science

Beatrix drew new pictures for The Tale of Peter Rabbit. 1. What might Beatrix Potter have liked? cleaning mess

Semantic Research Methodology

Pronouns and possessive adjectives

English Chest 3. Workbook Answer Key

Basic Sight Words - Preprimer

February 16, 2007 Menéndez-Benito. Challenges/ Problems for Carlson 1977

ABSS HIGH FREQUENCY WORDS LIST C List A K, Lists A & B 1 st Grade, Lists A, B, & C 2 nd Grade Fundations Correlated

LESSON 7: ADVERBS. In the last lesson, you learned about adjectives. Adjectives are a kind of modifier. They modify nouns and pronouns.

MUSIC/AUDIO ANALYSIS IN PYTHON. Vivek Jayaram

Construal. Subjectivity/objectivity. To what extent are S or H regarded as objects of conception?

Music 175: Pitch II. Tamara Smyth, Department of Music, University of California, San Diego (UCSD) June 2, 2015

Characterizing quotation

QUARTER 3 GUM REVIEW: UNITS Did you download and save the Quarter 3 GUM review sent in kmail or on my English website?

Less is More: Picking Informative Frames for Video Captioning

Literal & Nonliteral Language

Introduction to semantic networks and conceptual graphs

High Five! 3. 1 Read and write in, on or at. Booster. Name: Class: Prepositions of time Presentation. Practice. Grammar

Works Cited at the end of the essay. Adequate development in a paragraph

RESEARCH OF FRAME SYNCHRONIZATION TECHNOLOGY BASED ON PERFECT PUNCTURED BINARY SEQUENCE PAIRS

CS 7643: Deep Learning

SEND ME AN E-MALE. = Florentin s Homonyms = He wanted to shut somebody and bought a gone. This musician knows to play the liar.

!!!!!!!!!!DOSSIER! DE!RECUPERACIÓ! D ANGLÈS!! 2n!TRIMESTRE! 4t!d ESO!

2018 English Entrance Exam for Returnees

Simple present tense vs. present continuous tense

Errata Carnie, Andrew (2013) Syntax: A Generative Introduction. 3 rd edition. Wiley Blackwell. Last updated March 29, 2015

A sentence is a group of words that tells a whole idea. Example: The cat sat on the mat.

Six. Unit. What does he do? Target Language. What does he do?

LEARNING ENGLISH WITH LAUGHTER

BBLAN24500 Angol mondattan szem. / English Syntax seminar BBK What are the Hungarian equivalents of the following linguistic terms?

Comprehension Lab! Comprehension Lab! Comprehension Lab! Comprehension Lab! Comprehension Lab! Comprehension Lab! e.g. I have a headache. e.g.

ENGLISH FILE. 5 Grammar, Vocabulary, and Pronunciation B. 3 Underline the correct word(s). 1 Order the words to make sentences.

Chapter 3 Intercultural Communication

1 st Final Term Revision SY Student s Name:

The Syntax and Semantics of Traces Danny Fox, MIT. How are traces interpreted given the copy theory of movement?

From Experiments in Music Intelligence (Emmy) to Emily Howell: The Work of David Cope. CS 275B/Music 254

pre-watching Look at these pictures. Talk about the pictures. Which words, feelings come to your mind?

50 Essays A Portable Anthology 4th Edition

New Practical Chinese Reader 6 Textbook

1 The structure of this exercise

Transcription:

CS 562: STATISTICAL NATURAL LANGUAGE PROCESSING August 2010 Instructors: Liang Huang and Kevin Knight TA: Jason Riesa

Doesn t Google know everything? What animal does a cat eat? 2

Even Key Word Queries Paris Hilton -- not easy to book! (vs. Boston Hilton) 3

Ambiguity Where can I spot a snow leopard? 4

More about Ambiguities to middle school kids: what does this sentence mean? I saw her duck. Aravind Joshi 5

More about Ambiguities to middle school kids: what does this sentence mean? I saw her duck. Aravind Joshi 5

More about Ambiguities to middle school kids: what does this sentence mean? I saw her duck. Aravind Joshi lexical ambiguity (word-sense) 5

More about Ambiguities to middle school kids: what does this sentence mean? I eat sushi with tuna. Aravind Joshi 6

More about Ambiguities to middle school kids: what does this sentence mean? I eat sushi with tuna. Aravind Joshi structural ambiguity (PP-attachment) 6

More about Ambiguities to middle school kids: what does this sentence mean? I eat sushi with tuna. Aravind Joshi 7

More about Ambiguities to middle school kids: what does this sentence mean? I eat sushi with tuna. Aravind Joshi lexical ambiguity (word-sense) 7

More about Ambiguities to middle school kids: what does this sentence mean? Everybody loves somebody. Aravind Joshi??? 8

More about Ambiguities to middle school kids: what does this sentence mean? Everybody loves somebody. Aravind Joshi??? structural ambiguity (quantifier scope) 8

More about Ambiguities to middle school kids: what does this sentence mean? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo Aravind Joshi 9

More about Ambiguities to middle school kids: what does this sentence mean? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo Aravind Joshi http://www.cse.buffalo.edu/~rapaport/buffalobuffalo/buffalobuffalo.html 9

More about Ambiguities to middle school kids: what does this sentence mean? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo Aravind Joshi http://www.cse.buffalo.edu/~rapaport/buffalobuffalo/buffalobuffalo.html 9

More about Ambiguities to middle school kids: what does this sentence mean? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo Aravind Joshi Dogs dogs dog dog dogs. Police police police police police http://www.cse.buffalo.edu/~rapaport/buffalobuffalo/buffalobuffalo.html 9

Ambiguities in Translation zi zhu zhong duan self help terminal device 10

Ambiguities in Translation 11

Ambiguities in Translation 11

Ambiguities in Translation 11

Ambiguities in Translation 11

If you are stolen... 12

or even... 13

or even... clear evidence that NLP is used in real life! 13

Grammar SBARQ WHNP SINV What animal VBZ NP VP does a cat VB NP eat t 14

PP Attachment Ambiguity DP for incremental parsing 15

PP Attachment Ambiguity One morning in Africa, I shot an elephant in my pajamas; DP for incremental parsing 15

PP Attachment Ambiguity One morning in Africa, I shot an elephant in my pajamas; how he got into my pajamas I ll never know. DP for incremental parsing 15

PP Attachment Ambiguity One morning in Africa, I shot an elephant in my pajamas; how he got into my pajamas I ll never know. DP for incremental parsing 15

Ambiguity Explosion I saw her duck. 16

Ambiguity Explosion I saw her duck. how about... I saw her duck with a telescope.... I saw her duck with a telescope in the garden... 16

Ambiguity Explosion exponential explosion of the search space Q1: how to represent ambiguities (compactly)? Q2: how to search over this space (efficiently)? Q3: how to rank different hypotheses? S NP VP PRP VBD NP PP I saw PRP$ NN IN NP.. her duck with DT a NN telescope 17

Answers... Q1: how to represent ambiguities? context-free grammar (unit 2) finite-state automata (unit I) Q2: how to search in this space? dynamic programming (units 1&2) Q3: how to rank these hypotheses? weighted grammar (units 1-3) weights learned from data NP PRP I VBD saw S VP NP PRP$ NN her duck IN with PP DT a NP NN telesco (saw, with, telescope) seen more often in texts 18

Why Learning? learning is better than hand-written rules, because: less work; easily adapts to new languages/domains Powerset (now bing.com): 15 years for English grammar! now they are writing their Chinese grammar... and languages constantly change! learning can work, and often works better! machine translation: used to be dominated by rule-based now statistical methods are better: google vs. systran google learns from the web, and translates 40+ langs [also CS 567, Machine Learning, Fall 2010] 19

Example - Rosetta Stone the most famous (tri-)parallel text machines can do the same job! (if given parallel text) UN/EU/Ca proceedings, News, tech manuals,... 20

Take Home Message languages are beyond just bags of words! ambiguity is everywhere, and NLP is all about that we ll teach machines how to read and translate... and how to learn to read and translate from data have fun in this class! :) 21