Word Meaning and Similarity Word Senses and Word Relations.

Slides:



Advertisements
Similar presentations
Clustering Art & Learning the Semantics of Words and Pictures Manigantan Sethuraman.
Advertisements

CMSC 723: Intro to Computational Linguistics November 24, 2004 Lecture 12: Lexical Semantics Bonnie Dorr Christof Monz.
Topic 5: sense Introduction to Semantics. Definition The sense of an expression is its indispensable hard core of meaning. The sum of sense properties.
Lexical Semantics and Word Senses Hongning Wang
Word Relations and Word Sense Disambiguation
Lexical Semantics Chapter 19
Chapter 17. Lexical Semantics From: Chapter 17 of An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, by.
Word Sense Disambiguation Ling571 Deep Processing Techniques for NLP February 23, 2011.
CS 4705 Relations Between Words. Today Word Clustering Words and Meaning Lexical Relations WordNet Clustering for word sense discovery.
1 Wordnet and word similarity Lectures 11 and 12.
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.
Markov Model Based Classification of Semantic Roles A Final Project in Probabilistic Methods in AI Course Submitted By: Shlomit Tshuva, Libi Mann and Noam.
1 LING 62n Winter 2008 LINGUIST 62n Language and Food Background Lecture: Word Meaning Jan 17, 2008 Dan Jurafsky.
Lecture Lexical Semantics CS 4705.
Using Information Content to Evaluate Semantic Similarity in a Taxonomy Presenter: Cosmin Adrian Bejan Philip Resnik Sun Microsystems Laboratories.
Word Meaning and Similarity
LSA 311 Computational Lexical Semantics
Synonyms, Antonyms, & Homonyms SPI: Select appropriate synonyms, antonyms, and homonyms within context Determine correct meaning/usage of.
Introduction to linguistics II
Session 8 Lexical Semantic
Instructor: Nick Cercone CSEB -
SI485i : NLP Set 10 Lexical Relations slides adapted from Dan Jurafsky and Bill MacCartney.
WORDNET Approach on word sense techniques - AKILAN VELMURUGAN.
Lexical Semantics CSCI-GA.2590 – Lecture 7A
1 CS 224U Autumn 2007 CS 224U LINGUIST 288/188 Natural Language Understanding Jurafsky and Manning Lecture 2: WordNet, word similarity, and sense relations.
It’s just a matter of…. SEMANTICS. Words can “contain” 2 types of meaning – Conceptual Basic, essential components of meaning conveyed by the literal.
APPLIED LINGUISTICS AMBIGUITY. LOOK AT THIS: WHAT IS AMBIGUITY? A word, phrase, or sentence is ambiguous if it has more than one meaning, in other words.
Multi-Prototype Vector Space Models of Word Meaning __________________________________________________________________________________________________.
Semantics.
Computing with a Thesaurus Word Senses and Word Relations.
1 Query Operations Relevance Feedback & Query Expansion.
Teaching Vocabulary What is vocabulary ? Vocabulary can be defined as the words we teach in the foreign language. Vocabulary is the glue that holds stories,
Paper Review by Utsav Sinha August, 2015 Part of assignment in CS 671: Natural Language Processing, IIT Kanpur.
WORD SENSE DISAMBIGUATION STUDY ON WORD NET ONTOLOGY Akilan Velmurugan Computer Networks – CS 790G.
Lexical Semantics Chapter 16
WordNet: Connecting words and concepts Christiane Fellbaum Cognitive Science Laboratory Princeton University.
WordNet: Connecting words and concepts Peng.Huang.
Unsupervised Word Sense Disambiguation REU, Summer, 2009.
Semantics Continued… Meaning Relationships Entailments Maxims of Conversation.
LEXICAL RELATIONS Presented by ‘the big family’ group 3 Rauwan Harahap (Opung) Riza Nirmala Putri Salmah Silih Warni Siti Anifah Siti Juariyah.
Wordnet - A lexical database for the English Language.
1 LING 62n Autumn 2008 LINGUIST 62n Language and Food Background Lecture: Word Meaning Oct 2, 2008 Dan Jurafsky.
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
The meaning of Language Chapter 5 Semantics and Pragmatics Week10 Nov.19 th -23 rd.
Using Semantic Relatedness for Word Sense Disambiguation
Word Meaning and Similarity
Determining Meaning You can use a dictionary for many things. A dictionary can tell you what words mean. It can tell you how to pronounce, or say, words.
NATURAL LANGUAGE PROCESSING Zachary McNellis. Overview  Background  Areas of NLP  How it works?  Future of NLP  References.
CSE Introduction to Computational Linguistics Tuesdays, Thursdays 14:30-16:00 – South Ross 101 Fall Semester, 2011 Instructor: Nick Cercone
Slang. Informal verbal communication that is generally unacceptable for formal writing.
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
Semantics Nuha Alwadaani. Semantics Semantics is the study of the meaning of words, phrases and sentences. Conceptual meaning: covers those basic, essential.
Lexical Semantics and Word Senses Hongning Wang
SEMANTICS Chapter 10 Ms. Abrar Mujaddidi. What is semantics?  Semantics is the study of the conventional meaning conveyed by the use of words, phrases.
Chapter 7 Semantics. Semantics: the study of meaning in language lexical semantics: the study of how words mean sentence semantics: What is ‘studying.
Chapter 3 Word Meaning.
English Lexical Semantics
Semantics: The Analysis of Meaning
LEXICAL RELATIONS Presented by ‘the big family’ group 3
Lecture 2: WordNet, word similarity, and sense relations
Web News Sentence Searching Using Linguistic Graph Similarity
LEXICAL RELATIONS IN DISCOURSE
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
CSCI 5832 Natural Language Processing
CSC 594 Topics in AI – Applied Natural Language Processing
An Introduction to Linguistics
Information Organization: Clustering
Word Relations Slides adapted from Dan Jurafsky, Jim Martin and Chris Manning.
Denotative meaning and translation issues
Relations Between Words
Presentation transcript:

Word Meaning and Similarity Word Senses and Word Relations

Dan Jurafsky Reminder: lemma and wordform A lemma or citation form Same stem, part of speech, rough semantics A wordform The “inflected” word as it appears in text WordformLemma banksbank sungsing duermesdormir

Dan Jurafsky Lemmas have senses One lemma “bank” can have many meanings: …a bank can hold the investments in a custodial account… “…as agriculture burgeons on the east bank the river will shrink even more ” Sense (or word sense) A discrete representation of an aspect of a word’s meaning. The lemma bank here has two senses 1 2 Sense 1: Sense 2:

Dan Jurafsky Homonymy Homonyms: words that share a form but have unrelated, distinct meanings: 1.Homographs (bank/bank, bat/bat):same spelling,same/different pronunciation, different meaning 1.bank 1 : financial institution, bank 2 : sloping land 2.bat 1 : club for hitting a ball, bat 2 : nocturnal flying mammal 3.bass 1 ( بيس ): stringed instrument, bass 2 ( باس ): fish 2.Homophones: different spelling, same pronunciation, different meaning 1.Write and right 2.Piece and peace Spelling/pronunciation

Dan Jurafsky Homonymy causes problems for NLP applications 1.Information retrieval If user search for “ bat care” Problem: you do not know whether user looking for bat(mammal) or bat(for basball) 2.Machine Translation (MT) bat : translate to (animal) or translate to (baseball) 3.Text-to-Speech bass (stringed instrument) vs. bass (fish)

Dan Jurafsky Polysemy 1. I withdrew the money from the bank 2. The bank was constructed in 1875 out of local red brick. Are those the same sense? Sense 2: “A financial institution” Sense 1: “The building belonging to a financial institution” A polysemous word has related meanings bank is a polysemous word Most non-rare words have multiple meanings

Dan Jurafsky Lots of types of polysemy are systematic School, university, hospital All can mean the institution or the building. A systematic relationship: Building Institution Other such kinds of systematic polysemy: Author ( Jane Austen wrote Emma ) Works of Author ( I love Jane Austen ) Tree (Plums have beautiful blossoms) Fruit (I ate a preserved plum) Metonymy or Systematic Polysemy: A systematic relationship between senses

Dan Jurafsky How do we know when a word has more than one sense? The “zeugma” test: Two senses of serve ? Which flights serve breakfast? Does Lufthansa serve Philadelphia? “Zeugma” test say: Let form sentence using both senses of “serve” above and see how is bad it sounds.so, let is write the following sentence: Does Lufthansa serve breakfast and Philadelphia? Since this conjunction sounds weird, we say that these are two different senses of “serve”

Dan Jurafsky Synonyms Word that have the same meaning in some or all contexts. couch / sofa big / large automobile / car vomit / throw up Two lexemes are perfect synonyms if they can be substituted for each other in all situations

Dan Jurafsky Synonyms But there are few (or no) examples of perfect synonymy. Even if many aspects of meaning are identical Still may not preserve the acceptability based on notions of politeness, slang, register, genre, etc. Example: Water/H 2 0 Big/large (let see if they are perfect synonymy or not) Brave/courageous

Dan Jurafsky Synonymy is a relation between senses rather than words Consider the words big and large Are they synonyms? YES How big is that plane? How large is that plane? How about here: NO Miss Nelson became a kind of big sister to Benjamin. Miss Nelson became a kind of large sister to Benjamin. They are Synonyms but not perfect synonyms Why not perfect synonyms? big has a sense that means being older, or grown up large lacks this sense

Dan Jurafsky Antonyms Senses that are opposites with respect to one feature of meaning dark/light short/long fast/slowrise/fall hot/cold up/down More formally: antonyms can define different scales long/short, fast/slow Define different directions: rise/fall, up/down

Dan Jurafsky Hyponymy and Hypernymy One sense is a hyponym (“hypo is sub”)of another if the first sense is more specific, denoting a subclass of the other. Examples: car is a hyponym of vehicle mango is a hyponym of fruit Conversely hypernym/superordinate (“hyper is super”) Examples: vehicle is a hypernym of car fruit is a hypernym of mango Superordinate/hypernymvehiclefruitfurniture Subordinate/hyponymcarmangochair

Dan Jurafsky Hyponymy more formally Extensional: The class denoted by the superordinate extensionally includes the class denoted by the hyponym Entailment: A sense A is a hyponym of sense B if being an A entails being a B Hyponymy is usually transitive (A hypo B and B hypo C entails A hypo C) Another name: the IS-A hierarchy A IS-A B (or A ISA B) B subsumes A

Dan Jurafsky Hyponyms and Instances WordNet has both classes and instances. An instance is an individual, a proper noun that is a unique entity San Francisco is an instance of city But city is a class city is a hyponym of...location... 15

Word Meaning and Similarity Word Similarity: Thesaurus Methods

Dan Jurafsky Word Similarity Synonymy: a binary relation Two words are either synonymous or not Similarity (or distance): a looser metric Two words are more similar if they share more features of meaning Similarity is properly a relation between senses The word “ bank ” is not similar to the word “ slope ” Bank 1 is similar to fund 3 Bank 2 is similar to slope 5 But we’ll compute similarity over both words and senses

Dan Jurafsky Why word similarity Information retrieval Question answering Machine translation Natural language generation Language modeling Automatic essay grading Plagiarism detection Document clustering

Dan Jurafsky Word similarity and word relatedness We often distinguish word similarity from word relatedness Similar words: near-synonyms Related words: can be related any way car, bicycle : similar car, gasoline : related, not similar

Dan Jurafsky Two classes of similarity algorithms Thesaurus-based algorithms Are words “nearby” in hypernym hierarchy? Do words have similar glosses (definitions)? Distributional algorithms Do words have similar distributional contexts?

Dan Jurafsky Path based similarity Two concepts (senses/synsets) are similar if they are near each other in the thesaurus hierarchy = have a short path between them concepts have path 1 to themselves

Dan Jurafsky Refinements to path-based similarity pathlen(c 1,c 2 ) = 1 + number of edges in the shortest path in the hypernym graph between sense nodes c 1 and c 2 ranges from 0 to 1 (identity) simpath(c 1,c 2 ) = wordsim(w 1,w 2 ) = max sim(c 1,c 2 ) c 1  senses(w 1 ),c 2  senses(w 2 )

Dan Jurafsky Example: path-based similarity simpath(c 1,c 2 ) = 1/pathlen(c 1,c 2 ) simpath(nickel,coin) = 1/2 =.5 simpath(fund,budget) = 1/2 =.5 simpath(nickel,currency) = 1/4 =.25 simpath(nickel,money) = 1/6 =.17 simpath(coinage,Richter scale) = 1/6 =.17