 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.

Slides:



Advertisements
Similar presentations
Sentence Construction and the Syntactical Tree forms Lecture 6 Feed back of mid-test.
Advertisements

 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
BİL711 Natural Language Processing1 Problems with CFGs We know that CFGs cannot handle certain things which are available in natural languages. In particular,
Chapter 4 Syntax.
Syntax Constituency, Phrase structure rules LING 400 Winter 2010.
Grammars, constituency and order A grammar describes the legal strings of a language in terms of constituency and order. For example, a grammar for a fragment.
Dr. Abdullah S. Al-Dobaian1 Ch. 2: Phrase Structure Syntactic Structure (basic concepts) Syntactic Structure (basic concepts)  A tree diagram marks constituents.
Statistical NLP: Lecture 3
1 Features and Augmented Grammars Allen ’ s Chapter 4 J&M ’ s Chapter 11.
Natural Language Processing - Feature Structures - Feature Structures and Unification.
1 Pertemuan 23 Syntatic Processing Matakuliah: T0264/Intelijensia Semu Tahun: 2005 Versi: 1/0.
 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.
 Christel Kemke /08 COMP 4060 Natural Language Processing PARSING.
NLP and Speech 2004 Feature Structures Feature Structures and Unification.
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
 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 עיבוד שפות טבעיות - שיעור עשר Chart Parsing (cont) Features.
Amirkabir University of Technology Computer Engineering Faculty AILAB Efficient Parsing Ahmad Abdollahzadeh Barfouroush Aban 1381 Natural Language Processing.
Sag et al., Chapter 4 Complex Feature Values 10/7/04 Michael Mulyar.
Artificial Intelligence 2005/06 From Syntax to Semantics.
Features and Unification
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
 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.
Lect. 11Phrase structure rules Learning objectives: To define phrase structure rules To learn the forms of phrase structure rules To compose new sentences.
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.
Linguistics II Syntax. Rules of how words go together to form sentences What types of words go together How the presence of some words predetermines others.
Context-Free Parsing Part 2 Features and Unification.
11 CS 388: Natural Language Processing: Syntactic Parsing Raymond J. Mooney University of Texas at Austin.
1 Features and Unification Chapter 15 October 2012 Lecture #10.
Chapter 16: Features and Unification Heshaam Faili University of Tehran.
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.
1 Natural Language Processing Lecture Notes 11 Chapter 15 (part 1)
NLP. Introduction to NLP Is language more than just a “bag of words”? Grammatical rules apply to categories and groups of words, not individual words.
Today Phrase structure rules, trees Constituents Recursion Conjunction
Chapter 4: Syntax Part V.
11 Chapter 14 Part 1 Statistical Parsing Based on slides by Ray Mooney.
2007CLINT-LIN-FEATSTR1 Computational Linguistics for Linguists Feature Structures.
Linguistic Essentials
Culture , Language and Communication
Rules, Movement, Ambiguity
Artificial Intelligence: Natural Language
The man bites the dog man bites the dog bites the dog the dog dog Parse Tree NP A N the man bites the dog V N NP S VP A 1. Sentence  noun-phrase verb-phrase.
CSA2050 Introduction to Computational Linguistics Parsing I.
Section 11.3 Features structures in the Grammar ─ Jin Wang.
Artificial Intelligence 2004
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
SYNTAX.
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.
 2003 CSLI Publications Ling 566 Oct 17, 2011 How the Grammar Works.
NATURAL LANGUAGE PROCESSING
Syntax II. Specifiers Specifiers tell us more information about nouns, verbs, adjectives, adverbs and prepositions The, a, this, three, some, many etc.
Chapter 11: Parsing with Unification Grammars Heshaam Faili University of Tehran.
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.
Natural Language Processing Vasile Rus
Beginning Syntax Linda Thomas
Statistical NLP: Lecture 3
CKY Parser 0Book 1 the 2 flight 3 through 4 Houston5 11/16/2018
BBI 3212 ENGLISH SYNTAX AND MORPHOLOGY
Introduction to Computational Linguistics
Introduction to Linguistics
Linguistic Essentials
CPSC 503 Computational Linguistics
Artificial Intelligence 2004 Speech & Natural Language Processing
Presentation transcript:

 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification

2007/08  Christel Kemke Feature Structures - General Feature structures describe linguistic attributes or features like number, person associated with words or syntactic constituents like noun phrase. Feature structures are sets of features and values, e.g. hat[Numbersing ] buys[Person 3 ] [Numbersing ]

2007/08  Christel Kemke Feature Structures - Agreement Feature structures can be collected in one ‘variable’ called agreement. buys agreement [Person 3] [Number sing]

2007/08  Christel Kemke Feature Structures, Grammar, Parsing 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) example S → NP VP =

2007/08  Christel Kemke Feature Structures as Constraints Ungrammatical sentences like “He go” or “We goes” can be excluded using feature constraints. example S → NP VP = =

2007/08  Christel Kemke Add to feature structure category cat: buys cat verb agreement [Person 3 ] [Number sing] Feature Structures and Categories

2007/08  Christel Kemke Compare and combine feature structures: he buys buys cat verb agreement [Person 3] [Number sing] he cat noun agreement [Person 3] [Number sing] Feature Structures and Unification

2007/08  Christel Kemke Unification of Feature Structures Agreement is checked by the unification operation according to the following rules: [feature i value i ] |_| [feature i value i ] = [feature i value i ] [feature i value i ] |_| [feature i value j ] = failif value i  value j [feature i value i ] |_| [feature i undef.] = [feature i value i ] [feature i value i ] |_| [feature j value j ] = feature i value i feature j value j if feature i  feature j

2007/08  Christel Kemke "Inheritance" of Feature Structures Feature structures are "inherited" during parsing or generation, using the feature structure of the head of a phrase: NP  det Nom NP i=1,..,n  det Nom i=1,..,n Nom i=1,..,n  pre-Nom Nom i=1,..,n post-Nom Complex feature structures are often referenced through identifying numbers. Constraints on feature structures can be checked using these references; and the same feature structure can be used in different parts of the parse tree through reference. head

2007/08  Christel Kemke Features and Subcategorization 1 NP modifiers or Verb complements central noun + modifiers + agreement central verb + complements + agreements “... the man who chased the cat out of the house...” “... the man chased the barking dog who bit him...” Agreements are passed on / inherited within phrases, e.g. agreement of VP derived from Head-Verb of VP: determined by

2007/08  Christel Kemke Features and Subcategorization 2 NP modifiers: central noun + modifiers + agreement “... the man who chased the cat out of the house...” NP - determined by man - Verb complements: central verb + complements + agreements “... the man chased the barking dog who bit him...” VP- determined by chased-