Tree-Adjoining Grammar (TAG)

Slides:



Advertisements
Similar presentations
Notes on TAG (LTAG) and Feature Structures September AKJ.
Advertisements

Translator Architecture Code Generator ParserTokenizer string of characters (source code) string of tokens abstract program string of integers (object.
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.
May 2006CLINT-LN Parsing1 Computational Linguistics Introduction Approaches to Parsing.
Parsing with Context Free Grammars Reading: Chap 13, Jurafsky & Martin
GRAMMAR & PARSING (Syntactic Analysis) NLP- WEEK 4.
For Monday Read Chapter 23, sections 3-4 Homework –Chapter 23, exercises 1, 6, 14, 19 –Do them in order. Do NOT read ahead.
LTAG Semantics on the Derivation Tree Presented by Maria I. Tchalakova.
Natural Language Processing - Feature Structures - Feature Structures and Unification.
Insert A tree starts with the dummy node D D 200 D 7 Insert D
CS 4705 Lecture 17 Semantic Analysis: Syntax-Driven Semantics.
CIS 630 Slides for March Schedule We missed two classes. I will try to make up in April Spring break– Week of March 8 Your presentations I would.
Extracting LTAGs from Treebanks Fei Xia 04/26/07.
Parsing — Part II (Ambiguity, Top-down parsing, Left-recursion Removal)
1/15 Synchronous Tree-Adjoining Grammars Authors: Stuart M. Shieber and Yves Schabes Reporter: 江欣倩 Professor: 陳嘉平.
MC-TAG, flexible composition, etc. ARAVIND K. JOSHI March
CS 4705 Lecture 7 Parsing with Context-Free Grammars.
1 CONTEXT-FREE GRAMMARS. NLE 2 Syntactic analysis (Parsing) S NPVP ATNNSVBD NP AT NNthechildrenate thecake.
Specifying Languages CS 480/680 – Comparative Languages.
Parsing SLP Chapter 13. 7/2/2015 Speech and Language Processing - Jurafsky and Martin 2 Outline  Parsing with CFGs  Bottom-up, top-down  CKY parsing.
Notes on TAG (LTAG) and Feature Structures Aravind K. Joshi April
1 Basic Parsing with Context Free Grammars Chapter 13 September/October 2012 Lecture 6.
Fractions that Equal Whole Numbers
SI485i : NLP Set 9 Advanced PCFGs Some slides from Chris Manning.
1 CPE 480 Natural Language Processing Lecture 5: Parser Asst. Prof. Nuttanart Facundes, Ph.D.
For Friday Finish chapter 23 Homework: –Chapter 22, exercise 9.
Tree-adjoining grammar (TAG) is a grammar formalism defined by Aravind Joshi and introduced in Tree-adjoining grammars are somewhat similar to context-free.
Intro to NLP - J. Eisner1 Tree-Adjoining Grammar (TAG) One of several formalisms that are actually more powerful than CFG Note: CFG with features.
May 2006CLINT-LN Parsing1 Computational Linguistics Introduction Parsing with Context Free Grammars.
October 2005csa3180: Parsing Algorithms 11 CSA350: NLP Algorithms Sentence Parsing I The Parsing Problem Parsing as Search Top Down/Bottom Up Parsing Strategies.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 4.
For Wednesday Read chapter 23 Homework: –Chapter 22, exercises 1,4, 7, and 14.
CPE 480 Natural Language Processing Lecture 4: Syntax Adapted from Owen Rambow’s slides for CSc Fall 2006.
1 Context Free Grammars October Syntactic Grammaticality Doesn’t depend on Having heard the sentence before The sentence being true –I saw a unicorn.
NLP. Introduction to NLP Shallow parsing Useful for information extraction –noun phrases, verb phrases, locations, etc. Example –FASTUS (Appelt and Israel,
csa3050: Parsing Algorithms 11 CSA350: NLP Algorithms Parsing Algorithms 1 Top Down Bottom-Up Left Corner.
Supertagging CMSC Natural Language Processing January 31, 2006.
CS 4705 Lecture 7 Parsing with Context-Free Grammars.
Natural Language Processing Lecture 15—10/15/2015 Jim Martin.
Lecture 3: Parsing CS 540 George Mason University.
CPSC 422, Lecture 27Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27 Nov, 16, 2015.
Overview of Previous Lesson(s) Over View 3 Model of a Compiler Front End.
Semantics cCS 224n / Lx 237 Tuesday, May With slides borrowed from Jason Eisner.
CS460/626 : Natural Language Processing/Speech, NLP and the Web (Lecture 25– Probabilistic Parsing) Pushpak Bhattacharyya CSE Dept., IIT Bombay 14 th March,
Speech and Language Processing SLP Chapter 13 Parsing.
Parsing with Context Free Grammars. Slide 1 Outline Why should you care? Parsing Top-Down Parsing Bottom-Up Parsing Bottom-Up Space (an example) Top -
Chapter 3: Describing Syntax and Semantics
CSC 594 Topics in AI – Natural Language Processing
Parsing — Part II (Top-down parsing, left-recursion removal)
Parsing & Context-Free Grammars
CS510 Compiler Lecture 4.
Context-free grammars, derivation trees, and ambiguity
Statistical NLP: Lecture 3
Basic Parsing with Context Free Grammars Chapter 13
Syntax Specification and Analysis
Parsing — Part II (Top-down parsing, left-recursion removal)
Statistical NLP Spring 2011
Parsing Techniques.
Database Applications (15-415) DBMS Internals- Part III Lecture 15, March 11, 2018 Mohammad Hammoud.
CSCI 5832 Natural Language Processing
Lecture 3: Introduction to Syntax (Cont’)
Compiler Design 4. Language Grammars
Instructor: Nick Cercone CSEB -
Programming Language Syntax 5
CSCI 5832 Natural Language Processing
Parsing — Part II (Top-down parsing, left-recursion removal)
Operator precedence and AST’s
With slides borrowed from Jason Eisner
Parsing I: CFGs & the Earley Parser
Operator Precedence and Associativity
Presentation transcript:

Tree-Adjoining Grammar (TAG) One of several formalisms that are actually more powerful than CFG Note: CFG with features isn’t any more powerful than vanilla CFG. (Why? what do we mean by “more powerful”?) 600.465 - Intro to NLP - J. Eisner

Read the Transparencies This lecture used transparencies. But here are some very brief notes to remind you what we covered. The transparencies are now online, too. 600.465 - Intro to NLP - J. Eisner

What CFG and TAG Share Build a tree from a bunch of tree fragments technically, build a derived tree from elementary trees The collection of allowed fragments is the grammar! The fragments might correspond to context-free rules, but they might be bigger as in TAG Semantics associated with every fragment 600.465 - Intro to NLP - J. Eisner

Substitution Substitution: Stick an appropriate initial tree fragment at the bottom of a tree (to expand a childless nonterminal node) Fills semantic slots of other words Get templates and idioms for free: “NP called NP up,” “NP kicked the bucket” 600.465 - Intro to NLP - J. Eisner

Adjunction Adjunction: Stick an appropriate auxiliary tree fragment into the middle of a tree Splits a node into two parts and sticks some material between them Good for adding optional modifiers Good for long-distance dependencies Why insert into the middle? Because the insertion doesn’t affect the specified semantic relations among nodes in the original fragment 600.465 - Intro to NLP - J. Eisner

Features Still need features with TAGs Every elementary tree has some features If a node can be split, it must specify which features will get associated with the top half vs. bottom half Have to do unification or checking to figure out the values of the features after all the substitution and adjunction is done. This tells us how to do morphology legally. 600.465 - Intro to NLP - J. Eisner