From Syntax to Semantics

Slides:



Advertisements
Similar presentations
Computational language: week 10 Lexical Knowledge Representation concluded Syntax-based computational language Sentence structure: syntax Context free.
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Natural Language Processing Lecture 2: Semantics.
ICE1341 Programming Languages Spring 2005 Lecture #6 Lecture #6 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
0 Montague Grammar EECS Fall 2004 Amy Kao. 1 Montague Grammar Maps syntactic structure with semantic structure Uses formal language to describe.
COMP 4060 Natural Language Processing Semantics. Semantics Semantics I  General Introduction  Types of Semantics  From Syntax to Semantics Semantics.
Ontology From Wikipedia, the free encyclopedia In philosophy, ontology (from the Greek oν, genitive oντος: of being (part. of εiναι: to be) and –λογία:
GRAMMAR & PARSING (Syntactic Analysis) NLP- WEEK 4.
Toward Linguistically Grounded Ontologies by Paul Buitelaar, Philipp Cimiano, Peter Haase, and Michael Sintek (Ireland, Netherlands, Germany) presented.
Interlingua-based MT Interlingua-based Machine Translation Syntactic transfer-based MT – Couples the syntax of the two languages What if we abstract.
LTAG Semantics on the Derivation Tree Presented by Maria I. Tchalakova.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Semantics.
NLP and Speech 2004 Semantics I Semantics II
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
NLP and Speech 2004 Feature Structures Feature Structures and Unification.
Artificial Intelligence 2005/06 From Syntax to Semantics.
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Introduction to Lexical Semantics Vasileios Hatzivassiloglou University of Texas at Dallas.
PSY 369: Psycholinguistics Some basic linguistic theory part3.
 2003 CSLI Publications Ling 566 Oct 16, 2007 How the Grammar Works.
Translation Divergence LING 580MT Fei Xia 1/10/06.
Meaning and Language Part 1.
THAT’S JUST SEMANTICS Katie Welch, PhD LING
10 December, 2013 Katrin Heinze, Bundesbank CEN/WS XBRL CWA1: DPM Meta model CWA1Page 1.
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
February 2009Introduction to Semantics1 Logic, Representation and Inference Introduction to Semantics What is semantics for? Role of FOL Montague Approach.
Feature structures and unification Attributes and values.
Chapter 6 System Engineering - Computer-based system - System engineering process - “Business process” engineering - Product engineering (Source: Pressman,
Chapter 4 System Models A description of the various models that can be used to specify software systems.
Methodology - Conceptual Database Design Transparencies
CSE S. Tanimoto Lambda Calculus 1 Lambda Calculus What is the simplest functional language that is still Turing complete? Where do functional languages.
November 2003CSA4050: Semantics I1 CSA4050: Advanced Topics in NLP Semantics I What is semantics for? Role of FOL Montague Approach.
SOCIO-COGNITIVE APPROACHES TO TESTING AND ASSESSMENT
1 Natural Language Processing Lecture Notes 11 Chapter 15 (part 1)
SEMANTIC ANALYSIS WAES3303
An Intelligent Analyzer and Understander of English Yorick Wilks 1975, ACM.
Definition of a taxonomy “System for naming and organizing things into groups that share similar characteristics” Taxonomy Architectures Applications.
Chapter 7 System models.
Methodology - Conceptual Database Design
Unit-1 Introduction Prepared by: Prof. Harish I Rathod
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Parsing Introduction Syntactic Analysis I. Parsing Introduction 2 The Role of the Parser The Syntactic Analyzer, or Parser, is the heart of the front.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 4.
Semantic Construction lecture 2. Semantic Construction Is there a systematic way of constructing semantic representation from a sentence of English? This.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
Combining Lexical Resources: Mapping Between PropBank and VerbNet Edward Loper,Szu-ting Yi, Martha Palmer September 2006.
Element Level Semantic Matching Pavel Shvaiko Meaning Coordination and Negotiation Workshop, ISWC 8 th November 2004, Hiroshima, Japan Paper by Fausto.
1Ellen L. Walker Category Recognition Associating information extracted from images with categories (classes) of objects Requires prior knowledge about.
Knowledge Representation
Content for Today and Next Wednesday Development from infancy to adulthood Concept of Development Modal model for describing cognitive processes Perception.
Levels of Linguistic Analysis
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
 2003 CSLI Publications Ling 566 Oct 17, 2011 How the Grammar Works.
Human-Assisted Machine Annotation Sergei Nirenburg, Marjorie McShane, Stephen Beale Institute for Language and Information Technologies University of Maryland.
NATURAL LANGUAGE PROCESSING
Removing the Language Barrier Machine Translation And Digital Libraries.
Language = Syntax + Semantics + Vocabulary
Requirements Specification
Business System Development
SysML 2.0 Formalism: Requirement Benefits, Use Cases, and Potential Language Architectures Formalism WG December 6, 2016.
SysML v2 Formalism: Requirements & Benefits
Unified Modeling Language
Survey of Knowledge Base Content
CSC 594 Topics in AI – Applied Natural Language Processing
Levels of Linguistic Analysis
SYNTAX DIRECTED DEFINITION
COMPILER CONSTRUCTION
Presentation transcript:

From Syntax to Semantics How to get from Form to Meaning in Two different ways

What is meaning? Connection (grounding) in something outside itself Mental concept (ideas) Objects and events in the world (true/false) Some combination of the above Ultimately – the success of the program in which it is embedded

Principle of Compositionality The meaning of the whole is derived from the meaning of the parts and the manner of their combination {John, kiss, Sally} John kissed Sally. Sally kissed John.

Semantics -- For our purposes Formal representational language that represents the “manner of combination” Lexicon that connects lexical items with some externally grounded object, the “meaning of the parts”

Two approaches Logical Interlingual To some extent complementary Language of formal logic Model (set) theoretic grounding Interlingual Specially-developed InterLingual (IL) Representation Ontology to represent word meaning To some extent complementary

Logical approach Predicate calculus and model theory PLUS Extra stuff to handle some of the complexities of natural language, such as (Scope) Every man loves a woman. (Generics) Dogs have four legs. (Specificity) John wants to marry a Norwegian. (Intension) What if all bald men are tall? (Roles) The temperature is ninety and rising.

Logical approach – λ calculus Key idea: semantic construction parallels syntactic construction John = john’ sleep = sleep’ John is sleeping = sleep’(john’) sleep = λx[sleep’(x)] John is sleeping = λx[sleep’(x)](john’) Lambda conversion = sleep’(john’)

Logical approach – possible worlds Instead of one model – many models Each model is a “possible world” – one is designated as “real” Temporal logic Modal logic Intensional logic

IL approach Developed in the context of Machine Translation Interested in word sense disambiguation The pig is in the pen. The ink is in the pen. Non-literal language: metonymy/metaphor “The White House reported today that …” “The business opened its doors in 1928.” Inferencing for translation mismatches

IL approach An Ontology, a language-independent classification of objects, event, relations A Semantic Lexicon, which connects lexical items to nodes (concepts) in the ontology An analyzer that constructs IL representations and selects (an?) appropriate one

IL approach – Ontology A classification tree in which mother node contains all below it, and daughter nodes are distinct (is-a links) Complications: expandable to a lattice, with non-exclusive daughter nodes Inheritable features and relations (now looks more like a dictionary) “Instances” can hang from bottom nodes (providing grounding)

Semantic lexicon Provides a syntactic context for the appearance of the lexical item Provides a mapping for the lexical item to a node in the ontology Or more complex associations Also providing connections from syntactic context to semantic roles And constraints on these roles

Deriving basic semantic dependency (a toy example) Input: John makes tools Syntactic Analysis: cat verb tense present subject   root john cat noun-proper object   root     tool cat noun number plural

Relevant parts of the (appropriate sense of the lexical entry for make) make-v1 syn-struc root make cat v subj root $var1 cat n object root $var2 cat n sem-struc manufacturing-activity agent ^$var1 theme ^$var2

Relevant Extract from the Specification of the Ontological Concept Used to Describe the Appropriate Meaning of make: manufacturing-activity ... agent human theme artifact …

Relevant parts of the (appropriate senses of the) lexicon entries for John and tool John-n1 syn-struc root john cat noun-proper sem-struc human name john gender male tool-n1 syn-struc root tool cat n sem-struc tool

The basic semantic dependency component of the TMR for John makes tools is as follows: … manufacturing-activity-7 agent human-3 theme set-1 element tool cardinality > 1

try-v3 syn-struc root try cat v subj root $var1 cat n xcomp root $var2 form OR infinitive gerund sem-struc set-1 element-type refsem-1 cardinality >=1 refsem-1 sem event agent ^$var1 effect refsem-2 modality modality-type epiteuctic modality-scope refsem-2 modality-value < 1 refsem-2 value ^$var2 sem event

Constructing an IL representation For each syntactic analysis Access all semantic mappings and contexts for each lexical item Create all possible semantic representations Test them for coherency of structure and content

“Why is Iraq developing weapons of mass destruction?”

Concluding question Is all this really necessary? Do we need it to do – Machine Translation, IR, IE, Q/A, summarization? Can we “ground” the symbols of language without a special representation of the “meaning”?

Word sense disambiguation Constraint checking – making sure the constraints imposed on context are met Graph traversal – is-a links are inexpensive Other links are more expensive The “cheapest” structure is the most coherent Hunter-gatherer processing