Introduction to Computational Linguistics

Similar documents
Compositional Semantics

Proof Theory for Syntacticians

Part III: Semantics. Notes on Natural Language Processing. Chia-Ping Chen

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Intra-talker Variation: Audience Design Factors Affecting Lexical Selections

AQUA: An Ontology-Driven Question Answering System

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

Chapter 4: Valence & Agreement CSLI Publications

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

Argument structure and theta roles

Aspectual Classes of Verb Phrases

Constraining X-Bar: Theta Theory

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

CS 598 Natural Language Processing

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

Construction Grammar. University of Jena.

Natural Language Processing. George Konidaris

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

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

Some Principles of Automated Natural Language Information Extraction

Visual CP Representation of Knowledge

Parsing of part-of-speech tagged Assamese Texts

Words come in categories

Types and Lexical Semantics

Segmented Discourse Representation Theory. Dynamic Semantics with Discourse Structure

Knowledge-Based - Systems

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

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

Foundations of Knowledge Representation in Cyc

Pseudo-Passives as Adjectival Passives

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

LFG Semantics via Constraints

THE ANTINOMY OF THE VARIABLE: A TARSKIAN RESOLUTION Bryan Pickel and Brian Rabern University of Edinburgh

Control and Boundedness

Context Free Grammars. Many slides from Michael Collins

AN EXPERIMENTAL APPROACH TO NEW AND OLD INFORMATION IN TURKISH LOCATIVES AND EXISTENTIALS

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

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

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

Underlying and Surface Grammatical Relations in Greek consider

Formulaic Language and Fluency: ESL Teaching Applications

Procedia - Social and Behavioral Sciences 154 ( 2014 )

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

Writing a composition

The MEANING Multilingual Central Repository

SEMAFOR: Frame Argument Resolution with Log-Linear Models

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

Ch VI- SENTENCE PATTERNS.

Ontologies vs. classification systems

Update on Soar-based language processing

Jacqueline C. Kowtko, Patti J. Price Speech Research Program, SRI International, Menlo Park, CA 94025

Frequency and pragmatically unmarked word order *

An Interactive Intelligent Language Tutor Over The Internet

Specifying Logic Programs in Controlled Natural Language

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

Derivational and Inflectional Morphemes in Pak-Pak Language

Grammars & Parsing, Part 1:

GERM 3040 GERMAN GRAMMAR AND COMPOSITION SPRING 2017

Community-oriented Course Authoring to Support Topic-based Student Modeling

Ontological spine, localization and multilingual access

Title:A Flexible Simulation Platform to Quantify and Manage Emergency Department Crowding

Language acquisition: acquiring some aspects of syntax.

Which verb classes and why? Research questions: Semantic Basis Hypothesis (SBH) What verb classes? Why the truth of the SBH matters

The Conversational User Interface

An Introduction to the Minimalist Program

Grounding Language for Interactive Task Learning

Opportunities for Writing Title Key Stage 1 Key Stage 2 Narrative

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

Construction Grammar. Laura A. Michaelis.

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

The subject of adjectives: Syntactic position and semantic interpretation

The Structure of Multiple Complements to V

1 st Quarter (September, October, November) August/September Strand Topic Standard Notes Reading for Literature

This Performance Standards include four major components. They are

California Department of Education English Language Development Standards for Grade 8

Applications of memory-based natural language processing

- «Crede Experto:,,,». 2 (09) ( '36

A DISTRIBUTIONAL STRUCTURED SEMANTIC SPACE FOR QUERYING RDF GRAPH DATA

Controlled vocabulary

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

Language Acquisition Chart

November 2012 MUET (800)

Theoretical Syntax Winter Answers to practice problems

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

CEFR Overall Illustrative English Proficiency Scales

Prediction of Maximal Projection for Semantic Role Labeling

Author: Justyna Kowalczys Stowarzyszenie Angielski w Medycynie (PL) Feb 2015

Nancy Hennessy M.Ed. 1

The semantics of case *

The Interface between Phrasal and Functional Constraints

Disciplinary Literacy in Science

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

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

A Computational Evaluation of Case-Assignment Algorithms

CAS LX 522 Syntax I. Long-distance wh-movement. Long distance wh-movement. Islands. Islands. Locality. NP Sea. NP Sea

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

On the Combined Behavior of Autonomous Resource Management Agents

The Discourse Anaphoric Properties of Connectives

ELD CELDT 5 EDGE Level C Curriculum Guide LANGUAGE DEVELOPMENT VOCABULARY COMMON WRITING PROJECT. ToolKit

Word Stress and Intonation: Introduction

Transcription:

Introduction to Computational Linguistics Today Semantics Meaning Representation Meaning Representation Week 8, Lecture 2 November 28, 2002, ICL Week 8, Lecture 2 1 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 2 November 27, 2002 Semantics Meaning Representations So far, we ve concentrated on tokens, POS, and syntax. What about semantics? One standard approach focuses on the systematic creation of MEANING REPRESENTATIONS representations that link linguistic forms to knowledge of the world. We assume that the meaning of linguistic utterances can be captured in formal structures. What can serve as a meaning representation? Anything that serves the core practical purposes of a program that is doing semantic processing. Answering questions Determining truth Making inferences..., ICL Week 8, Lecture 2 3 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 4 November 27, 2002

has the same meaning as What is Meaning? Computational Semantics Trying to pin down what meaning is can be very hard. Easier to think about the following: Semantic Equivalence: Inference: follows from/can be inferred from Two important strands of work: logic-based representation (formal rules of syntax, semantics, and inference) notion of TRUTH-CONDITIONS frame-based representations, ICL Week 8, Lecture 2 5 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 6 November 27, 2002 Frame-based Representations Frame Example Derives from AI work on knowledge representation Animal Involve classes (or frames), slots and possibly axioms eats Food Classes correspond to concepts in the domain of discourse animate True Slots describe properties or attributes of classes. Classes are arranged in a taxonomic (inheritance hierarchy) Herbivore Carnivore If is a subclass of, then every instance of is also an instance of eats Plant eats Animal An ontology consists of classes, slots and axioms A Knowledge Base is an ontology together with individual instances of classes with specific values for slots Giraffe eats Leaf, ICL Week 8, Lecture 2 7 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 8 November 27, 2002

is true if and only if and Inference: Sample Meaning Representations Ontologies and Semantic Web ginny Instance(, eats acacia-leaf1029 Giraffe(ginny) Leaf(acacia-leaf1029) Giraffe ) eats Leaf eat(ginny, acacia-leaf1029) Semantic Web proposition: Web-accessible resources should be understandable by artificial agents. Shared ontologies provide a shared conceptual vocabulary for such agents. Dublin Core example: dc:creator = ek:author The term Creator in the Dublin Core namespace is equivalent to the term Author in the Ewan Klein namespace. W3C s Resource Description Framework (RDF) for semantic metadata is essentially a frame-based representation., ICL Week 8, Lecture 2 9 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 10 November 27, 2002 Truth-conditional Semantics Verifying against a KB (Tarski, Davidson) 1. In which rivers do salmon live? Knowing the meaning of a sentence is knowing the conditions under which is true or false. Semantic Equivalence: is true (i.e., are both true, or and are both false) 2. river [live(salmon, )] VERIFIABILITY: The system s ability to compare the state of affairs described by a representation to the state of affairs in some world as modelled by a set of facts in its knowledge base. is true whenever is true live(salmon, mersey) live(salmon, tyne) live(salmon, humber)..., ICL Week 8, Lecture 2 11 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 12 November 27, 2002

Simplifying Assumptions for Computational Semantics Focus on literal meaning conventional meanings of words (e.g., ignore metaphor, metonymy) ignore context (e.g., anaphoric and deictic expressions) Semantic Analysis SEMANTIC ANALYSIS is the process of taking in some linguistic form and producing a meaning representation for it. Many ways of doing this, ranging from completely ad hoc domain-specific methods to more theoretically founded but not necessarily tractable methods. Most methods rely in some way on a prior or concurrent syntactic analysis (parse). A compositional rule-to-rule approach is attractive, ICL Week 8, Lecture 2 13 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 14 November 27, 2002 Compositional Semantics Issues At the core of most methods is the PRINCIPLE OF COMPOSITIONALITY (Frege s Principle): The meaning of the complex construction is a function of the meaning of the parts. What are the parts? Standardly, syntactic constituents. Ambiguity I saw her duck. I m looking for a handsome Norwegian. Addressed to our mobile robot: Visit every room and take a photograph. Drink beer or drink green tea and be happy. Vagueness This heap of sand is small. [Now add a grain of sand, and loop back], ICL Week 8, Lecture 2 15 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 16 November 27, 2002

1st order quantification [sister-of( Canonical Form Canonical Form: Pros and Cons Standardized representation of meaning for (potentially) multiple utterances. Dictates that Inputs that mean the same thing have the same representation. Does Kalpna have vegetarian dishes? Do they have vegetarian food at Kalpna? Are vegetarian dishes served at Kalpna? Does Kalpna serve vegetarian fare? Alternatives: Advantages: simplifies reasoning tasks compactness of representation: don t need to write inference rules for all the different paraphrases of the same meaning Disadvantage: complicates task of semantic analysis four different semantic representations, or store all possible meaning representations in KB, ICL Week 8, Lecture 2 17 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 18 November 27, 2002 More on Canonical Form Logics and Notation Fortunately, there are some systematic meaning relationships among word senses and among grammatical constructions that can be exploited to make semantic analysis tractable. propositional happy clap-hands either you re not happy or you clap your hands relations sister-of(ann, bill) Ann is the sister of Bill Example:, bill)] Someone is sister of Bill Kalpna serves vegetarian food. Vegetarian dishes are served by Kalpna 2nd order quantification ann bill Everything that is true of Ann is true of Bill food and dishes have at least one shared sense, so same meaning representation can be assigned to phrases containing them. knowledge of the relationship between active and passive sentence constructions allows us to assign same semantic roles to Kalpna (server) and vegetarian food/dishes (thing being served) in either construction, ICL Week 8, Lecture 2 19 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 20 November 27, 2002

VegetarianFood Truth Table Meaning Representations P Q P P Q P Q P Q False False True False False True False True True False True True True False False False True False True True False True True True J&K: use FIRST ORDER PREDICATE CALCULUS (FOPC/FOL) as meaning representation. Has several desirable properties: Supports the determination of truth. Supports the answering of questions (via variables). Supports automated inference. increasing efficiency of First order theorem provers, ICL Week 8, Lecture 2 21 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 22 November 27, 2002 Formula AtomicFormula Formula Connective Formula Meaning Structure of Language Quantifier Variable Formula Formula Formula Choice of FOPC has some linguistic motivation. Human languages: AtomicFormula Predicate Term display a basic predicate-argument structure Term Constant Variable Function Term Connective Quantifier Constant Variable Predicate Function A xy Serves LocationO f Near make use of variables (e.g., indefinites) make use of quantifers (e.g., every, some) display a partially compositional semantics Maharani CuisineO f, ICL Week 8, Lecture 2 23 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 24 November 27, 2002

Predicate Argument Structure A Possible Meaning Representation There are words and constituents that protypically act like predicates, and words Syntax: and constituents that act like arguments. Predicate-like elements: NP give NP give NP NP to NP NP Vs, VPs, prepositions, adjectives, some nouns. Semantics: Argument-like elements: give nouns, Noms, NPs, etc Example: John gave Mary a book. [give(john, mary, ) book( )], ICL Week 8, Lecture 2 25 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 26 November 27, 2002 Another Look at our Meaning Representation Problems What about: John gave Mary a book for Susan. give(john, mary, book, susan) John gave Mary a book for Susan on Wednesday. give(john, mary, book, susan, wednesday) John gave Mary a book for Susan on Wednesday in class. give(john, mary, book, susan, wednesday, in-class) Except for the suggestive names of predicates and arguments, there is nothing that indicates the obvious logical relations among them Assumes that the predicate representing the meaning of a verb has the same number of arguments as the syntactic complements and modifiers that are in construction with the verb. Makes it hard to: determine the correct number of roles for any given event represent facts about the roles associated with an event ensure that all and only the correct inferences can be derived from the representation of an event, ICL Week 8, Lecture 2 27 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 28 November 27, 2002

Davidsonian Meaning Representation Advantages John gave Mary a book. agent john patient theme mary book agent, patient, theme are called THEMATIC ROLES. Alternatives: ARG1, ARG2, ARG3,... giver, givee, given E.g., Can have variable number of arguments associated with event; as many roles and fillers can be glued on as appear in the input. Reifies events so that they can be quantified and related to other events and objects via sets of defined relations. Can see logical connections between closely related examples without the need for meaning postulates. John gives Mary a book John gives a book, ICL Week 8, Lecture 2 29 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 30 November 27, 2002 Predicates Other Stuff You can think of the verb give as contributing the predicate together with the number and roles of the arguments: I,e., give means... patient theme agent The NPs in the sentence provide the values for the variables introduced by the named arguments to the V. Reading J& K Chapter 14 Emailing your Assignment 2 to me and James: Note that its jamesc@cogsci.ed.ac.uk, not james@cogsci.ed.ac.uk or jamesc@inf.ed.ac.uk Next class: Building semantic representions Start on lexical semantics (if there s time) What about the lecture we missed? Monday 9th?, ICL Week 8, Lecture 2 31 November 27, 2002 Ewan Klein, ICL Week 8, Lecture 2 32 November 27, 2002