74.419 Artificial Intelligence 2005/06 From Syntax to Semantics.

Slides:



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

 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Mrach 1, 2009Dr. Muhammed Al-Mulhem1 ICS482 Formal Grammars Chapter 12 Muhammed Al-Mulhem March 1, 2009.
Chapter 4 Syntax.
Syntactic analysis using Context Free Grammars. Analysis of language Morphological analysis – Chairs, Part Of Speech (POS) tagging – The/DT man/NN left/VBD.
Dr. Abdullah S. Al-Dobaian1 Ch. 2: Phrase Structure Syntactic Structure (basic concepts) Syntactic Structure (basic concepts)  A tree diagram marks constituents.
COMP 4060 Natural Language Processing Semantics. Semantics Semantics I  General Introduction  Types of Semantics  From Syntax to Semantics Semantics.
Statistical NLP: Lecture 3
LING NLP 1 Introduction to Computational Linguistics Martha Palmer April 19, 2006.
Natural Language Processing - Feature Structures - Feature Structures and Unification.
 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 Course Review. Morphological Analyzer Lexicon Part-of-Speech (POS) Tagging Grammar Rules Parser thethe – determiner Det NP → Det.
NLP and Speech 2004 Feature Structures Feature Structures and Unification.
Natural Language Processing - English Grammar -
Features & Unification Ling 571 Deep Processing Techniques for NLP January 31, 2011.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Word Classes and English Grammar.
Syllabus Text Books Classes Reading Material Assignments Grades Links Forum Text Books עיבוד שפות טבעיות - שיעור שמונה Context Free Grammars and.
CS 4705 Lecture 17 Semantic Analysis: Syntax-Driven Semantics.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
NLP and Speech 2004 English Grammar
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
Syntax and Context-Free Grammars CMSC 723: Computational Linguistics I ― Session #6 Jimmy Lin The iSchool University of Maryland Wednesday, October 7,
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Grammar Sentence Constructs.
1 CONTEXT-FREE GRAMMARS. NLE 2 Syntactic analysis (Parsing) S NPVP ATNNSVBD NP AT NNthechildrenate thecake.
1 CSC 594 Topics in AI – Applied Natural Language Processing Fall 2009/ Outline of English Syntax.
Artificial Intelligence 2004 Natural Language Processing - Syntax and Parsing - Language Syntax Parsing.
Chapter 9. Context-Free Grammars for English
11 CS 388: Natural Language Processing: Syntactic Parsing Raymond J. Mooney University of Texas at Austin.
Context Free Grammars Reading: Chap 12-13, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Paul Tarau, based on Rada.
1 Semantics Interpretation Allen ’ s Chapter 9 J&M ’ s Chapter 15.
Context-Free Grammars for English 1 인공지능 연구실 허 희 근.
Lecture Four Syntax.
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.
CS : Language Technology for the Web/Natural Language Processing Pushpak Bhattacharyya CSE Dept., IIT Bombay Constituent Parsing and Algorithms (with.
1 Natural Language Processing Lecture Notes 11 Chapter 15 (part 1)
Context Free Grammars Reading: Chap 9, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Rada Mihalcea.
11 Chapter 14 Part 1 Statistical Parsing Based on slides by Ray Mooney.
Chapter 12: Context-Free Grammars Heshaam Faili University of Tehran.
Artificial Intelligence: Natural Language
Culture , Language and Communication
Rules, Movement, Ambiguity
Artificial Intelligence: Natural Language
Natural Language - General
Section 11.3 Features structures in the Grammar ─ Jin Wang.
Making it stick together…
From Syntax to Semantics
Artificial Intelligence 2004
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
Natural Language Processing Lecture 14—10/13/2015 Jim Martin.
SYNTAX.
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
Syllabus Text Books Classes Reading Material Assignments Grades Links Forum Text Books עיבוד שפות טבעיות - שיעור שמונה Context Free Parsing אורן.
Syntax II. Specifiers Specifiers tell us more information about nouns, verbs, adjectives, adverbs and prepositions The, a, this, three, some, many etc.
Speech and Language Processing Formal Grammars Chapter 12.
Welcome to the flashcards tool for ‘The Study of Language, 5 th edition’, Chapter 8 This is designed as a simple supplementary resource for this textbook,
Chapter 4 Syntax a branch of linguistics that studies how words are combined to form sentences and the rules that govern the formation of sentences.
Instructor: Nick Cercone CSEB -
Beginning Syntax Linda Thomas
Lecture – VIII Monojit Choudhury RS, CSE, IIT Kharagpur
Statistical NLP: Lecture 3
CKY Parser 0Book 1 the 2 flight 3 through 4 Houston5 6/19/2018
CSC 594 Topics in AI – Applied Natural Language Processing
CKY Parser 0Book 1 the 2 flight 3 through 4 Houston5 11/16/2018
BBI 3212 ENGLISH SYNTAX AND MORPHOLOGY
Natural Language - General
Principles and Parameters (I)
Structure of a Lexicon Debasri Chakrabarti 13-May-19.
Artificial Intelligence 2004 Speech & Natural Language Processing
Presentation transcript:

Artificial Intelligence 2005/06 From Syntax to Semantics

 Grammatical Extensions  Sentence Structures  Noun Phrase - Modifications  Verb Phrase - Subcategorization  Feature Structures  -expressions

Grammar – Sentence Level Constructs Sentence Level Constructs declarativeS  NP VP “ This flight leaves at 9 am. ” imperativeS  VP “ Book this flight for me. ” yes-no-questionS  Aux NP VP “ Does this flight leave at 9 am? ” wh-questionS  Wh-NP Aux NP VP “ When does this flight leave Winnipeg? ”

Grammar – Noun Phrase Modification 1 head = the central noun of the NP (+ modifiers) modifiers before the head noun (prenominal) determinerthe, a, this, some,... predeterminerall the flights cardinal numbers, ordinal numbersone flight, the first flight,... quantifiersmuch, little adjectivesa first-class flight, a long flight adjective phrasethe least expensive flight NP  (Det) (Card) (Ord) (Quant) (AP) Nominal

Grammar – Noun Phrase Modification 2 modifiers after the head noun (post-nominal) prepositional phrase PP all flights from Chicago Nominal  Nominal PP (PP) (PP) non-finite clause, gerundive postmodifers all flights arriving after 7 pm Nominal  GerundVP GerundVP  GerundV NP | GerundV PP |... relative clause a flight that serves breakfast Nominal  Nominal RelClause RelClause  (who | that) VP

Grammar – Verb Subcategorization VP = Verb + other constituents. Different verbs accept or need different constituents → Verb Subcategorization; captured in verb frames. sentential complementVP  Verb inf-sentence I want to fly from Boston to Chicago. NP complement VP  Verb NP I want this flight. no complement VP  Verb I sleep. more forms VP  Verb PP PP I fly from Boston to Chicago.

Grammar – Feature Structures 1 Feature Structures describe additional syntactic-semantic information, like category, person, number, e.g.goes  specify feature structure constraints (agreements) as part of the grammar rules during parsing, check agreements of feature structures (unification) e.g.S  NP VP = or S  NP VP =

Grammar – Feature Structures 2 Sub-categories specify attached phrases, e.g. NP modifiers or Verb complements like NP “... the man who chased the cat out of the house...” central noun + sub-categories + agreements “... the man chased the barking dog who bit him...” central verb + sub-categories + agreements Agreements are passed on / inherited within phrases, e.g. agreement of VP derived from Head-Verb of VP, through special Unification functions determined by

Semantics Distinguish between surface structure (syntactic structure) and deep structure (semantic structure) of sentences. Different forms of Semantic Representation logic based ontology based / semantic language / interlingua Case Frame structures DL and similar KR languages linguistics based Ontologies

Semantics - Lambda Calculus 1 Logic representations often involve Lambda-Calculus: represent central phrases (verb) as -expressions -expression is like a function, which can be applied to terms insert semantic representation of complement or modifier phrases etc. in place of variables  x, y: loves (x, y)FOPLsentence x y loves (x, y) -expression, function x y loves (x, y) (John)  y loves (John, y)

Semantics - Lambda Calculus 2 Transform sentence into lambda-expression: “AI Caramba is close to ICSI.” specific: close-to (AI Caramba, ICSI) general:  x, y: close-to (x, y)  x=AI Caramba  y=ICSI Lambda Conversion: x y: close-to (x, y) (AI Caramba) Lambda Reduction: y: close-to (AI Caramba, y) close-to (AI Caramba, ICSI)

Semantics - Lambda Calculus 3 Lambda Expressions can be constructed from central (VP) expression, inserting semantic representations for complement (NP, PP) phrases: Verb  serves { x y  e IS-A (e, Serving)  Server (e, y)  Served (e, x)} represents general semantics for the verb 'serve Fill in appropriate expressions for x, y, for example 'meat' for y derived from Noun in NP as complement to Verb. eventsubject-NPobject-NP

InterLingua (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

Deriving basic semantic dependency (a toy example) Input: John makes tools Syntactic Analysis: catverb tensepresent subject root john catnoun-proper object root tool catnoun numberplural

John-n1 syn-struc rootjohn catnoun-proper sem-struc human name john gendermale tool-n1 syn-struc roottool catn sem-struc tool Relevant parts of the (appropriate senses of the) lexicon entries for John and tool

Semantics Semantic Representation through:  Case Frame structures  DL and similar KR languages  linguistics based Ontologies General: Map surface structure to semantic structure Derive phrases as sub-structures Find concepts for central phrases (VP, NP) Assign phrases to appropriate roles around central concepts.

Additional References Jurafsky, D. & J. H. Martin, Speech and Language Processing, Prentice-Hall, (Chapters 9 and 10)