11/30/2015CPSC503 Winter 20081 CPSC 503 Computational Linguistics Lecture 12 Giuseppe Carenini.

Slides:



Advertisements
Similar presentations
Building Wordnets Piek Vossen, Irion Technologies.
Advertisements

CMSC 723: Intro to Computational Linguistics November 24, 2004 Lecture 12: Lexical Semantics Bonnie Dorr Christof Monz.
CPSC 422, Lecture 23Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 23 Mar, 9, 2015 Slide credit: Probase Microsoft Research Asia,
Semantics Chapter 5.
Statistical NLP: Lecture 3
Steven Schoonover.  What is VerbNet?  Levin Classification  In-depth look at VerbNet  Evolution of VerbNet  What is FrameNet?  Applications.
Linguistic Theory Lecture 8 Meaning and Grammar. A brief history In classical and traditional grammar not much distinction was made between grammar and.
Chapter 17. Lexical Semantics From: Chapter 17 of An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, by.
Reference & Denotation Connotation Sense Relations
The Dimensions of Meaning
Computational Semantics Ling 571 Deep Processing Techniques for NLP February 7, 2011.
1 Words and the Lexicon September 10th 2009 Lecture #3.
CS 4705 Relations Between Words. Today Word Clustering Words and Meaning Lexical Relations WordNet Clustering for word sense discovery.
Introduction to Semantics To be able to reason about the meanings of utterances, we need to have ways of representing the meanings of utterances. A formal.
A STUDY ON THE KNOWLEDGE SOURCES OF TURKISH EFL LEARNERS IN LEXICAL INFERENCING İlknur İSTİFÇİ Anadolu University Eskişehir, TURKEY Eskişehir, TURKEY.
November 20, 2003 Chapter 16 Lexical Semantics. Words have structured meanings Lexeme – a pairing of a form with a sense Orthographic form – the way the.
Semantics Ling 571 Fei Xia Week 6: 11/1-11/3/05. Outline Meaning representation: what formal structures should be used to represent the meaning of a sentence?
Lecture Lexical Semantics CS 4705.
CS 4705 Lexical Semantics. Today Words and Meaning Lexical Relations WordNet Thematic Roles Selectional Restrictions Conceptual Dependency.
Meaning and Language Part 1.
Session 8 Lexical Semantic
SI485i : NLP Set 10 Lexical Relations slides adapted from Dan Jurafsky and Bill MacCartney.
Empirical Methods in Information Extraction Claire Cardie Appeared in AI Magazine, 18:4, Summarized by Seong-Bae Park.
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
PropBank, VerbNet & SemLink Edward Loper. PropBank 1M words of WSJ annotated with predicate- argument structures for verbs. –The location & type of each.
CPSC 503 Computational Linguistics
Automatic Lexical Annotation Applied to the SCARLET Ontology Matcher Laura Po and Sonia Bergamaschi DII, University of Modena and Reggio Emilia, Italy.
Based on “Semi-Supervised Semantic Role Labeling via Structural Alignment” by Furstenau and Lapata, 2011 Advisors: Prof. Michael Elhadad and Mr. Avi Hayoun.
Unit Five Semantics, Study of Meaning
Semantics: Semantic Grammar & Information Extraction CMSC Natural Language Processing May 13, 2003.
Jennie Ning Zheng Linda Melchor Ferhat Omur. Contents Introduction WordNet Application – WordNet Data Structure - WordNet FrameNet Application – FrameNet.
Lexical Semantics Chapter 16
CS 4705 Lecture 19 Word Sense Disambiguation. Overview Selectional restriction based approaches Robust techniques –Machine Learning Supervised Unsupervised.
11 Chapter 19 Lexical Semantics. 2 Lexical Ambiguity Most words in natural languages have multiple possible meanings. –“pen” (noun) The dog is in the.
Linguistic Essentials
LECTURE 2: SEMANTICS IN LINGUISTICS
Wordnet - A lexical database for the English Language.
WordNet Enhancements: Toward Version 2.0 WordNet Connectivity Derivational Connections Disambiguated Definitions Topical Connections.
Ontology Engineering: from Cognitive Science to the Semantic Web Maria Teresa Pazienza University of Roma Tor Vergata, Italy 1.
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
Word Meaning and Similarity
Supertagging CMSC Natural Language Processing January 31, 2006.
CPSC 422, Lecture 27Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27 Nov, 16, 2015.
Lecture 19 Word Meanings II Topics Description Logic III Overview of MeaningReadings: Text Chapter 189NLTK book Chapter 10 March 27, 2013 CSCE 771 Natural.
Knowledge Structure Vijay Meena ( ) Gaurav Meena ( )
Word Meaning and Similarity Word Senses and Word Relations.
Overview of Statistical NLP IR Group Meeting March 7, 2006.
Semantics Lecture 5. Semantics Language uses a system of linguistic signs, each of which is a combination of meaning and phonological and/or orthographic.
SEMANTICS Chapter 10 Ms. Abrar Mujaddidi. What is semantics?  Semantics is the study of the conventional meaning conveyed by the use of words, phrases.
Statistical NLP: Lecture 3
Ontology Engineering: from Cognitive Science to the Semantic Web
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
ArtsSemNet: From Bilingual Dictionary To Bilingual Semantic Network
CSCI 5832 Natural Language Processing
Lecture 16: Lexical Semantics, Wordnet, etc
CSC 594 Topics in AI – Applied Natural Language Processing
CPSC 503 Computational Linguistics
CPSC 503 Computational Linguistics
Reference & Denotation Connotation Sense Relations
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
CPSC 503 Computational Linguistics
Linguistic Essentials
CPSC 503 Computational Linguistics
CPSC 503 Computational Linguistics
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 23
Lecture 19 Word Meanings II
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 23
CPSC 503 Computational Linguistics
Structure of a Lexicon Debasri Chakrabarti 13-May-19.
Relations Between Words
Presentation transcript:

11/30/2015CPSC503 Winter CPSC 503 Computational Linguistics Lecture 12 Giuseppe Carenini

11/30/2015CPSC503 Winter Semantic Analysis Syntax-driven Semantic Analysis Sentence Literal Meaning Discourse Structure Meanings of words Meanings of grammatical structures Context Common-Sense Domain knowledge Intended meaning Further Analysis INFERENCEINFERENCE

11/30/2015CPSC503 Winter Word Meaning in Syntax-driven SA –PropNoun -> AyCaramba –MassNoun -> meat Attachments {AyCaramba} {MEAT} assigning constants Verb -> serves lambda-form NLTK book: Chp 11. Logical Semantics (90% complete)

11/30/2015CPSC503 Winter Today 20/10 How much it is missed by this narrow view! Relations among words and their meanings Internal structure of individual words

11/30/2015CPSC503 Winter Word Meaning Theory –Paradigmatic: the external relational structure among words –Syntagmatic: the internal structure of words that determines how they can be combined with other words

11/30/2015CPSC503 Winter Word? Lexeme: – Orthographic form + – Phonological form + – symbolic Meaning representation (sense) –Lexicon: A collection of lexemes content?duck? bank? Lemma? Stem?

11/30/2015CPSC503 Winter Dictionary Repositories of information about the meaning of words, but….. Most of the definitions are circular… ?? They are descriptions…. Fortunately, there is still some useful semantic info (Lexical Relations): L 1, L 2 same O and P, different M L 1, L 2 “same” M, different O L 1, L 2 “opposite” M L 1, L 2, M 1 subclass of M 1 Homonymy Synonymy Antonymy Hyponymy

11/30/2015CPSC503 Winter Homonymy Def. Lexemes that have the same “forms” but unrelated meanings –Examples : Bat (wooden stick-like thing) vs. Bat (flying scary mammal thing) Plant (…….) vs. Plant (………) Homophones wood/would Homographs content/content Homonyms

11/30/2015CPSC503 Winter Homonymy: NLP Tasks Information retrieval: QUERY: bat Spelling correction: homophones can lead to real-word spelling errors Text-to-Speech: Homographs (which are not homophones)

11/30/2015CPSC503 Winter Polysemy Def. The case where we have a set of lexemes with the same form and multiple related meanings. Consider the homonym: bank  commercial bank 1 vs. river bank 2 Now consider: “A PCFG can be trained using derivation trees from a tree bank annotated by human experts” Is this a new independent sense of bank?

11/30/2015CPSC503 Winter Polysemy Lexeme (new def.): – Orthographic form + Phonological form + – Set of related senses How many distinct (but related) senses? –They serve meat… –He served as Dept. Head… –She served her time…. Different subcat Intuition (prison) –Does AC serve vegetarian food? –Does AC serve Rome? –(?)Does AC serve vegetarian food and Rome? Zeugma

11/30/2015CPSC503 Winter Synonyms Would I be flying on a large/big plane? Def. Different lexemes with the same meaning. Substitutability- if they can be substituted for one another in some environment without changing meaning or acceptability. ?… became kind of a large/big sister to… ? You made a large/big mistake

11/30/2015CPSC503 Winter Hyponymy –Since dogs are canids Dog is a hyponym of canid and Canid is a hypernym of dog Def. Pairings where one lexeme denotes a subclass of the other car/vehicle doctor/human

11/30/2015CPSC503 Winter Lexical Resources Databases containing all lexical relations among all lexemes WordNet: most well-developed and widely used [Fellbaum… 1998] –for English (versions for other languages have been developed – see MultiWordNet) Development: –Mining info from dictionaries and thesauri –Handcrafting it from scratch

11/30/2015CPSC503 Winter WordNet 3.0 For each lemma : all possible senses (no distinction between homonymy and polysemy) For each sense: a set of synonyms (synset) and a gloss POSUnique StringsSynsetsWord-Sense Pairs Noun Verb Adjective Adverb Totals

11/30/2015CPSC503 Winter WordNet: table entry The noun "table" has 6 senses in WordNet. 1. table, tabular array -- (a set of data …) 2. table -- (a piece of furniture …) 3. table -- (a piece of furniture with tableware…) 4. mesa, table -- (flat tableland …) 5. table -- (a company of people …) 6. board, table -- (food or meals …) The verb "table" has 1 sense in WordNet. 1. postpone, prorogue, hold over, put over, table, shelve, set back, defer, remit, put off – (hold back to a later time; "let's postpone the exam")

11/30/2015CPSC503 Winter WordNet Relations fi

11/30/2015CPSC503 Winter WordNet Hierarchies: example WordNet: example from ver1.7.1 Sense 3: Vancouver  (city, metropolis, urban center)  (municipality)  (urban area)  (geographical area)  (region)  (location)  (entity, physical thing)  (administrative district, territorial division)  (district, territory)  (region)  (location  (entity, physical thing)  (port)  (geographic point)  (point)  (location)  (entity, physical thing)

11/30/2015CPSC503 Winter Wordnet: NLP Tasks Probabilistic Parsing (PP-attachments): words + word-classes extracted from the hypernym hierarchy increase accuracy from 84% to 88% [Stetina and Nagao, 1997] Word sense disambiguation (next class) Lexical Chains (summarization) Express Selectional Preferences for verbs ………

11/30/2015CPSC503 Winter Today Outline How much it is missed by this narrow view! Relations among words and their meanings Internal structure of individual words

11/30/2015CPSC503 Winter Predicate-Argument Structure Represent relationships among concepts Some words act like arguments and some words act like predicates: –Nouns as concepts or arguments: red(ball) –Adj, Adv, Verbs as predicates: red(ball) “I ate a turkey sandwich for lunch”  w: Isa(w,Eating)  Eater(w,Speaker)  Eaten(w,TurkeySandwich)  MealEaten(w,Lunch) “AyCaramba serves meat”  w: Isa(w,Serving)  Server(w,Speaker)  Served(w,Meat)

11/30/2015CPSC503 Winter Semantic Roles –Def. Semantic generalizations over the specific roles that occur with specific verbs. –I.e. eaters, servers, takers, givers, makers, doers, killers, all have something in common –We can generalize (or try to) across other roles as well

11/30/2015CPSC503 Winter Thematic Roles: Usage Syntax-driven Semantic Analysis Sentence Literal Meaning expressed with thematic roles Intended meaning Further Analysis Support “more abstract” INFERENCE Constraint Generation Eg. Instrument “with” Eg. Subject? Eg. Result did not exist before

11/30/2015CPSC503 Winter Thematic Role Examples fl fi

11/30/2015CPSC503 Winter Thematic Roles fi –Not definitive, not from a single theory!

11/30/2015CPSC503 Winter Problem with Thematic Roles NO agreement of what should be the standard set NO agreement on formal definition Fragmentation problem: when you try to formally define a role you end up creating more specific sub-roles Two solutions Generalized semantic roles Define verb (or class of verbs) specific semantic roles

11/30/2015CPSC503 Winter Generalized Semantic Roles Very abstract roles are defined heuristically as a set of conditions The more conditions are satisfied the more likely an argument fulfills that role Proto-Agent –Volitional involvement in event or state –Sentience (and/or perception) –Causing an event or change of state in another participant –Movement (relative to position of another participant) –(exists independently of event named) Proto-Patient –Undergoes change of state –Incremental theme –Causally affected by another participant –Stationary relative to movement of another participant –(does not exist independently of the event, or at all)

11/30/2015CPSC503 Winter Semantic Roles: Resources Databases containing for each verb its syntactic and thematic argument structures (see also VerbNet) PropBank: sentences in the Penn Treebank annotated with semantic roles Roles are verb-sense specific Arg0 (PROTO-AGENT), Arg1(PROTO- PATIENT), Arg2,…….

11/30/2015CPSC503 Winter PropBank Example Increase “go up incrementally” –Arg0: causer of increase –Arg1: thing increasing –Arg2: amount increase by –Arg3: start point –Arg4: end point PropBank semantic role labeling would identify common aspects among these three examples “ Y performance increased by 3% ” “ Y performance was increased by the new X technique ” “ The new X technique increased performance of Y”

11/30/2015CPSC503 Winter Semantic Roles: Resources Move beyond inferences about single verbs (book online Version 1.3 Printed August 25, 2006) –for English (versions for other languages are under development) FrameNet: Databases containing frames and their syntactic and semantic argument structures “ IBM hired John as a CEO ” “ John is the new IBM hire ” “ IBM signed John for 2M$”

11/30/2015CPSC503 Winter FrameNet Entry Hiring Definition: An Employer hires an Employee, promising the Employee a certain Compensation in exchange for the performance of a job. The job may be described either in terms of a Task or a Position in a Field. Lexical Units: commission.n, commission.v, give job.v, hire.n, hire.v, retain.v, sign.v, take on.v Inherits From: Intentionally affect

11/30/2015CPSC503 Winter FrameNet Annotations np-vpto –In 1979, singer Nancy Wilson HIRED him to open her nightclub act. –…. np-ppas –Castro has swallowed his doubts and HIRED Valenzuela as a cook in his small restaurant. EmployerEmployeeTaskPosition Some roles.. Includes counting: How many times a role was expressed with a particular syntactic structure…

11/30/2015CPSC503 Winter Summary Relations among words and their meanings Internal structure of individual words Wordnet FrameNet PropBank

11/30/2015CPSC503 Winter Next Time Read Chp. 20 Computational Lexical Semantics Word Sense Disambiguation Word Similarity Semantic Role Labeling