seminar presentation · seminar presentation grammars for trees and graphs guadalupe romero sourav...

25
Tree-Adjoining Grammars (TAGs) Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018

Upload: others

Post on 28-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

Tree-Adjoining Grammars (TAGs)

Seminar Presentation

Grammars for Trees and Graphs

Guadalupe RomeroSourav Dutta

08 November 2018

Page 2: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

AGENDA

● TAG

– Definition, types of trees, properties, constraints

– Derivation trees

● Lexicalized Grammars

● Linguistic Relevance of TAG

● Applications of TAG

● Some Variants of TAG

● Conclusion

Page 3: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

TREE?

0

Source: Wikipedia

Page 4: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

DEFINITION

● a quintuple (Σ, NT, I, A, S)Σ, NT, I, A, S)NT, NT, I, A, S)I, NT, I, A, S)A, NT, I, A, S)S)

– Σ = a finite set of terminal symbols

– NT = a finite set of non-terminal symbols (Σ ∩ NT = ϕ)Σ ∩ NT = ϕ))

– I = a finite set of finite trees (Σ ∩ NT = ϕ)Initial trees)

– A = a finite set of finite trees (Σ ∩ NT = ϕ)Auxiliary trees)

– S = a distinguished non-terminal symbol (Σ ∩ NT = ϕ)S NT)∈ NT)

● Operations

– Substitution

– Adjunction

Page 5: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

Types of Trees in TAGs

Elementary Trees Derived Trees

Initial Trees Auxiliary Trees

Source: TAG (Joshi & Shabes 1997)

Page 6: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

Types of Trees in TAGs

Source: TAG (Joshi & Shabes 1997)

Page 7: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

SUBSTITUTION

● Takes place on a non-terminal leaf node

● The node where substitution is allowed is marked with a ↓

● That node is replaced by a tree with the same node as its root

Source: TAG (Joshi & Shabes 1997)

Page 8: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

SUBSTITUTION

Source: TAG (Joshi & Shabes 1997)

Page 9: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

ADJUNCTION

● Builds a new tree from an auxiliary tree β (with root X) and any other tree α

● β has a frontier node marked with the symbol *

● A sub-tree t (root X) of α is removed leaving behind a copy of X

● β is copied to the X left behind in α

● Sub-tree t is attached to a foot-node (with label X) of β

Source: TAG (Joshi & Shabes 1997)

Page 10: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

ADJUNCTION

1

2

Source: TAG (Joshi & Shabes 1997)

Page 11: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

ADJOINING CONSTRAINTS

● Selective Adjunction – S A (Σ ∩ NT = ϕ)T)

– Only members of T A ⊆ A of auxiliary trees

– Adjunction is not mandatory

● Null Adjunction – N A

– No adjunction is allowed

– N A = S A (Σ ∩ NT = ϕ)ϕ))

● Obligatory Adjunction – O A (Σ ∩ NT = ϕ)T)

– An auxiliary tree member of T A ⊆ A must be adjoined

Page 12: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

DERIVATION TREES

● A derived tree does not tell how it was constructed

● The Derivation Tree specifies how a derived tree was constructed

● Both Substitution and Adjunction are considered in Derivation trees

● Substitution operations are denoted by dashed lines (- - - -)

● Adjunction operations are denoted by unbroken lines ( )

“ Yesterday a man saw Mary ”

Page 13: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

DERIVATION TREES

Source: TAG (Joshi & Shabes 1997)

Page 14: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

DERIVATION TREES

Source: TAG (Joshi & Shabes 1997)

Page 15: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

LEXICALIZED GRAMMARS

Consist of:

1) Finite set of structures each associated with a lexical item (anchor)

2) Operation/s for building these structures

Linguistic interest:

Rules should not be separated totally from their lexical realization

Page 16: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

LEXICALIZED GRAMMARS

Substitution alone is too restrictive:

- We can only add elements to the leaves of a tree

- We cannot lexicalize a tree or it doesn’t make sense linguistically (cannot freely

choose the anchors)

The power of adjoining:

- The distance between two nodes can be increased, i. e., we can insert a tree inside

of another tree (unlike substitution)

- The tree can be lexicalized (and with enough freedom to make sense linguistically)

Page 17: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

LINGUISTIC RELEVANCE

We can increase the distance between two dependent elements and obtain long-distance

dependencies.

Example: Who did John tell Sam that Bill likes

Page 18: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

Elementary Trees

Page 19: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

1

Dependency

2

Page 20: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

Derived Tree

Page 21: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

LINGUISTIC RELEVANCE

Other examples...

Extraposition:

A relatively "heavy" constituent appears to the right of its canonical position.

Subordinate clauses:

Maria glaubt, dass Peter freundlich ist.

with red hairwas there .Some guy

Page 22: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

APPLICATIONS OF TAG

● Can describe the language of squares, that is, of the form { yy | y {0, 1}* }∈ NT)

● Can describe languages of the form { an bn cn dn | n >= 1 }

● Lexicalization of CFGs

● Long-distance dependencies in language

Page 23: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

SOME VARIANTS OF TAG

● Feature Structure Based TAGs

● Synchronous TAGs

● Probabilistic TAGs

● Using Description Trees in TAGs

● Multi-component TAGs (MCTAGs)

Page 24: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

RECAP & CONCLUSION

● TAGs, Trees in TAG, Properties, Constraints

● Derivation trees

● Lexicalized Grammar

● Linguistic Relevance of TAGs

● Some applications and variants of TAGs

Page 25: Seminar Presentation · Seminar Presentation Grammars for Trees and Graphs Guadalupe Romero Sourav Dutta 08 November 2018. AGENDA TAG – Definition, types of trees, properties, constraints

If you have any questions, please contact us!

<do not>