600.465 - Intro to NLP - J. Eisner1 Human Sentence Processing.

Slides:



Advertisements
Similar presentations
The Literary Elements.
Advertisements

Reading for an English Class (created by Jim Burke)
(Say each word as it appears on the screen.)
Word List A.
What is it?.  Create mental images while they read.  Use all five senses to help them create pictures in their mind  Think about what the character.
STAGES OF COMPREHENSION discourse modelling semantic analysis syntactic “parsing” lexical access phonemic analysis sensory processing.
Eye Movements and Spoken Language Comprehension: effects of visual context on syntactic ambiguity resolution Spivey et al. (2002) Psych 526 Eun-Kyung Lee.
Sentence Processing III Language Use and Understanding Class 12.
FRAGMENTS - JUST PIECES OF THE SENTENCE PUZZLE! But sometimes they’re cool on their own!
 Idioms are expressions which have a meaning that is not obvious from the individual words.  The best way to understand an idiom is to see it in context.
Introduction to electronics lab ENGRI 1810 Using: Solderless prototype board (white board) Digital multimeter (DMM) Power Supply Signal Generator Oscilloscope.
Using prosody to avoid ambiguity: Effects of speaker awareness and referential context Snedeker and Trueswell (2003) Psych 526 Eun-Kyung Lee.
Accent and reference resolution (Dahan, Tanenhaus & Chambers, in press) Experiment 1: –Tested hypothesis that de-accented noun is interpreted as referring.
Introduction and Jurafsky Model Resource: A Probabilistic Model of Lexical and Syntactic Access and Disambiguation, Jurafsky 1996.
SYNTAX 5 ON-LINE PROCESSING DAY 34 – NOV 15, 2013 Brain & Language LING NSCI Harry Howard Tulane University.
10/20/10Psyc / Ling / Comm 525 Fall 2010 Discourse Context What are Non-minimally Attached PPs? –They modify the NP they follow –When does an NP need modification?
PS: Introduction to Psycholinguistics Winter Term 2005/06 Instructor: Daniel Wiechmann Office hours: Mon 2-3 pm Phone:
Multiple constraints in action
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 4.
Language, Mind, and Brain by Ewa Dabrowska Chapter 2: Language processing: speed and flexibility.
The syntax of language How do we form sentences? Processing syntax. Language and the brain.
Theme. Think about the last story you read and ask yourself these questions: 1. What was the story about? 2. Did the main character learn something? 3.
SI485i : NLP Set 9 Advanced PCFGs Some slides from Chris Manning.
So you don’t waste your time when you read. Keys to Reading Comprehension.
PARSING David Kauchak CS457 – Fall 2011 some slides adapted from Ray Mooney.
A Homemade PowerPoint Game By Whitney Smith University of Georgia
Newton’s Laws Newton’s Laws A Web Quest for the Physical Science Student A Web Quest for the Physical Science Student TASK PROCESS CONCLUSION EVALUATIONINTRODUCTION.
Intro to NLP - J. Eisner1 Earley’s Algorithm (1970) Nice combo of our parsing ideas so far:  no restrictions on the form of the grammar:  A.
SLOW DOWN!!!  Remember… the easiest way to make your score go up is to slow down and miss fewer questions  You’re scored on total points, not the percentage.
Common Ground Linguistic referents are established w/in a “domain of interpretation”, which includes context –One component of context = Common Ground.
Ferreira and Henderson (1990)
Speech Comprehension: Decoding meaning from speech.
How to Create a Professional Video Using Windows Live Movie Maker.
Constituents Introduction to syntax. Review 打進季後賽 找到適當的理由 發現任何外傷 他送媽媽一束花 建議考生把握最後三周的時間 屬於那個國度.
1 Language processing in the mind Linguistics lecture #5 November 9, 2006.
Sight words.
Natural Language Processing Artificial Intelligence CMSC February 28, 2002.
Syntax 1 st class on Syntax Chapter 4. Hierarchical Structure  Sentences have internal structure that makes them more than just a sequence of words.
PS: Introduction to Psycholinguistics Winter Term 2005/06 Instructor: Daniel Wiechmann Office hours: Mon 2-3 pm Phone:
11 Chapter 14 Part 1 Statistical Parsing Based on slides by Ray Mooney.
What good readers do….
Rules, Movement, Ambiguity
Thinking in Collection I do not intend my powerpoints to be used as the lesson. I intend the ppt to guide your thinking about how you might develop a line.
Making it stick together…
Syntax II “I really do not know that anything has ever been more exciting than diagramming sentences.” --Gertrude Stein.
Dec 11, Human Parsing Do people use probabilities for parsing?! Sentence processing Study of Human Parsing.
CPSC 422, Lecture 27Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27 Nov, 16, 2015.
SYNTAX.
13 Key Reading Strategies Skilled readers do these things—that's why they're skilled!
WRITING FROM OBSERVATION ESSAY 2. TIME TO OBSERVE On your computer, type adjectives that describe the type of individual in the image that you see. Words.
Unit 2: Reading Strategically Session 1 Everything in RED font needs to be copied into your Reader’s Notebook!! Put the date at the top of a new sheet!
Reading Between the Lines. By the end of the session  Understand what inference and deduction are.  Know why inference and deduction are important skills.
How to Fix Problem Sentences Fragments Run-ons Comma Splices.
CSC 594 Topics in AI – Natural Language Processing
Modeling Grammaticality
SYNTAX.
Coaching Course Visual
Natural Language Processing
Part I: Basics and Constituency
Chapter ten Pragmatics
Becoming A Reader compiled by Anne Snyder, Walter White
CSCI 5832 Natural Language Processing
What are Adjectives? Adjectives are modifiers. They modify nouns or pronouns. This means they tell us more about how a noun or pronoun looks or behaves.
Earley’s Algorithm (1970) Nice combo of our parsing ideas so far:
عمادة التعلم الإلكتروني والتعليم عن بعد
REACTION TIME LAB DAY 1 & 2.
Modeling Grammaticality
Probabilistic Parsing
Click HERE for intro video
Correlations and practicals
Presentation transcript:

Intro to NLP - J. Eisner1 Human Sentence Processing

Intro to NLP - J. Eisner2 Lexicalized Parsing  peel the apple on the towel  ambiguous  put the apple on the towel  put loves on (is the other reading even possible?)  put the apple on the towel in the box  VP[head=put]  V[head=put] NP PP  VP[head=put]  V[head=put] NP PP[head=on]  study the apple on the towel  study dislikes on (how can the PCFG express this?)  VP[head=study]  VP[head=study] PP[head=on]  study it on the towel  it dislikes on even more – PP can’t attach to pronoun

Intro to NLP - J. Eisner3 Lexicalized Parsing  the plan that Natasha would swallow  ambiguous between content of plan and relative clause  the plan that Natasha would snooze  snooze dislikes a direct object (plan)  the plan that Natasha would make  make likes a direct object (plan)  the pill that Natasha would swallow  pill can’t express a content-clause the way plan does  pill is a probable direct object for swallow  How to express these distinctions in a CFG or PCFG?

Intro to NLP - J. Eisner4 Human Performance: Self-Paced Reading Experiments Pretend you’re pressing a key to get each word:  The shop sold to the bank was quite old.  We included this sentence just to distract you.  The necklace sold to the bank was quite old.  The lawyer examined by the judge was silly.  The evidence examined by the judge was silly.

Intro to NLP - J. Eisner5 Human Performance: Self-Paced Reading Experiments  What happens to a self-paced reader when she goes down the garden path?  Eventually she has to backtrack.  That’s when she pauses: “point of disambiguation.”  The lawyer examined by the judge...  Why isn’t the second sentence a garden path:  The shop sold to the bank was quite old.  The necklace sold to the bank was quite old.  People are sensitive to frequency!

Intro to NLP - J. Eisner6 Big Human-Parsing Debate of the 1990’s: How Soon Does Semantics Come Into Play?  How fast is semantics? Use it constantly, or only as a last resort?  Hypothesis 1: Rely mainly on syntactic heuristics  Get a parse this way, then interpret it semantically  Backtrack & fix if we can’t finish the parse or it makes little semantic sense  Sample heuristic: When you build a PP, attach it to the most recently built thing you can  Sample heuristic: When an NP starts a sentence, it’s the subject  If true, people should backtrack on “the necklace sold to the bank was …”  Hypothesis 2: Rely mainly on syntactic probabilities using head words  Smarter version of hypothesis 1: “necklace” isn’t a common subject for “sell”  Explains why no backtracking on “the necklace sold to the bank was …”  Hypothesis 3: Consider full semantics of a constituent as soon as it’s built  Full interpretation as soon as we build a constituent  So semantic analysis and backtracking are never delayed  Garden paths result from genuinely ambiguous prefix, not slow semantics  Hypothesis 4: Consider full semantics of a constituent even before it’s built  Start interpreting a constituent before hearing it all  Semantics before syntax! (opposite of hypothesis 1)

Intro to NLP - J. Eisner7 Eye Tracking  Self-paced reading data too flaky to answer these questions.  Brain imaging is too slow and coarse.  Track people’s eye movements as they read.  They don’t backtrack on “the necklace sold to the bank was …”  Cleaner data; eliminates hypothesis 1.  But reading is an artificial task – people didn’t evolve to be good readers.

Intro to NLP - J. Eisner8 Eye Tracking  The eyes are the window to the soul.  You are constantly scanning your environment.  Why? Evolution!  highly accurate at jumping to objects  3-4 of these “saccades” per second on average  fast motion (90 degrees of arc in 100 millisec)  low latency – short wires connect eyes to brain

Intro to NLP - J. Eisner9 Head-Mounted Eye Tracker  Like looking into someone’s thoughts  As they happen, in a real environment!

Intro to NLP - J. Eisner10 Videotape  From Mike Tanenhaus’s lab – University of Rochester Eye camera Scene camera slide courtesy of M. Tanenhaus (modified)

Intro to NLP - J. Eisner11 The Visual World Paradigm look at the five of hearts look at the other five of hearts total time: 4.15 seconds (as shown on video) now put the five of hearts that is below the eight of clubs above the three of diamonds 

Intro to NLP - J. Eisner12 The Visual World Paradigm now put the five of hearts that is below the eight of clubs above the three of diamonds Subject looks at 5 shortly after point of disambiguation (underlined) – only one 5 below an 8 Where would point of disambiguation be if only one of the 5 was below something? What if both 5 were below an 8? (8 , 8  )

slide courtesy of M. Tanenhaus

(the video)

slide courtesy of M. Tanenhaus

Intro to NLP - J. Eisner16 PP Attachment Ambiguity Put the apple on the towel in the box. Only one apple  Garden Path Two apples  use PP to clarify which apple, no garden path slide courtesy of M. Tanenhaus (modified) Put the apple on the towel in the box.

One referent context slide courtesy of M. Tanenhaus garden path oops! backtrack

One referent context slide courtesy of M. Tanenhaus

Two-referent context slide courtesy of M. Tanenhaus amazing lack of oops

Intro to NLP - J. Eisner20 One-Referent Context put the apple on the towel in the box put the candy bar on the saucer in the bowl put the salt shaker on the envelope in the bowl Only one apple  Garden Path (same picture as before – as shown on video)

Intro to NLP - J. Eisner21 Processing at Syllable Level Don’t wait for constituent to finish Don’t even wait for word to finish! pick up the candy They’re already looking based on “can” – we know this because if there’s also a candle, they’re 50% likely to look at it first!

Intro to NLP - J. Eisner22 Processing Stress Information Touch the large red square. Touch the LARGE red square. what’s the point of disambiguation?