Formal Semantics Fall 2007 Predicate Logic and English Syntax

Similar documents
ENGBG1 ENGBL1 Campus Linguistics. Meeting 2. Chapter 7 (Morphology) and chapter 9 (Syntax) Pia Sundqvist

Chapter 4: Valence & Agreement CSLI Publications

Argument structure and theta roles

Context Free Grammars. Many slides from Michael Collins

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

Basic Syntax. Doug Arnold We review some basic grammatical ideas and terminology, and look at some common constructions in English.

Proof Theory for Syntacticians

CS 598 Natural Language Processing

Basic Parsing with Context-Free Grammars. Some slides adapted from Julia Hirschberg and Dan Jurafsky 1

Words come in categories

Introduction to HPSG. Introduction. Historical Overview. The HPSG architecture. Signature. Linguistic Objects. Descriptions.

1/20 idea. We ll spend an extra hour on 1/21. based on assigned readings. so you ll be ready to discuss them in class

BULATS A2 WORDLIST 2

Derivational: Inflectional: In a fit of rage the soldiers attacked them both that week, but lost the fight.

Syntax Parsing 1. Grammars and parsing 2. Top-down and bottom-up parsing 3. Chart parsers 4. Bottom-up chart parsing 5. The Earley Algorithm

Construction Grammar. University of Jena.

Natural Language Processing. George Konidaris

A Minimalist Approach to Code-Switching. In the field of linguistics, the topic of bilingualism is a broad one. There are many

Parsing of part-of-speech tagged Assamese Texts

Inleiding Taalkunde. Docent: Paola Monachesi. Blok 4, 2001/ Syntax 2. 2 Phrases and constituent structure 2. 3 A minigrammar of Italian 3

Approaches to control phenomena handout Obligatory control and morphological case: Icelandic and Basque

Ch VI- SENTENCE PATTERNS.

Compositional Semantics

Universal Grammar 2. Universal Grammar 1. Forms and functions 1. Universal Grammar 3. Conceptual and surface structure of complex clauses

Intra-talker Variation: Audience Design Factors Affecting Lexical Selections

Control and Boundedness

Grammars & Parsing, Part 1:

The presence of interpretable but ungrammatical sentences corresponds to mismatches between interpretive and productive parsing.

Focusing bound pronouns

Constraining X-Bar: Theta Theory

Developing Grammar in Context

Pseudo-Passives as Adjectival Passives

Enhancing Unlexicalized Parsing Performance using a Wide Coverage Lexicon, Fuzzy Tag-set Mapping, and EM-HMM-based Lexical Probabilities

Unit 8 Pronoun References

Case government vs Case agreement: modelling Modern Greek case attraction phenomena in LFG

Today we examine the distribution of infinitival clauses, which can be

Dear Teacher: Welcome to Reading Rods! Reading Rods offer many outstanding features! Read on to discover how to put Reading Rods to work today!

Some Principles of Automated Natural Language Information Extraction

Theoretical Syntax Winter Answers to practice problems

LFG Semantics via Constraints

Developing a TT-MCTAG for German with an RCG-based Parser

Hindi Aspectual Verb Complexes

11/29/2010. Statistical Parsing. Statistical Parsing. Simple PCFG for ATIS English. Syntactic Disambiguation

been each get other TASK #1 Fry Words TASK #2 Fry Words Write the following words in ABC order: Write the following words in ABC order:

BASIC ENGLISH. Book GRAMMAR

Type Theory and Universal Grammar

Writing a composition

The Structure of Relative Clauses in Maay Maay By Elly Zimmer

Word Stress and Intonation: Introduction

SAMPLE PAPER SYLLABUS

Hindi-Urdu Phrase Structure Annotation

The Interface between Phrasal and Functional Constraints

Prewriting: Drafting: Revising: Editing: Publishing:

Language acquisition: acquiring some aspects of syntax.

Derivational and Inflectional Morphemes in Pak-Pak Language

COMPUTATIONAL COMPLEXITY OF LEFT-ASSOCIATIVE GRAMMAR

Psychology and Language

An Introduction to the Minimalist Program

"f TOPIC =T COMP COMP... OBJ

cambridge occasional papers in linguistics Volume 8, Article 3: 41 55, 2015 ISSN

Adjectives tell you more about a noun (for example: the red dress ).

IN THIS UNIT YOU LEARN HOW TO: SPEAKING 1 Work in pairs. Discuss the questions. 2 Work with a new partner. Discuss the questions.

Intension, Attitude, and Tense Annotation in a High-Fidelity Semantic Representation

Types and Lexical Semantics

Advanced Grammar in Use

Underlying and Surface Grammatical Relations in Greek consider

Chapter 3: Semi-lexical categories. nor truly functional. As Corver and van Riemsdijk rightly point out, There is more

Subject: Opening the American West. What are you teaching? Explorations of Lewis and Clark

Taught Throughout the Year Foundational Skills Reading Writing Language RF.1.2 Demonstrate understanding of spoken words,

Loughton School s curriculum evening. 28 th February 2017

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

UKLO Round Advanced solutions and marking schemes. 6 The long and short of English verbs [15 marks]

a) analyse sentences, so you know what s going on and how to use that information to help you find the answer.

Type-driven semantic interpretation and feature dependencies in R-LFG

A Computational Evaluation of Case-Assignment Algorithms

UNIT IX. Don t Tell. Are there some things that grown-ups don t let you do? Read about what this child feels.

AQUA: An Ontology-Driven Question Answering System

Language Acquisition by Identical vs. Fraternal SLI Twins * Karin Stromswold & Jay I. Rifkin

Aspectual Classes of Verb Phrases

Language properties and Grammar of Parallel and Series Parallel Languages

Minimalism is the name of the predominant approach in generative linguistics today. It was first

Chapter 9 Banked gap-filling

Som and Optimality Theory

Procedia - Social and Behavioral Sciences 154 ( 2014 )

Senior Stenographer / Senior Typist Series (including equivalent Secretary titles)

An Interactive Intelligent Language Tutor Over The Internet

California Department of Education English Language Development Standards for Grade 8

Copyright and moral rights for this thesis are retained by the author

The building blocks of HPSG grammars. Head-Driven Phrase Structure Grammar (HPSG) HPSG grammars from a linguistic perspective

On the Notion Determiner

FOREWORD.. 5 THE PROPER RUSSIAN PRONUNCIATION. 8. УРОК (Unit) УРОК (Unit) УРОК (Unit) УРОК (Unit) 4 80.

TWO OLD WOMEN (An Alaskan Legend of Betrayal, Courage and Survival) By Velma Wallis

Analysis of Probabilistic Parsing in NLP

First Grade Curriculum Highlights: In alignment with the Common Core Standards

The suffix -able means "able to be." Adding the suffix -able to verbs turns the verbs into adjectives. chewable enjoyable

Participate in expanded conversations and respond appropriately to a variety of conversational prompts

Story Problems with. Missing Parts. s e s s i o n 1. 8 A. Story Problems with. More Story Problems with. Missing Parts

Using dialogue context to improve parsing performance in dialogue systems

5 Star Writing Persuasive Essay

Character Stream Parsing of Mixed-lingual Text

Transcription:

Formal Semantics Fall 2007 Predicate Logic and English Syntax Sophia Malamud 1. Functions. Functions: (1) A relation R from A to B is a function from A to B (F:A B) iff: a. The domain of R is A. (except for partial "functions") Every member of A appears at least once as first member of a pair. b. Each element in the domain is paired just with one element in the range Every member of A appears at most once as first member of a pair. (2) Argument and value: F(a) = b (3) a. Functions from A to B are called functions into B. b. Functions from A to B such that the range of the function equals B are called onto B. (4) a. Functions from A to B where every member of B is assigned at most once to a member of A are called one-to-one. b. Otherwise, we'll call them many-to-one. (5) Functions that are at the same time onto and one-to-one are called one-to-one correspondences. The characteristic function of a set: (6) a. Let A be a set. The, char A, the characteristic function of A, is the function F such that, for any x A, F(x)=1, and for any x A, F(x)=0. b. Let F be a function with range {0,1}. Then, char F, the set characterized by F, is {x D F(x)=1} Schönfinkelization: (7) U = {a,b,c} (8) The relation "fond of": R fond-of = {<a,b>, <b,c>, <c,c>} (9) The characteristic function of R fond-of : <a,a> 0 <a,b> 1 <a,c> 0 <b,a> 0 Char Rfond-of = <b,b> 0 <b,c> 1 <c,a> 0 <c,b> 0 <c,c> 1 1

(10) Turning n-ary functions into multiple embedded 1-ary functions: Schönfinkelization. a. Left-to-right: b. Right-to-left:(inverse + left-to-r. shonf.) a 0 a 0 a b 1 a b 0 c 0 c 0 a 0 a 1 b b 0 b b 0 c 1 c 0 a 0 a 0 c b 0 c b 1 c 1 c 1 EXERCISE 1: Given the following Universe, spell out the characteristic function of the set in (11) and schönfinkelize it right-to-left. (12) U = {d, e} (13) R = { <d,d,d>, <d,e,d>, <e,d,d>, <e,e,e>, <e,e,d> } 2. Syntactic composition. A formal language is a set of strings --finite sequences of minimal units (words, for the purposes of this course)-- with meaning. The "machine" that generates those strings and their corresponding meanings is its grammar. A grammar must specify the following three components: a lexicon which contains every minimal unit with meaning (= every word, for this course) and its grammatical category; a syntax, that is, a set of rules that tells you how the minimal units combine to form longer units, how this longer units combine to form yet longer units, and so forth until we form full complex sentences; and a semantics, which determines what semantic operation or function corresponds to each syntactic rule and combines the atomic word meanings to build the meaning of the complete sentence. Remember Montague s thesis: Natural languages can be treated as interpreted formal languages. Bach s PC language: predicate calculus has lexicon, syntax, and semantics. J Lexicon for (a fragment of) English: Grammatical Category Proper Nouns Pronouns Nouns Intransitive Verbs Transitive Verbs Ditransitive Verbs Lexical Units Joan, Pat, Philadelphia He, she, it, they, him dog, chair, table, water sleep, snore, swim, jump see, find, kiss, hug give, put, send 2

Propositional Verbs Auxiliary Verbs Determiners Prepositions Adjectives Adverbs Complementizers Conjunctions know, claim, believe will, would, could, must, might the, a, some, every, each, most, my, their with, without, in, on, to, after, before sad, happy, tall, green, vegetarian, former quickly, carefully, very when, if, whether, although, that and, or, but J Syntax. Syntax gives rules governing how to build sentences. E.g., it contains rules similar to (14) and (15), abbreviated in (14 ) and (15 ) respectively. J Descriptive vs. prescriptive grammar. Note that we are using the notion of English grammar (in particular, English syntax) in a descriptive and not in a prescriptive way. The job of a linguist is to construct a grammar that generates all and only the utterances that a given group of speakers consider well formed in their dialect. This grammar may coincide or not with prescriptive grammaticality. Also, grammaticality has to be distinguished from mere semantic anomaly (the form of the sentence is fine, though the meaning is strange) and processing difficulty. (14) (14 ) (15) (15 ) If φ is a proper noun and ψ is an intransitive verb, then the sequence φψ (disregarding inflection) is a sentence. S Npr Vintr If ω is a proper noun, φ is an auxiliary verb and ψ is an intransitive verb, then the sequence ωφψ (disregarding inflection) is a sentence. S Npr AUX Vintr (16) a. Bill walks. b. Bill will walk. c. * Bill walk will. (17) Grammatical sentences of English? a. The cat the nice is saw. b. Who do you wonder whether Mary arrived? c. Who do you think that saw Joanne? d. Who do you think that Joanne saw? e. Do you wanna come for lunch? f. Pat didn't see nobody. g. The child played with Sam and I yesterday. h. Colorless green ideas sleep furiously. i. The building is nice. j. The building the guy built is nice. k. The building the guy the woman hired built is nice. l. The building the guy the woman John met hired built is nice. J Semantics: Semantics specifies a semantic operation for each syntactic rule. The notation [[.]] which we have been using stands for the meaning of or the denotation of. That is, semantics is built in tandem with syntax (we will run into problems later). 3

(18) If φ is a proper noun and ψ is an intransitive verb, then [[φψ]] is true if and only if (iff) [[φ]] [[ψ]] (19) If ω is a proper noun, φ is an auxiliary verb and ψ is an intransitive verb, then [[ωφψ]] is true if and only if (iff) [[ω]] [[φ]] [[ψ]] 3. Syntax. Sentences are not just bags of words it matters how they are put together. (20) Here's an example from Groucho Marx in Animal Crackers, where the sentence is structurally ambiguous.. One morning I shot an elephant in my pajamas. How he got into my pajamas I dunno. The ambiguity here centers on the prepositional phrase in my pajamas: does it modify the noun elephant, or the entire verb phrase? We can express these different meanings by grouping the words together in a particular way: One morning I (shot (an elephant in my pajamas)). I shot the elephant that was in my pajamas One morning I (shot (an elephant) in my pajamas). I shot the animal while wearing my pajamas This grouping reflects how the pieces of the sentence were put together by phrase structure rules. J The following is the set of syntactic rules we start with. During the semester, some modifications will be made as we cover more types of sentences. Diacritics: X* means that you can have as many X as you want (including none whatsoever). (21) S NP VP S S Conj S NP Npr NP Det N' N' Adj* N' PP* N' N' Conj N' N' N VP Adv* V' PP* V' Vtrans NP V' Vintrans PP P NP Npr John, Bill, Brandeis University, N cat, dog, boy, pig, table, binoculars Det a, the, some, my, 4

Adj tall, nice, green, P on, from, with, Vtrans see, like, help, kiss Vintr run, sleep Adv quickly, soon Conj and, or, but J Running an example sentence: (22) The girl kissed the boy. S NP VP \ Det N V / The N V NP / / \ girl kissed Det N the N boy J Trees and syntactico-semantic units: Every lexical item or word is a syntactico-semantic unit (minimal units). Every complete sentence is a syntactico-semantic unit (maximal unit). The tree structure of a sentence specifies all its intermediate syntactico-semantic units. (23) Every mother node α in a tree is a syntactico-semantic unit. In other words, for any node α, all the lexical material under its daughter branches forms a syntactico-semantic unit that excludes material under other non-daughter branches. The tree structure in (22) makes the following claims wrt the sentence The girl kissed the boy: The girl kissed the boy is a unit (in particular, a S). The girl is a unit (a NP). The boy is a unit (a NP). Kiss(ed) the boy is a unit (a VP). The girl kiss(ed) is NOT a unit in this sentence. Girl kiss(ed) the is NOT a unit is this sentence. Etc. J QUESTION: Draw the syntactic tree for the following sentence according to our grammar. Discuss what strings form a syntactico-semantic unit and what strings do not. (24) The tall man from Philadelphia helped the small boy. J QUESTION: For each of the following sentences, our grammar allows us to generate more than one tree. Each of those trees makes different claims about what the syntactico-semantic units of the sentence may be, and, in fact, each tree corresponds to a different meaning of the sentence. For each sentence, draw all the possible trees and explain in your own words the meaning that each tree 5

attributes to the sentence. (25) I shot an elephant in my pajamas. (26) John called a woman from my favorite country in Europe. (27) Some curious men and women from Philadelphia attended the meeting. For the sentence (28), draw a tree that corresponds to each picture, below the picture: (28) I saw an owl with a telescope J Other ambiguities: (29) Only John likes his teacher. (30) Mary defended herself, and Sue did too. (31) Mary defended herself better than Sue did. 4. The semantic rules: how the meanings of words are combined. J Combining a subject NP with the VP: (32) For any arbitrary NP, VP and world w S w = 1 iff [[NP]] w [[VP w NP VP 6

QUESTION 2: Take the denotation of kiss in w to be the set of pairs in (33). What is the denotation of VP in (34)? And what is the semantic contribution of the rule merging the V and the NPob into the VP? (33) [[kiss w100 = {<Ann Ann>, <Ann Betty>, <Betty Connor>} (34) S NPsu VP / Betty V NPob kisses Connor (35) For any arbitrary Vtrans, NP and world w VP w = Vtrans NP EXERCISE 2: With the 3-place predicate assign, we have three levels of NP embedding: least embedded (=NP subject), middle embedded (= NP indirect object), and most embedded (= NP direct object). For the least embedded, we can use the rule in (32). For the middle embedded, we can use the rule we gave in (35). What is the rule combining the most embedded NP (=the NP direct object) with the ditransitive verb assign? And what is the resulting denotation of V? (36) S NPsu VP / Ann V NPIO \ V NPDO (to) Connor assigned Ann (37) For any arbitrary Vditrans, NP and world w VP w = Vditrans NP 7