Pragmatics I: Reference resolution Ling 571 Fei Xia Week 7: 11/8/05.

Slides:



Advertisements
Similar presentations
Referring Expressions: Definition Referring expressions are words or phrases, the semantic interpretation of which is a discourse entity (also called referent)
Advertisements

Pronouns and Reference Resolution CS 4705 Julia Hirschberg CS 4705.
Specialized models and ranking for coreference resolution Pascal Denis ALPAGE Project Team INRIA Rocquencourt F Le Chesnay, France Jason Baldridge.
Semantics (Representing Meaning)
Discourse Analysis David M. Cassel Natural Language Processing Villanova University April 21st, 2005 David M. Cassel Natural Language Processing Villanova.
Unit 6 Predicates, Referring Expressions, and Universe of Discourse Part 1: Practices 1-7.
Processing of large document collections Part 6 (Text summarization: discourse- based approaches) Helena Ahonen-Myka Spring 2006.
1 Discourse, coherence and anaphora resolution Lecture 16.
Discourse Martin Hassel KTH NADA Royal Institute of Technology Stockholm
1/18 Dialogue systems R Mitkov (ed.) The Oxford Handbook of Computational Linguistics, Oxford (2004): OUP – Chapters 6 ( “ Discourse ” Allan Ramsay), 7.
Anaphora Resolution Spring 2010, UCSC – Adrian Brasoveanu [Slides based on various sources, collected over a couple of years and repeatedly modified –
Chapter 18: Discourse Tianjun Fu Ling538 Presentation Nov 30th, 2006.
Reference Resolution #1 CSCI-GA.2590 Ralph Grishman NYU.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Discourse and Dialogue.
Discourse: Reference Ling571 Deep Processing Techniques for NLP March 2, 2011.
CS 4705 Algorithms for Reference Resolution. Anaphora resolution Finding in a text all the referring expressions that have one and the same denotation.
Final Review CS4705 Natural Language Processing. Semantics Meaning Representations –Predicate/argument structure and FOPC Thematic roles and selectional.
CS 4705 Lecture 21 Algorithms for Reference Resolution.
Natural Language Generation Martin Hassel KTH CSC Royal Institute of Technology Stockholm
CS 4705 Pronouns and Reference Resolution. Gracie: Oh yeah... and then Mr. and Mrs. Jones were having matrimonial trouble, and my brother was hired to.
CS 4705 Lecture 20 Reference. Pragmatics Context-dependent meaning Jeb Bush was helped by his brother and so was Frank Lautenberg. Mike Bloomberg bet.
1 Pragmatics: Discourse Analysis J&M’s Chapter 21.
Reference and inference By: Esra’a Rawah
Designed by Elisa Paramore
Pronouns and Reference Resolution CS  HW3 deadline extended to Wednesday, Nov. 25 th at 11:58 pm  Michael Collins will talk Thursday, Dec. 3 rd.
A Light-weight Approach to Coreference Resolution for Named Entities in Text Marin Dimitrov Ontotext Lab, Sirma AI Kalina Bontcheva, Hamish Cunningham,
LIN1180/LIN5082 Semantics Lecture 3
Level 1: The Parts of Speech
1 Computational Discourse Chapter 21 November 2012 Lecture #15.
1 Natural Language Processing Computational Discourse.
Fall 2005 Lecture Notes #7 EECS 595 / LING 541 / SI 661 Natural Language Processing.
Parts of Speech. Noun 0 Names a person, place, thing, or idea 0 Common Noun: girl, shoe, dog 0 Proper Noun: Julie, Nike, Labrador Retreiver 0 If you an.
ASPECTS OF LINGUISTIC COMPETENCE 4 SEPT 09, 2013 – DAY 6 Brain & Language LING NSCI Harry Howard Tulane University.
Differential effects of constraints in the processing of Russian cataphora Kazanina and Phillips 2010.
Binding Theory Describing Relationships between Nouns.
1 CS3730/ISP3120 Discourse Processing and Pragmatics Lecture Notes Jan 10, 12.
Discourse Read J & M Chapter More than One Sentence at a Time The alphas have a long-standing hatred of the betas. Their leaders have decided that.
Pronouns.   Common Noun  Person, place, or thing  Proper noun  The specific name of a person or place  Article  Identifies a noun as a noun  Definite:
Parts of Speech Notes. Part of Speech: Nouns  A naming word  Names a person, place, thing, idea, living creature, quality, or idea Examples: cowboy,
Pronouns 6 th grade Language Arts. Pronouns Takes the place of a noun Replace a noun with a pronoun to avoid using the same nouns over and over and over.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 24, April 3, 2007.
Grammar Fix Part 1. Pronouns What are they? Words that take the place of a noun How many can you think of? There are many, but they fall in to Five main.
Grammar Unit II: Pronouns Lesson 1 Personal Pronouns (Pronouns that are friendly!)
Reference Resolution. Sue bought a cup of coffee and a donut from Jane. She met John as she left. He looked at her enviously as she drank the coffee.
Coherence and Coreference Introduction to Discourse and Dialogue CS 359 October 2, 2001.
1 Natural Language Processing Chapter Outline Reference –Kinds of reference phenomena –Constraints on co-reference –Preferences for co-reference.
English Language Arts Level 7 #39 Ms. Walker. Today’s Objectives Subject-Verb Agreement.
Eight Parts of Speech NounsAdverb PronounsConjunction VerbPreposition AdjectiveInterjection.
Pronoun Types personal, possessive, reflexive, relative, demonstrative, indefinite and reciprocal.
Reference Resolution CMSC Discourse and Dialogue September 30, 2004.
The 8 Parts of Speech Pronouns.
Parts of Speech Pronouns. Basic Definition A pronoun is a word that is used in place of a noun or another pronoun. Most pronouns have an antecedent An.
SEMANTICS Referring Expression.
KINDS OF PRONOUNS IDENTIFYING PRONOUNS AND THEIR FUNCTIONS FRANCIS ALEXANDER.
Reference Resolution CMSC Natural Language Processing January 15, 2008.
ARTICLE What is an article in English language? An article is a word that combines with a noun to indicate the type of reference being made by the noun.
Pronouns Types of Pronouns. Pronoun A word that takes the place of a noun.
Unit 1 Language Parts of Speech. Nouns A noun is a word that names a person, place, thing, or idea Common noun - general name Proper noun – specific name.
Fall 2004 Lecture Notes #8 EECS 595 / LING 541 / SI 661 Natural Language Processing.
Pronouns Chapter 8. Pronouns - Basics A pronoun is used in place of a noun. The noun it refers to is called an antecedent. I read a book. It was good.
Reference. “John went to the candy store to shop for chocolate.” “He bought some.”
Discourse Analysis Natural Language Understanding basis
Referring Expressions: Definition
Pronouns Pronoun: a word used in place of one or more nouns
Lecture 17: Discourse: Anaphora Resolution and Coherence
Anaphora Resolution Spring 2010, UCSC – Adrian Brasoveanu
Algorithms for Reference Resolution
CS4705 Natural Language Processing
Pronouns.
Pronouns.
Presentation transcript:

Pragmatics I: Reference resolution Ling 571 Fei Xia Week 7: 11/8/05

Outline Discourse: a related group of sentences –Ex: articles, dialogue, …. Pragmatics: the study of the relation between language and context-of-use –Reference resolution –Discourse structure

Reference resolution

Some terms: referents, referring expression Discourse model Types of referring expression Types of referents Constraints and preference for reference resolution Some algorithms for reference resolution

Some terms Ex: John bought a book yesterday. He thought it was cheap. Referring expression: the expression used to refer to an entity: –Ex: John, a book, he, it Referent: an entity that is referred to.

Some Terms (cont) Co-reference: two or more referring expressions refer to the same entity: e.g., “John” and “he”. –Antecedents: a referring expression that licenses the use of others. Ex. John –Anaphora: reference to an entity that has been previous introduced. Ex: he

Discourse Model A discourse model stores the representations of entities that have been referred to in the discourse and the relationships in which they participate. Two operations: –Evoke: first mention –Access: subsequence mention

John He Refer (evoke) Refer (access) Corefer

Five types of referring expressions Indefinite NPs: a car Definite NPs: the car Pronouns: it Demonstratives: this, that One-anaphora: one

Indefinite NPs Introduce entities that are new to the hearer The entity may or may not be identifiable to the speaker: –I saw an Acura today. (Specific reading) –I am going to the dealership to buy an Acura today. (specific or non-specific) I hope that they still have it. (Specific) I hope that they have a car I like. (non-specific)

Definite NPs Identifiable to the hearer –I saw an Acura today. The Acura … (explicitly mentioned before in the context) –The Eagles …. (the hearer’s knowledge about the world) –The largest company in Seattle announced … (inherently unique)

Pronouns Pronouns refer to something that is identifiable to the hearer. The referent must have a high degree of salience in the discourse model. Pronouns can participate in cataphora, in which they appear before their referents. –Ex: Before he bought it, John checked over the Acura very carefully.

Demonstratives Demonstratives refer to something that is identifiable to the hearer. They are used alone or as a determiner: –Ex: I want this. I want this car. “this” indicating closeness, “that” signaling distance: spatial/temporal distance.

One-anaphora “One”  “One of them” It selects a member from a set that is identifiable to the hearer. Ex: –He had a BMW before, now he got another one. –Is he the one? –You like this one, or that one? –John has two BMWs, but I have only one. –One should not pay more than 20K for a Camry.

Five types of referring expressions Indefinite NPs: a car Definite NPs: the car Pronouns: it Demonstratives: this, that One-anaphora: one Next question: what do a referring expression refers to?

Types of referents Ex: According to John, Bob bought Sue a BMW, and Sue bought Bob a Honda. –But that turned out to be a lie. (speech act) –But that was false. (proposition) –That caused Bob to become rather poor. (event) –That caused them both to become rather poor. (combination of events)

Inferrables Explicitly evoked in the text: John bought a car. Inferrables: inferrentially related to an evoked entity. –Whole-part: I almost bought a BMW today, but a door had a dent and the engine seemed noisy. –The results of action: Mix the flour and water, kneed the dough until smooth. –…

Discontinuous sets Plural references may refer to entities that have been evoked separately. Ex: –John has an Acura, and Mary has a Mazda. They drive them all the time. (pairwise reading)

Generics Generic references: individual  generic Ex: I saw six BMWs today. They are the coolest cars.

John He Refer (evoke) Refer (access) Corefer

Constraints and preferences for reference resolution Constraints (filters): –Agreement: number, person, gender –Syntax: reflexives –Semantics: selectional restrictions Preferences: –Salience –Parallelism –Verb semantics

Agreement Number: –(1) John bought a BMW. –(2a) It is great. –(2b) They are great. –(2c) ??They are red. Person: –(1) John and I have BMWs. –(2a) We love them. –(2b) They love them.

Agreement (cont) Gender: she, he, it. –(1) John looked at the new ship. –(2) She was beautiful. –(1’) Mary looked at the new ship. –(2) She was beautiful.

Syntactic constraints Reflexives and personal pronouns. –John bought himself a car. –John bought him a car. –John wrapped a blanket around himself. –John wrapped a blanket around him.

Semantic constraints Selectional restrictions –(1) John parked his car in the garage. –(2a) He had driven it around for hours. –(2b) It is very messy, with old bike and car parts lying around everywhere. –(1) John parked his Acura in downtown Beverly Hills. –(2) It is very messy, with old bikes and car parts lying around everywhere.

Preferences in pronoun interpretation Saliency: –Recency –Grammatical role –Repeated Mention Parallelism Verb semantics

Saliency Recency: –John has an Integra. …Bill has a BMW. Mary likes to drive it. Grammatical role: –John went the dealership with Bill. He bought a car. Repeated mention: –John needed a car. He decided to get a BMW. Bill went to the dealership with him. He bought one.

Parallelism Mary went with Sue to the Acura dealership. Sally went with her to the Mazda dealership.

Verb semantics John telephoned Bill. He lost the pamphlet on BMWs. John seized the pamphlet to Bill. He loves reading about cars. The car dealer admired John. He knows Acuras inside and out.  Thematic roles or world knowledge? criticized impressed passed

Constraints and preferences for reference resolution Hard-and-fast constraints (filters): –Agreement: number, person, case, gender –Syntax: reflexives –Semantics: selectional restrictions Preferences: –Saliency: recency, thematic roles, repeated mention –Parallelism –Verb semantics: thematic roles or world knowledge

Algorithms for pronoun resolution Heuristics approaches: –Lappin & Leass (1994) –Hobbs (1978) –Centering Theory (Grosz, Joshi, Weinstein 1995, and various) Machine learning approaches

Lappin & Leass 1994 A heuristic approach. Use agreement and syntactic constraints. Represent preferences (saliency, parallelism) with weights. Not using: selectional restrictions, verb semantics, world knowledge.

Salience factors and weights Sentence recency: 100 Subject: 80 Existential position: 70 –There is a car …. Direct object: 50 Indirect object: 40 Non-adv: 50 –Inside his car, John ….. Head noun of max NP: 80 –The manual for the car is …

The algorithm Start with an empty set of referents. Process each sentence –For each referring expression Calculate the salience value of the expression. If it could be merged with existing referents then choose the referent with the highest saliency value else add it as a new referent. Update the value of the corresponding referent. –Cut the values of all the referents by half.

An example John saw a beautiful Acura at the dealership. RecSubjObjNon- adv Head noun Total John Acura dealer ship

Before moving on to the 2 nd sentence ReferentReferring expressions Value John{John}155 Acura{Acura}140 dealership{dealership}115

Handling “He” He showed it to Bob. The value of “He” is 310 ReferentReferring expressions Value John{John}155 Acura{Acura}140 dealership{dealership}115

After adding “he” He showed it to Bob. ReferentReferring expressions Value John{John, he}465 Acura{Acura}140 dealership{dealership}115

Handling “it” He showed it to Bob. The salience value of “it” is 280. Two new factors: –Role parallelism: 35 –Cataphora (??): -175 ReferentExpressionsValue John{John, he}465 Acura{Acura}140 dealership{dealership}115

After adding “it” He showed it to Bob. The salience value of “it” is 280. Two new factors: –Role parallelism: 35 –Cataphora (??): -175 ReferentExpressionsValue John{John, he}465 Acura{Acura, it} =455 dealership{dealership}115

Handling “Bob” He showed it to Bob. The salience value of “Bob” is 270. ReferentExpressionsValue John{John, he}465 Acura{Acura, it}455 dealership{dealership}115

After adding “Bob” He showed it to Bob. The salience value of “Bob” is 270. ReferentExpressionsvalue John{John, he}465 Acura{Acura, it}455 Bob{Bob}270 dealership{dealership}115

Moving on to the 3 rd sentence He bought it. ReferentExpressionsvalue John{John, he}232.5 Acura{Acura, it}227.5 Bob{Bob}135 dealership{dealership}57.5  He (John) bought it (Acura).

Core of the algorithm For each referring expression –Calculate the saliency value, x. –Collect all the referents that comply with agreement and syntactic constraints. –If the set is not empty, choose the one with the highest salience value, and increase the reference value by x. –If the set is empty, add a new referent to the discourse model, and set its value to x.

Algorithms for reference resolution Heuristics approaches: –Lappin & Leass (1994) –Hobbs (1978) –Centering Theory (Grosz, Joshi, Weinstein 1995, and various) Machine learning approaches

Summary of reference resolution Some terms: referents, referring expression Discourse model Types of referring expression Types of referents Constraints and preference for reference resolution Some algorithms for reference resolution