Dr. Rogelio Dávila Pérez Formal Semantics for Natural language.

Slides:



Advertisements
Similar presentations
Problems of syntax-semantics interface ESSLLI 02 Trento.
Advertisements

Computational Semantics Aljoscha Burchardt, Alexander Koller, Stephan Walter, Universität des Saarlandes,
Natural Language Processing Syntax. Syntactic structure John likes Mary PN VtVt NP VP S DetPNVtVt NP VP S Every man likes Mary Noun.
First-Order Logic (and beyond)
CSA4050: Advanced Topics in NLP Semantics IV Partial Execution Proper Noun Adjective.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
CSA2050: DCG IV1 CSA2050: Definite Clause Grammars IV Handling Gaps II Semantic Issues.
SEMANTICS.
Chapter 4 Syntax.
0 Montague Grammar EECS Fall 2004 Amy Kao. 1 Montague Grammar Maps syntactic structure with semantic structure Uses formal language to describe.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
SYNTAX Introduction to Linguistics. BASIC IDEAS What is a sentence? A string of random words? If it is a sentence, does it have to be meaningful?
Knowledge Representation Methods
School of Computing and Mathematics, University of Huddersfield CAS810: WEEK 3 LECTURE: LAMBDA CALCULUS PRACTICAL/TUTORIAL: (i) Do exercises given out.
Discourse Representation Theory: An overview Part I: The linguistic problem.
CAS LX a. A notational holiday. Sets A set is a collection of entities of any kind. They can be finite: {√2, John Saeed, 1984}. They can be infinite:
Semantic Composition with -DRT Christof Rumpf Heinrich-Heine-Universität Düsseldorf
Compositional Logical Semantics Torbjörn Lager Department of Linguistics Stockholm University.
PRAGMATICS. 3- Pragmatics is the study of how more gets communicated than is said. It explores how a great deal of what is unsaid is recognized. 4.
LING 364: Introduction to Formal Semantics Lecture 5 January 26th.
Meaning and Language Part 1.
Models of Generative Grammar Smriti Singh. Generative Grammar  A Generative Grammar is a set of formal rules that can generate an infinite set of sentences.
Corpus Linguistics Formal vs. Distributional Semantics Anca Dinu, University of Bucharest, February, 2013.
February 2009Introduction to Semantics1 Logic, Representation and Inference Introduction to Semantics What is semantics for? Role of FOL Montague Approach.
October 2004csa4050: Semantics II1 CSA4050: Advanced Topics in NLP Semantics II The Lambda Calculus Semantic Representation Encoding in Prolog.
Language and Culture Prof. R. Hickey SoSe 2006 How language works
CAS LX 502 Semantics 3a. A formalism for meaning (cont ’ d) 3.2, 3.6.
LIN1180/LIN5082 Semantics Lecture 3
Introduction to Linguistics
1 Words and rules Linguistics lecture #2 October 31, 2006.
1 4 Dummett’s Frege. 2 The Background The mentalist conception The mentalist conception It is a code conception of language (telepathy doesn’t need language).
IV. SYNTAX. 1.1 What is syntax? Syntax is the study of how sentences are structured, or in other words, it tries to state what words can be combined with.
1st-order Predicate Logic (FOL)
November 2003CSA4050: Semantics I1 CSA4050: Advanced Topics in NLP Semantics I What is semantics for? Role of FOL Montague Approach.
SYNTAX Lecture -1 SMRITI SINGH.
Introduction to Quantification Chapter 9 Language, Proof and Logic.
3) In your opinion, why does the author use the metaphor of the “wastebasket” in the title of the third paragraph? Pragmatics - George Yule - Chapter 1.
Computing Science, University of Aberdeen1 CS4025: Logic-Based Semantics l Compositionality in practice l Producing logic-based meaning representations.
Semantic Construction lecture 2. Semantic Construction Is there a systematic way of constructing semantic representation from a sentence of English? This.
Review of basic concepts.  The knowledge of sentences and their structure.  Syntactic rules include: ◦ The grammaticality of sentences ◦ Word order.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
LECTURE 2: SEMANTICS IN LINGUISTICS
Computational Semantics Day II: A Modular Architecture
November 2006Semantics I1 Natural Language Processing Semantics I What is semantics for? Role of FOL Montague Approach.
1 Syntax 1. 2 In your free time Look at the diagram again, and try to understand it. Phonetics Phonology Sounds of language Linguistics Grammar MorphologySyntax.
(SYNTAX-DRIVEN) SEMANTICS Yılmaz Kılıçaslan. Outline  Semiotic Triangle –Syntax –Semantics –Pragmatics  (Syntax-driven) Semantics –Semantics via languages.
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
1 Chapter 4 Syntax Part III. 2 The infinity of language pp The number of sentences in a language is infinite. 2. The length of sentences is.
Lecture 1 Ling 442.
Lecture 10 Semantics Sentence Interpretation. The positioning of words and phrases in syntactic structure helps determine the meaning of the entire sentence.
CAS LX 502 9b. Formal semantics Pronouns and quantifiers.
1 CS 2710, ISSP 2610 Chapter 8, Part 1 First Order Predicate Calculus FOPC.
PHILOSOPHY OF LANGUAGE Some topics and historical issues of the 20 th century.
SYNTAX.
10/31/00 1 Introduction to Cognitive Science Linguistics Component Topic: Formal Grammars: Generating and Parsing Lecturer: Dr Bodomo.
Dummett about realism and anti-realism
Syntax 1.
Semantics (Representing Meaning)
SYNTAX.
Chapter Eight Syntax.
Part I: Basics and Constituency
EPISTEMIC LOGIC.
Chapter Eight Syntax.
Communicative competence
1st-order Predicate Logic (FOL)
Natural Language Processing
Artificial Intelligence 2004 Speech & Natural Language Processing
Semantics 2: Syntax-Semantics Interface
Combinations Practical Applications from
1st-order Predicate Logic (FOL)
Presentation transcript:

Dr. Rogelio Dávila Pérez Formal Semantics for Natural language

Theory of Meaning A theory of meaning is understood as providing a detailed specification of the knowledge that a native speaker has about his/her own language. [Dummett, 91] In doing this, a theory of meaning has to provide a way to assign meaning to all the different words in the language and then a mechanism by means of which all these meanings can be combined into larger expressions to form the meaning of phrases, sentences, discourses, and so on. Formal Semantics for Natural language

Two philosophical views: Realistic (classical) School: The proper job of a semantic theory consists of stating the way in which the language is related to the world. This means to establish for every sentence in the language what conditions must hold in the world for the sentence to be true. This is generally known as the truth-conditional semantics program. Formal Semantics for Natural language

Antirealistic (constructive) school A theory of meaning is a theory of understanding. The knowledge that a native speaker has about a sentence of his/her own language is reflected in the use he/she makes of that sentence. In order to understand a sentence, to use a sentence, it is not enough to know its truth conditions, but actually to be able to recognize when those conditions hold in the world. The framework endows what is called a verificationist theory of meaning. Formal Semantics for Natural language

Truth-conditional semantics program To state the meaning of a sentence we should state which conditions must be true in the world for this sentence to be true. e.g. Every man loves a woman. Truth-conditions: For each member “x” of the set of men, there should be at least one member “y” of the set of women, in such a way that the pair is in the relation loves. Logic: x.(man(x)  y.(woman(y)  loves(x,y))) Classic approach to semantics

Frege’s Compositional Semantics The meaning of the sentence is determined by the meaning of the words of which it is composed, and the way in which these are put together. The linear order of the words in a sentence hide the role that different kinds of words play in the building of the meaning of the whole. Classic approach to semantics

Syntactic structure John likes Mary PN VtVt NP VP S DetPNVtVt NP VP S Every man likes Mary Noun

Quantification problem John likes Mary PN VtVt NP VP S DetPNVtVt NP VP S Every man likes Mary Noun x.(man(x)  likes(x, mary)) likes(john, mary)

The Lambda Calulus The lambda calculus is a theory of functions, or, more accurately, a theory of operations. People familiar with elementary set theory will have assimilated the idea that functions are special kinds of set; sets of ordered pairs. e.g. The identity function on natural numbers: {(x,y)| xN & yN & x=y}

The Lambda Calulus Some examples of lambda expressions: (i) ( x.x) (ii) ( x.( y.(xy)) (iii) (( x.x)( x.x)) (iv) ( x.( y.x)) (v) ( x.( y.( z.((xz)(yz)))))

-operator - abstraction t x.t - conversion ( x.t)a = t [a/x]

The Lambda Calulus Reduce the following examples as far as possible: (i) ( x.x(xy))( z.zx) (ii) ( x.xy)( z.zx)( z.zx) (iii) ( x.( y.yx)z)(( z.zx)( z.zx)) (iv) ( x.xxy)( x.xxy)( x.( y.yx)z)

Semantic structure Every man likes Mary Det PNVtVt NP Noun NP VP S

R1. If S then S´= ´(  ´)R8. If NP then NP’ = ´ R2. If NP then NP’ = ´(  ´)R9. man’ =w.man(w) R3. If VP then VP’ = z. ´(  ´(z))R10. likes’ =x.y.likes(x,y) R4. If Det then Det’ = ´R11. mary’ =P.P(mary) R5. If Noun then Noun’ = ´ R12. every’=P.Q.x.(P(x)Q(x)) R6. If Vt then Vt’ = ´ R7. If PN then PN’ = ´ Semantics rules       

Semantic structure Det PNVtVt NP P.Q.x.(P(x)  Q(x)) w.man(w) x.y.likes(x,y) P.P(mary) Noun (R1) x.(man(x)  likes(x, mary)) (R3) z.likes(z,mary) (R2) Q.x.(man(x)  Q(x)) Every man likes Mary