SlideShare a Scribd company logo
1 of 6
Download to read offline
CS474 Natural Language Processing             Semantic analysis
 Last class                                    Assigning meanings to linguistic utterances
  – History                                    Compositional semantics: we can derive the
  – Tiny intro to semantic analysis            meaning of the whole sentence from the
                                               meanings of the parts.
 Next lectures                                  – Max ate a green apple.
  – Word sense disambiguation                  Relies on knowing:
    » Background from linguistics               – the meaning of individual words
         Lexical semantics
                                                – how the meanings of individual words combine to form
    » On-line resources                           the meaning of groups of words
    » Computational approaches [next class]     – how it all fits in with syntactic analysis




Caveats                                       Introduction to lexical semantics
 Problems with a compositional approach        Lexical semantics is the study of
                                                – the systematic meaning-related connections among
  – a former congressman                          words and
  – a toy elephant                              – the internal meaning-related structure of each word
  – kicked the bucket                          Lexeme
                                                – an individual entry in the lexicon
                                                – a pairing of a particular orthographic and phonological
                                                  form with some form of symbolic meaning
                                                  representation
                                               Sense: the lexeme’s meaning component
                                               Lexicon: a finite list of lexemes
Lexical semantic relations:
Dictionary entries                                   homonymy
 right adj. located nearer the right hand esp.        Homonyms: words that have the same form and unrelated
                                                      meanings
 being on the right when facing the same direction     – Instead, a bank1 can hold the investments in a custodial account
 as the observer.                                        in the client’s name.
                                                       – But as agriculture burgeons on the east bank2, the river will shrink
 left adj. located nearer to this side of the body       even more.
 than the right.                                      Homophones: distinct lexemes with a shared
 red n. the color of blood or a ruby.                 pronunciation
                                                       – E.g. would and wood, see and sea.
 blood n. the red liquid that circulates in the       Homographs: identical orthographic forms, different
 heart, arteries and veins of animals.                pronunciations, and unrelated meanings
                                                       – The expert angler from Dora, Mo., was fly-casting for bass rather
                                                         than the traditional trout.
                                                       – The curtain rises to the sound of angry dogs baying and ominous
                                                         bass chords sounding.




Why do these distinctions matter?                    Lexical semantic relations: polysemy
 One type or another is more likely to affect         Polysemy: the phenomenon of multiple related
 specific NLP applications.                           meanings within a single lexeme
  – Spelling correction?                               – Example: While some banks furnish blood only to
                                                         hospitals, others are much less restrictive.
  – Speech recognition?                                – New sense, e.g. bank3?
                                                       – Polysemy allows us to associate a lexeme with a set of
                                                         related senses.
  – Text-to-speech?
                                                      Distinguishing homonymy from polysemy is not
                                                      always easy. Decision is based on:
  – Information retrieval?                             – Etymology: history of the lexemes in question
                                                       – Intuition of native speakers
Polysemous lexemes                                                      Polysemous lexemes
 For any given single lexeme we would like to be                         For any given single lexeme we would like
 able to answer the following questions:                                 to be able to answer the following
 – What distinct senses does it have?                                    questions:
 – How are these senses related?                                         – What distinct senses does it have?
 – How can they be reliably distinguished?                                  » generally rely on lexicographers
 Answers dictate how well semantic analyzers,                            – How are these senses related?
 search engines, NL generators, and MT systems                              » relatively little work in this area
 perform their tasks.                                                    – How can they be reliably distinguished?
                                                                            » this is the task of word sense disambiguation




How many word senses per
polysemous lexeme?                                                      Polysemous lexemes
 Use as many senses as necessary to account for all the                  For any given single lexeme we would like to be
 fine distinctions in meaning observed in some very large
 corpus of examples.
                                                                         able to answer the following questions:
 Too many senses                                                         – What distinct senses does it have?
 Example: serve                                                          – How are these senses related?
 – They rarely serve red meat, preferring to prepare seafood, poultry    – How can they be reliably distinguished?
   or game birds.
 – He served as U.S. ambassador to Norway in 1976 and 1977l.             Answers dictate how well semantic analyzers,
 – He might have served his time, come out and led an upstanding         search engines, NL generators, and MT systems
   life.
                                                                         perform their tasks.
 Zeugma: combine two separate uses of a lexeme into a
 single example using a conjunction
     » Which of those flights serve breakfast?
     » Does Midwest Express serve Philadelphia?
     » ?Does Midwest Express serve breakfast or Philadelphia?
How are these senses related?                 Metaphor
 Hasn’t received much attention from           Situations where we refer to, and reason about, concepts
                                               using words and phrases whose meanings are
 lexicographers                                appropriate to other completely different kinds of
                                               concepts.
 Important as systems begin to handle a        – Love is a rose. Time is money.
 wider variety of input texts…and encounter    Conventional metaphors
 novel uses of words                           – That doesn’t scare Digital, which has grown to be the world’s
                                                 second-largest computer maker by poaching customers of IBM’s
 – Metaphor                                      mid-range machines.
                                               – COMPANY AS PERSON metaphor
 – Metonymy                                    – Fuqua Industries Inc. said Triton Group Ltd., a company it helped
                                                 resuscitate, has begun acquiring Fuqua shares.
                                               – And Ford was hemorrhaging; its losses would hit $1.54 billion in
                                                 1980.




Metonymy                                      Computational approaches
 Situations where we denote a concept by       Convention-based approaches
                                               – Rely on formal representations of conventional metaphors and
 naming some other concept closely related       metonymies
 to it.                                        – Assumes that a small set of these will suffice
                                               – Semantic analysis applies them to figurative language
 – He likes Shakespeare.
                                               Reasoning-based approaches
    » AUTHOR FOR AUTHOR’S WORKS
                                               – View metaphor and metonymy interpretation as general analogical
 – The White House had no comment.               reasoning tasks rather than as problems specific to language
                                                 processing
    » PLACE FOR INSTITUTION
                                               – Assume that metaphors depend on inherent structural similarities
 – Give the coke to the ham sandwich.            between the meaning representations derived compositionally
                                                 from the input and the correct representations that capture the
    » ???                                        intended meaning of the input.
                                               No large-scale solutions to either problem to date.
Word sense disambiguation                                            CS474 Natural Language Processing
 Given a fixed set of senses associated with a                        Last class
 lexical item, determine which of them applies to a                    – History
 particular instance of the lexical item
                                                                       – Tiny intro to semantic analysis
 Two fundamental approaches
 – WSD occurs during semantic analysis as a side-effect               Next lectures
   of the elimination of ill-formed semantic representations           – Word sense disambiguation
 – Stand-alone approach                                                   » Background from linguistics
    » WSD is performed independent of, and prior to, compositional              Lexical semantics
      semantic analysis
                                                                          » On-line resources
    » Makes minimal assumptions about what information will be
      available from other NLP processes                                  » Computational approaches [next class]
    » Applicable in large-scale practical applications




WordNet                                                              Synonymy
 Handcrafted database of lexical relations                            Lexemes with the same meaning
 Three separate databases: nouns; verbs;                              Invoke the notion of substitutability
 adjectives and adverbs                                                – Two lexemes will be considered synonyms if they can
                                                                         be substituted for one another in a sentence without
 Each database is a set of lexical entries                               changing the meaning or acceptability of the sentence
 (according to unique orthographic forms)                                 » How big is that plane?
                                                                          » Would I be flying on a large or small plane?
 – Set of senses associated with each entry
                                                                          » Miss Nelson, for instance, became a kind of big sister to Mrs.
                                                                            Van Tassel’s son, Benjamin.
                                                                          » We frustrate ‘em and frustrate ‘em, and pretty soon they make
                                                                            a big mistake.
                                                                          » Also issues of register
                                                                                Social factors that surround the use of possible synonyms, e.g.
                                                                                politeness, group status.
Hyponymy                               Sample entry
 Pairings where one lexeme denotes a
 subclass of another
            vehicle (hypernym)



              car (hyponym)




Distribution of senses                 WordNet relations
 Zipf distribution of senses            Nouns



                                        Verbs



                                        Adjectives/adverbs

More Related Content

What's hot

Componential analysis and semantic decomposition
Componential analysis and semantic decompositionComponential analysis and semantic decomposition
Componential analysis and semantic decompositionRatna Nurhidayati
 
Derivational vs inflectional morphology
Derivational vs inflectional morphologyDerivational vs inflectional morphology
Derivational vs inflectional morphologyDr. Mohsin Khan
 
semantics the study of meaning
 semantics the study of meaning semantics the study of meaning
semantics the study of meaningYoshinta Debbi A
 
Systemic Functional Linguistics
Systemic Functional LinguisticsSystemic Functional Linguistics
Systemic Functional LinguisticsLaiba Yaseen
 
Transformational grammar
Transformational grammarTransformational grammar
Transformational grammarJack Feng
 
Lexical Relations in Semantic
Lexical Relations in SemanticLexical Relations in Semantic
Lexical Relations in SemanticAyu Monita
 
Semantic roles
Semantic rolesSemantic roles
Semantic rolesBuhsra
 
Presupposition
PresuppositionPresupposition
PresuppositionAyesha Mir
 
Semantics relationships
Semantics relationshipsSemantics relationships
Semantics relationshipscuesta512
 
Systemic Functional Grammar
Systemic Functional Grammar Systemic Functional Grammar
Systemic Functional Grammar Sugeng Hariyanto
 
Presentation generative-transformational grammar
Presentation generative-transformational grammar Presentation generative-transformational grammar
Presentation generative-transformational grammar Nailun Naja
 

What's hot (20)

Reference and inference
Reference and inferenceReference and inference
Reference and inference
 
Semantic Roles
Semantic Roles Semantic Roles
Semantic Roles
 
Componential analysis and semantic decomposition
Componential analysis and semantic decompositionComponential analysis and semantic decomposition
Componential analysis and semantic decomposition
 
Derivational vs inflectional morphology
Derivational vs inflectional morphologyDerivational vs inflectional morphology
Derivational vs inflectional morphology
 
Syntactic analysis.pptx
Syntactic analysis.pptxSyntactic analysis.pptx
Syntactic analysis.pptx
 
semantics the study of meaning
 semantics the study of meaning semantics the study of meaning
semantics the study of meaning
 
Systemic Functional Linguistics
Systemic Functional LinguisticsSystemic Functional Linguistics
Systemic Functional Linguistics
 
Transformational grammar
Transformational grammarTransformational grammar
Transformational grammar
 
Lexical Relations in Semantic
Lexical Relations in SemanticLexical Relations in Semantic
Lexical Relations in Semantic
 
Pragmatics
PragmaticsPragmatics
Pragmatics
 
Semantic roles
Semantic rolesSemantic roles
Semantic roles
 
Reference and sense
Reference and senseReference and sense
Reference and sense
 
Presupposition
PresuppositionPresupposition
Presupposition
 
Phrase structure grammar
Phrase structure grammarPhrase structure grammar
Phrase structure grammar
 
Semantics
SemanticsSemantics
Semantics
 
Semantics relationships
Semantics relationshipsSemantics relationships
Semantics relationships
 
Semantics
SemanticsSemantics
Semantics
 
Generative grammar
Generative grammarGenerative grammar
Generative grammar
 
Systemic Functional Grammar
Systemic Functional Grammar Systemic Functional Grammar
Systemic Functional Grammar
 
Presentation generative-transformational grammar
Presentation generative-transformational grammar Presentation generative-transformational grammar
Presentation generative-transformational grammar
 

Similar to Lexical Semantics+Wsd1

Deep structure and surface structure.pptx
Deep structure and surface structure.pptxDeep structure and surface structure.pptx
Deep structure and surface structure.pptxSubramanian Mani
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of LanguageJeffren Miguel
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)Adriana Rodriguez
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)Adriana Rodriguez
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)Adriana Rodriguez
 
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwash
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwashMethaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwash
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwashDr. Karrar Alwash
 
INTRODUCTION TO SEMANTIC
INTRODUCTION TO SEMANTIC INTRODUCTION TO SEMANTIC
INTRODUCTION TO SEMANTIC Anisa Asharie
 
What is poetics, by stein haugom
What is poetics, by stein haugomWhat is poetics, by stein haugom
What is poetics, by stein haugomMariane Farias
 
The Different Theories of Semantics
The Different Theories of Semantics The Different Theories of Semantics
The Different Theories of Semantics Nusrat Nishat
 
Information technologies of cognitive thesauri design
Information technologies of cognitive thesauri designInformation technologies of cognitive thesauri design
Information technologies of cognitive thesauri designPhilippovich Andrey
 
Language in cognitive psychology
Language in cognitive psychologyLanguage in cognitive psychology
Language in cognitive psychologyAli Bahrani
 
Introduction to Linguistics: Semantics
Introduction to Linguistics: SemanticsIntroduction to Linguistics: Semantics
Introduction to Linguistics: Semanticsjulitakenny
 
Add Style to Your Writing Without Sacrificing Clarity
Add Style to Your Writing Without Sacrificing ClarityAdd Style to Your Writing Without Sacrificing Clarity
Add Style to Your Writing Without Sacrificing ClarityRomina Marazzato Sparano
 

Similar to Lexical Semantics+Wsd1 (20)

Semantics
SemanticsSemantics
Semantics
 
Deep structure and surface structure.pptx
Deep structure and surface structure.pptxDeep structure and surface structure.pptx
Deep structure and surface structure.pptx
 
Semantics
SemanticsSemantics
Semantics
 
Semantics: The Meaning of Language
Semantics: The Meaning of LanguageSemantics: The Meaning of Language
Semantics: The Meaning of Language
 
37552.ppt
37552.ppt37552.ppt
37552.ppt
 
Xavier Blanco
Xavier BlancoXavier Blanco
Xavier Blanco
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)
 
1 introduction to the study of language (1)
1  introduction to the study of language (1)1  introduction to the study of language (1)
1 introduction to the study of language (1)
 
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwash
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwashMethaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwash
Methaphor in english language الدكتور كرار رأفت علوش Dr. karrar raafat alwash
 
INTRODUCTION TO SEMANTIC
INTRODUCTION TO SEMANTIC INTRODUCTION TO SEMANTIC
INTRODUCTION TO SEMANTIC
 
What is poetics, by stein haugom
What is poetics, by stein haugomWhat is poetics, by stein haugom
What is poetics, by stein haugom
 
The Different Theories of Semantics
The Different Theories of Semantics The Different Theories of Semantics
The Different Theories of Semantics
 
Semantic vs Pragmatics
Semantic vs PragmaticsSemantic vs Pragmatics
Semantic vs Pragmatics
 
SEMANTICS
SEMANTICS SEMANTICS
SEMANTICS
 
Information technologies of cognitive thesauri design
Information technologies of cognitive thesauri designInformation technologies of cognitive thesauri design
Information technologies of cognitive thesauri design
 
Language in cognitive psychology
Language in cognitive psychologyLanguage in cognitive psychology
Language in cognitive psychology
 
Introduction to Linguistics: Semantics
Introduction to Linguistics: SemanticsIntroduction to Linguistics: Semantics
Introduction to Linguistics: Semantics
 
Today The Properties
Today The PropertiesToday The Properties
Today The Properties
 
Add Style to Your Writing Without Sacrificing Clarity
Add Style to Your Writing Without Sacrificing ClarityAdd Style to Your Writing Without Sacrificing Clarity
Add Style to Your Writing Without Sacrificing Clarity
 

More from Dr. Cupid Lucid

Teaching English for specific purposes
Teaching English for specific purposesTeaching English for specific purposes
Teaching English for specific purposesDr. Cupid Lucid
 
Science and approaches of science
Science and approaches of scienceScience and approaches of science
Science and approaches of scienceDr. Cupid Lucid
 
Content Analysis vs secondary analysis
Content Analysis vs secondary analysisContent Analysis vs secondary analysis
Content Analysis vs secondary analysisDr. Cupid Lucid
 
Basic elements of scientific concepts
Basic elements of scientific  conceptsBasic elements of scientific  concepts
Basic elements of scientific conceptsDr. Cupid Lucid
 
Types of educational_research
Types of educational_researchTypes of educational_research
Types of educational_researchDr. Cupid Lucid
 
History of english literature sajid
History of english literature sajidHistory of english literature sajid
History of english literature sajidDr. Cupid Lucid
 
A guide to_writing_research_papers
A guide to_writing_research_papersA guide to_writing_research_papers
A guide to_writing_research_papersDr. Cupid Lucid
 
101 masterpieces of literature in english
101 masterpieces of literature in english101 masterpieces of literature in english
101 masterpieces of literature in englishDr. Cupid Lucid
 
National Curriculum of English Grade I-XII
National Curriculum of English Grade I-XIINational Curriculum of English Grade I-XII
National Curriculum of English Grade I-XIIDr. Cupid Lucid
 
The Linguistic Variables
The Linguistic VariablesThe Linguistic Variables
The Linguistic VariablesDr. Cupid Lucid
 
Research Proposal Methoo
Research Proposal MethooResearch Proposal Methoo
Research Proposal MethooDr. Cupid Lucid
 

More from Dr. Cupid Lucid (20)

Teaching English for specific purposes
Teaching English for specific purposesTeaching English for specific purposes
Teaching English for specific purposes
 
Science and approaches of science
Science and approaches of scienceScience and approaches of science
Science and approaches of science
 
Content Analysis vs secondary analysis
Content Analysis vs secondary analysisContent Analysis vs secondary analysis
Content Analysis vs secondary analysis
 
Basic elements of scientific concepts
Basic elements of scientific  conceptsBasic elements of scientific  concepts
Basic elements of scientific concepts
 
Observational methods
Observational methodsObservational methods
Observational methods
 
Types of educational_research
Types of educational_researchTypes of educational_research
Types of educational_research
 
Types of research
Types of researchTypes of research
Types of research
 
Types of Research
Types of ResearchTypes of Research
Types of Research
 
Literature what is it
Literature what is itLiterature what is it
Literature what is it
 
History of english literature sajid
History of english literature sajidHistory of english literature sajid
History of english literature sajid
 
A guide to_writing_research_papers
A guide to_writing_research_papersA guide to_writing_research_papers
A guide to_writing_research_papers
 
What isliterature
What isliteratureWhat isliterature
What isliterature
 
101 masterpieces of literature in english
101 masterpieces of literature in english101 masterpieces of literature in english
101 masterpieces of literature in english
 
National Curriculum of English Grade I-XII
National Curriculum of English Grade I-XIINational Curriculum of English Grade I-XII
National Curriculum of English Grade I-XII
 
The Linguistic Variables
The Linguistic VariablesThe Linguistic Variables
The Linguistic Variables
 
Term Paper
Term PaperTerm Paper
Term Paper
 
Syllabus Designing
Syllabus DesigningSyllabus Designing
Syllabus Designing
 
Semiotics Final
Semiotics FinalSemiotics Final
Semiotics Final
 
Research Proposal Methoo
Research Proposal MethooResearch Proposal Methoo
Research Proposal Methoo
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Lexical Semantics+Wsd1

  • 1. CS474 Natural Language Processing Semantic analysis Last class Assigning meanings to linguistic utterances – History Compositional semantics: we can derive the – Tiny intro to semantic analysis meaning of the whole sentence from the meanings of the parts. Next lectures – Max ate a green apple. – Word sense disambiguation Relies on knowing: » Background from linguistics – the meaning of individual words Lexical semantics – how the meanings of individual words combine to form » On-line resources the meaning of groups of words » Computational approaches [next class] – how it all fits in with syntactic analysis Caveats Introduction to lexical semantics Problems with a compositional approach Lexical semantics is the study of – the systematic meaning-related connections among – a former congressman words and – a toy elephant – the internal meaning-related structure of each word – kicked the bucket Lexeme – an individual entry in the lexicon – a pairing of a particular orthographic and phonological form with some form of symbolic meaning representation Sense: the lexeme’s meaning component Lexicon: a finite list of lexemes
  • 2. Lexical semantic relations: Dictionary entries homonymy right adj. located nearer the right hand esp. Homonyms: words that have the same form and unrelated meanings being on the right when facing the same direction – Instead, a bank1 can hold the investments in a custodial account as the observer. in the client’s name. – But as agriculture burgeons on the east bank2, the river will shrink left adj. located nearer to this side of the body even more. than the right. Homophones: distinct lexemes with a shared red n. the color of blood or a ruby. pronunciation – E.g. would and wood, see and sea. blood n. the red liquid that circulates in the Homographs: identical orthographic forms, different heart, arteries and veins of animals. pronunciations, and unrelated meanings – The expert angler from Dora, Mo., was fly-casting for bass rather than the traditional trout. – The curtain rises to the sound of angry dogs baying and ominous bass chords sounding. Why do these distinctions matter? Lexical semantic relations: polysemy One type or another is more likely to affect Polysemy: the phenomenon of multiple related specific NLP applications. meanings within a single lexeme – Spelling correction? – Example: While some banks furnish blood only to hospitals, others are much less restrictive. – Speech recognition? – New sense, e.g. bank3? – Polysemy allows us to associate a lexeme with a set of related senses. – Text-to-speech? Distinguishing homonymy from polysemy is not always easy. Decision is based on: – Information retrieval? – Etymology: history of the lexemes in question – Intuition of native speakers
  • 3. Polysemous lexemes Polysemous lexemes For any given single lexeme we would like to be For any given single lexeme we would like able to answer the following questions: to be able to answer the following – What distinct senses does it have? questions: – How are these senses related? – What distinct senses does it have? – How can they be reliably distinguished? » generally rely on lexicographers Answers dictate how well semantic analyzers, – How are these senses related? search engines, NL generators, and MT systems » relatively little work in this area perform their tasks. – How can they be reliably distinguished? » this is the task of word sense disambiguation How many word senses per polysemous lexeme? Polysemous lexemes Use as many senses as necessary to account for all the For any given single lexeme we would like to be fine distinctions in meaning observed in some very large corpus of examples. able to answer the following questions: Too many senses – What distinct senses does it have? Example: serve – How are these senses related? – They rarely serve red meat, preferring to prepare seafood, poultry – How can they be reliably distinguished? or game birds. – He served as U.S. ambassador to Norway in 1976 and 1977l. Answers dictate how well semantic analyzers, – He might have served his time, come out and led an upstanding search engines, NL generators, and MT systems life. perform their tasks. Zeugma: combine two separate uses of a lexeme into a single example using a conjunction » Which of those flights serve breakfast? » Does Midwest Express serve Philadelphia? » ?Does Midwest Express serve breakfast or Philadelphia?
  • 4. How are these senses related? Metaphor Hasn’t received much attention from Situations where we refer to, and reason about, concepts using words and phrases whose meanings are lexicographers appropriate to other completely different kinds of concepts. Important as systems begin to handle a – Love is a rose. Time is money. wider variety of input texts…and encounter Conventional metaphors novel uses of words – That doesn’t scare Digital, which has grown to be the world’s second-largest computer maker by poaching customers of IBM’s – Metaphor mid-range machines. – COMPANY AS PERSON metaphor – Metonymy – Fuqua Industries Inc. said Triton Group Ltd., a company it helped resuscitate, has begun acquiring Fuqua shares. – And Ford was hemorrhaging; its losses would hit $1.54 billion in 1980. Metonymy Computational approaches Situations where we denote a concept by Convention-based approaches – Rely on formal representations of conventional metaphors and naming some other concept closely related metonymies to it. – Assumes that a small set of these will suffice – Semantic analysis applies them to figurative language – He likes Shakespeare. Reasoning-based approaches » AUTHOR FOR AUTHOR’S WORKS – View metaphor and metonymy interpretation as general analogical – The White House had no comment. reasoning tasks rather than as problems specific to language processing » PLACE FOR INSTITUTION – Assume that metaphors depend on inherent structural similarities – Give the coke to the ham sandwich. between the meaning representations derived compositionally from the input and the correct representations that capture the » ??? intended meaning of the input. No large-scale solutions to either problem to date.
  • 5. Word sense disambiguation CS474 Natural Language Processing Given a fixed set of senses associated with a Last class lexical item, determine which of them applies to a – History particular instance of the lexical item – Tiny intro to semantic analysis Two fundamental approaches – WSD occurs during semantic analysis as a side-effect Next lectures of the elimination of ill-formed semantic representations – Word sense disambiguation – Stand-alone approach » Background from linguistics » WSD is performed independent of, and prior to, compositional Lexical semantics semantic analysis » On-line resources » Makes minimal assumptions about what information will be available from other NLP processes » Computational approaches [next class] » Applicable in large-scale practical applications WordNet Synonymy Handcrafted database of lexical relations Lexemes with the same meaning Three separate databases: nouns; verbs; Invoke the notion of substitutability adjectives and adverbs – Two lexemes will be considered synonyms if they can be substituted for one another in a sentence without Each database is a set of lexical entries changing the meaning or acceptability of the sentence (according to unique orthographic forms) » How big is that plane? » Would I be flying on a large or small plane? – Set of senses associated with each entry » Miss Nelson, for instance, became a kind of big sister to Mrs. Van Tassel’s son, Benjamin. » We frustrate ‘em and frustrate ‘em, and pretty soon they make a big mistake. » Also issues of register Social factors that surround the use of possible synonyms, e.g. politeness, group status.
  • 6. Hyponymy Sample entry Pairings where one lexeme denotes a subclass of another vehicle (hypernym) car (hyponym) Distribution of senses WordNet relations Zipf distribution of senses Nouns Verbs Adjectives/adverbs