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.

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

A Word-Class Approach to Labeling PSCFG Rules for Machine Translation (ACL 2011) Andreas Zollmann and Stephan Vogel Presented by Yun Huang 01/07/2011.
FMZ Elaborazione del linguaggio naturale Fabio Massimo Zanzotto.
Feature-based Grammar Ling 571 Deep Techniques for NLP February 2, 2001.
 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.
Test practice Multiplication. Multiplication 9x2.
1 Unification Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.
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)
Specifiers! The notion of subject. Specifier = Subject u By creating DP, we got rid of our only example of a specifier. u So do we need the notion specifier?
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.
Natural Language Processing - Feature Structures - 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.
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
Center for PersonKommunikation P.1 UNIFICATION GRAMMAR  Forerunner: “Attribute Grammars” introduced by Donald E. Knuth: “Semantics of context-free Languages”.
Syllabus Text Books Classes Reading Material Assignments Grades Links Forum Text Books עיבוד שפות טבעיות - שיעור עשר Chart Parsing (cont) Features.
Analyzing Features of Grammatical Categories Show my head to the people; it is worth seeing. --Feature structure, to Ivan Sag in a dream.
Sag et al., Chapter 4 Complex Feature Values 10/7/04 Michael Mulyar.
Issues in Computational Linguistics: Parsing and Generation Dick Crouch and Tracy King.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Features and Unification
Ch.11 Features and Unification Ling 538, 2006 Fall Jiyoung Kim.
CS 4705 Lecture 11 Feature Structures and Unification Parsing.
Stochastic POS tagging Stochastic taggers choose tags that result in the highest probability: P(word | tag) * P(tag | previous n tags) Stochastic taggers.
Features and Unification Read J & M Chapter 11.. Solving the Agreement Problem Number agreement: S  NP VP * Mary walk. [NP NUMBER] [VP NUMBER] NP  det.
Notes on TAG (LTAG) and Feature Structures Aravind K. Joshi April
Context-Free Parsing Part 2 Features and Unification.
Latin Grammar: Singular and Plural Magister Henderson Latin I.
Feature structures and unification Attributes and values.
PFA Node Alignment Algorithm Consider the parse trees of a Chinese-English parallel pair of sentences.
1 Features and Unification Chapter 15 October 2012 Lecture #10.
CS 4705 Parsing More Efficiently and Accurately. Review Top-Down vs. Bottom-Up Parsers Left-corner table provides more efficient look- ahead Left recursion.
Chapter 16: Features and Unification Heshaam Faili University of Tehran.
CSE Introduction to Computational Linguistics Tuesdays, Thursdays 14:30-16:00 – South Ross 101 Fall Semester, 2011 Instructor: Nick Cercone
PHRASE STRUCTURE GRAMMARS RTNs ATNs Augmented phrase structure rules / trees.
2007CLINT-LIN-FEATSTR1 Computational Linguistics for Linguists Feature Structures.
Head-driven Phrase Structure Grammar (HPSG)
Jan 2004CSA3050: NLG21 CSA3050: Natural Language Generation 2 Surface Realisation Systemic Grammar Functional Unification Grammar see J&M Chapter 20.3.
Section 11.3 Features structures in the Grammar ─ Jin Wang.
1 Natural Language Processing Lectures 8-9 Auxiliary Verbs Movement Phenomena Reading: James Allen NLU (Chapter 5)
ACTL 2008 Syntax: Introduction to LFG Peter Austin, Linguistics Department, SOAS with thanks to Kersti Börjars & Nigel Vincent.
11 Project, Part 3. Outline Basics of supervised learning using Naïve Bayes (using a simpler example) Features for the project 2.
1 Natural Language Processing Lecture 6 Features and Augmented Grammars Reading: James Allen NLU (Chapter 4)
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.
April 2010Semantic Grammar1 A short guide to Blackburn’s Grammar of English.
Chapter 11: Parsing with Unification Grammars Heshaam Faili University of Tehran.
Distributive Property Review 2(x + 4) 2(x) + 2(4) 2x + 8.
X-Bar Theory. The part of the grammar regulating the structure of phrases has come to be known as X'-theory (X’-bar theory'). X-bar theory brings out.
Natural Language Processing Vasile Rus
Lecture – VIII Monojit Choudhury RS, CSE, IIT Kharagpur
8.1 Multiplication Properties of Exponents
Dependency Parsing & Feature-based Parsing
Syntax.
Instructor: Nick Cercone CSEB -
Introduction to Computational Linguistics
Language Variations: Japanese and English
كار همراه با آسودگي و امنيت
CPSC 503 Computational Linguistics
Breaking Factors into Smaller Factors
Cat.
Principles and Parameters (I)
Distribute and combine like terms
Syntax.
Presentation transcript:

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 multiplication of the number of rules in a grammar: S  NP VP S  NP3Sg VP3Sg S  NPNon3Sg VPNon3Sg

A better approach Decouple category (type) from features: treat features as properties of categories Use unification to combine feature structures S  NP [Num= , Per=  ] VP [Num= , Per=  ]

Feature structures A feature-structure is a set of feature-value pairs A feature-structure is also called an Attribute-Value Matrix (AVM) [] feature-1value-1 feature-2value-2 …… feature-Nvalue-N

Examples [(Cat,NP),(Number,SG),(Person,3)] [CatNP Agr[NumberSG Person3 ]

Sharing [CatS Head[ Agr1:[ NumberSG Person3 ] Subject[ Agr [1] ] ]

Unification examples on board.