1 Unification Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.

Slides:



Advertisements
Similar presentations
Unification example: a grammar Rule {Satz} S -> NP VP (PP): = =. ;Kongruenz zwischen Subjekt und finitem Verb Rule{NP} NP -> Name / Pron / Det (AP) N (PP):
Advertisements

Computational language: week 10 Lexical Knowledge Representation concluded Syntax-based computational language Sentence structure: syntax Context free.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Feature Structures and Parsing Unification Grammars Algorithms for NLP 18 November 2014.
Notes on TAG (LTAG) and Feature Structures September AKJ.
CSA2050: DCG I1 CSA2050 Introduction to Computational Linguistics Lecture 8 Definite Clause Grammars.
Lexical Functional Grammar : Grammar Formalisms Spring Term 2004.
Lexical Functional Grammar History: –Joan Bresnan (linguist, MIT and Stanford) –Ron Kaplan (computational psycholinguist, Xerox PARC) –Around 1978.
BİL711 Natural Language Processing1 Problems with CFGs We know that CFGs cannot handle certain things which are available in natural languages. In particular,
1 Natural Language Processing Lecture 7 Unification Grammars Reading: James Allen NLU (Chapter 4)
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.
1 Chapter Chapter 5 Grammars for Natural Language 5.1 Auxiliary Verbs and Verb Phrases 5.2 Movement Phenomena in Language 5.3 Handling Questions in Context-Free.
Grammatical Relations and Lexical Functional Grammar Grammar Formalisms Spring Term 2004.
1 Features and Augmented Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.
1 Auxiliary Verbs and Movement Phenomena Allen ’ s Chapter 5 J&M ’ s Chapter 11.
Natural Language Processing - Feature Structures - Feature Structures and Unification.
COMP 4060 Natural Language Processing Using Features.
Features & Unification Ling 571 Deep Processing Techniques for NLP January 26, 2011.
Features & Unification Ling 571 Deep Processing Techniques for NLP January 31, 2011.
Parsing: Features & ATN & Prolog By
Syllabus Text Books Classes Reading Material Assignments Grades Links Forum Text Books עיבוד שפות טבעיות - שיעור עשר Chart Parsing (cont) Features.
Artificial Intelligence 2005/06 From Syntax to Semantics.
Context-Free Grammar Parsing by Message Passing Paper by Dekang Lin and Randy Goebel Presented by Matt Watkins.
Artificial Intelligence 2005/06 Features, Gaps, Movement Questions and Passives.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Features and Unification
Fall 2004 Lecture Notes #5 EECS 595 / LING 541 / SI 661 Natural Language Processing.
Unification-based algorithms We have seen that treating features, such as person-number agreement, as part of the category of a phrase results in a large.
Natural Language Processing Features Passives Questions Gaps Movement.
Context Free Grammar S -> NP VP NP -> det (adj) N
Natural Language Processing
CS 4705 Lecture 11 Feature Structures and Unification Parsing.
Feature structures and unification Attributes and values.
1 Semantics Interpretation Allen ’ s Chapter 9 J&M ’ s Chapter 15.
1 Features and Unification Chapter 15 October 2012 Lecture #10.
Chapter 16: Features and Unification Heshaam Faili University of Tehran.
 A _____________________ is any set of ordered pairs that express a relationship.  A _____________________ is a relationship between two variables. This.
1 Natural Language Processing Lecture Notes 11 Chapter 15 (part 1)
PHRASE STRUCTURE GRAMMARS RTNs ATNs Augmented phrase structure rules / trees.
Lecture E: Phrase functions and clause functions
PARSING David Kauchak CS159 – Spring 2011 some slides adapted from Ray Mooney.
2007CLINT-LIN-FEATSTR1 Computational Linguistics for Linguists Feature Structures.
ENGLISH SYNTAX Introduction to Transformational Grammar.
1 Chart Parsing Allen ’ s Chapter 3 J & M ’ s Chapter 10.
Section 11.3 Features structures in the Grammar ─ Jin Wang.
October 25, : Grammars and Lexicons Lori Levin.
NLP. Introduction to NLP Shallow parsing Useful for information extraction –noun phrases, verb phrases, locations, etc. Example –FASTUS (Appelt and Israel,
Artificial Intelligence 2004
1 Recursive Transition Networks Allen ’ s Chapters 3 J&M ’ s Chapter 10.
1 Natural Language Processing Lectures 8-9 Auxiliary Verbs Movement Phenomena Reading: James Allen NLU (Chapter 5)
CPSC 422, Lecture 27Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27 Nov, 16, 2015.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
1 Natural Language Processing Lecture 6 Features and Augmented Grammars Reading: James Allen NLU (Chapter 4)
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
April 2010Semantic Grammar1 A short guide to Blackburn’s Grammar of English.
3.3 A More Detailed Look At Transformations Inversion (revised): Move Infl to C. Do Insertion: Insert interrogative do into an empty.
Chapter 11: Parsing with Unification Grammars Heshaam Faili University of Tehran.
(Transformational) Generative Grammar
Natural Language Processing Vasile Rus
Lecture – VIII Monojit Choudhury RS, CSE, IIT Kharagpur
Basic Parsing with Context Free Grammars Chapter 13
Lexical Functional Grammar
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27
Dependency Parsing & Feature-based Parsing
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27
Language Variations: Japanese and English
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 26
CPSC 503 Computational Linguistics
Principles and Parameters (I)
Presentation transcript:

1 Unification Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11

2 Unification of Feature Structures Key concept - extension relationship between two FSs: F2 extends F1 if every feature-value pair in F1 is also in F2 Two FSs F1 and F2 unify if there exists a FS F that is an extension of both of them The Most General Unifier is the minimal FS F that extends both The Unification operation allows easy expression of grammatical relationships among constituent feature structures

3 Unification of Feature Structures F2 extends F1: F1 = (CAT v) F2 = (CAT v ROOT cry) F1 = (AGR {3s 3p}) F2 = (AGR 3s) F3 is MGU of F1 and F2: F1 = (CAT v ROOT cry), F2 = (CAT v VFORM pres), F3 = (CAT v ROOT cry VFORM pres) F1 and F2 do not unify: F1 = (CAT v AGR 3s) F2 = (CAT v AGR 3p)

4 Unification-based Grammars Grammar rules can be completely specified using unification Example: X0 --> X1 X2 CAT X0 = S CAT X1 = NP CAT X2 = VP AGR0 =AGR1 = AGR2 VFORM0 = VFORM2 If a feature (such as CAT) is always specified, it can be associated with the non-terminal of a CFG rule Examples: S  NP VPAGR0= AGR1 = AGR2 VFORM0 = VFORM2 NP  ART N AGR0 = AGR1 = AGR2

5 Sample Grammar (Abbreviated Form)

6 Unification Grammars

7 Predicative Phrases VP  (V ROOT be) (NP PRED +) He is a student VP  (V ROOT be) (PP PRED +) He is in the house VP  (V ROOT be) (ADJP PRED +) He is happy X0  X1 X2 CAT 0 =VP CAT 1 = V CAT 2 = {NP PP ADJP} ROOT 1 = be PRED 2 = +

8 More Information in Lexicon put : (CAT V SUBCAT (FIRST (CAT NP) SECOND (CAT PP LOC +))) VP  V X 2 X 3 2 = FIRST SUBCAT1 3=SECOND SUBCAT1 want : (CAT V SUBCAT (FIRST (CAT NP) SECOND (CAT VP VFORM inf)))