Dependency Grammar. Linguistics 614 Spring With thanks to Sandra Kübler and Joakim Nivre. Dependency Grammar 1(29)

Similar documents
Dependency Annotation of Coordination for Learner Language

Developing a TT-MCTAG for German with an RCG-based Parser

Grammars & Parsing, Part 1:

Introduction to HPSG. Introduction. Historical Overview. The HPSG architecture. Signature. Linguistic Objects. Descriptions.

11/29/2010. Statistical Parsing. Statistical Parsing. Simple PCFG for ATIS English. Syntactic Disambiguation

CS 598 Natural Language Processing

UNIVERSITY OF OSLO Department of Informatics. Dialog Act Recognition using Dependency Features. Master s thesis. Sindre Wetjen

LING 329 : MORPHOLOGY

Basic Syntax. Doug Arnold We review some basic grammatical ideas and terminology, and look at some common constructions in English.

Case government vs Case agreement: modelling Modern Greek case attraction phenomena in LFG

LTAG-spinal and the Treebank

Accurate Unlexicalized Parsing for Modern Hebrew

MODELING DEPENDENCY GRAMMAR WITH RESTRICTED CONSTRAINTS. Ingo Schröder Wolfgang Menzel Kilian Foth Michael Schulz * Résumé - Abstract

Basic Parsing with Context-Free Grammars. Some slides adapted from Julia Hirschberg and Dan Jurafsky 1

Approaches to control phenomena handout Obligatory control and morphological case: Icelandic and Basque

Syntactic Dependencies for Multilingual and Multilevel Corpus Annotation

A Minimalist Approach to Code-Switching. In the field of linguistics, the topic of bilingualism is a broad one. There are many

Proof Theory for Syntacticians

Parsing of part-of-speech tagged Assamese Texts

Some Principles of Automated Natural Language Information Extraction

Inleiding Taalkunde. Docent: Paola Monachesi. Blok 4, 2001/ Syntax 2. 2 Phrases and constituent structure 2. 3 A minigrammar of Italian 3

Underlying and Surface Grammatical Relations in Greek consider

ENGBG1 ENGBL1 Campus Linguistics. Meeting 2. Chapter 7 (Morphology) and chapter 9 (Syntax) Pia Sundqvist

Derivational: Inflectional: In a fit of rage the soldiers attacked them both that week, but lost the fight.

Specifying a shallow grammatical for parsing purposes

The presence of interpretable but ungrammatical sentences corresponds to mismatches between interpretive and productive parsing.

Feature-Based Grammar

Constraining X-Bar: Theta Theory

THE INTERNATIONAL JOURNAL OF HUMANITIES & SOCIAL STUDIES

Dependency, licensing and the nature of grammatical relations *

1/20 idea. We ll spend an extra hour on 1/21. based on assigned readings. so you ll be ready to discuss them in class

Syntax Parsing 1. Grammars and parsing 2. Top-down and bottom-up parsing 3. Chart parsers 4. Bottom-up chart parsing 5. The Earley Algorithm

Adding syntactic structure to bilingual terminology for improved domain adaptation

Ensemble Technique Utilization for Indonesian Dependency Parser

Project in the framework of the AIM-WEST project Annotation of MWEs for translation

Pseudo-Passives as Adjectival Passives

"f TOPIC =T COMP COMP... OBJ

Chapter 4: Valence & Agreement CSLI Publications

AQUA: An Ontology-Driven Question Answering System

Minimalism is the name of the predominant approach in generative linguistics today. It was first

Towards a Machine-Learning Architecture for Lexical Functional Grammar Parsing. Grzegorz Chrupa la

Achim Stein: Diachronic Corpora Aston Corpus Summer School 2011

Construction Grammar. University of Jena.

FinnTreeBank: Creating a research resource and service for language researchers with Constraint Grammar

Prediction of Maximal Projection for Semantic Role Labeling

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

Control and Boundedness

The Interface between Phrasal and Functional Constraints

Adapting Stochastic Output for Rule-Based Semantics

Intra-talker Variation: Audience Design Factors Affecting Lexical Selections

A Framework for Customizable Generation of Hypertext Presentations

An Introduction to the Minimalist Program

Context Free Grammars. Many slides from Michael Collins

Procedia - Social and Behavioral Sciences 154 ( 2014 )

Theoretical Syntax Winter Answers to practice problems

Derivational and Inflectional Morphemes in Pak-Pak Language

Noun incorporation in Sora: A case for incorporation as morphological merger TLS: 19 February Introduction.

Hindi-Urdu Phrase Structure Annotation

What Can Neural Networks Teach us about Language? Graham Neubig a2-dlearn 11/18/2017

Survey on parsing three dependency representations for English

Modeling Attachment Decisions with a Probabilistic Parser: The Case of Head Final Structures

The Discourse Anaphoric Properties of Connectives

Universal Grammar 2. Universal Grammar 1. Forms and functions 1. Universal Grammar 3. Conceptual and surface structure of complex clauses

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Loughton School s curriculum evening. 28 th February 2017

Annotation Projection for Discourse Connectives

The building blocks of HPSG grammars. Head-Driven Phrase Structure Grammar (HPSG) HPSG grammars from a linguistic perspective

How to analyze visual narratives: A tutorial in Visual Narrative Grammar

Using dialogue context to improve parsing performance in dialogue systems

Enhancing Unlexicalized Parsing Performance using a Wide Coverage Lexicon, Fuzzy Tag-set Mapping, and EM-HMM-based Lexical Probabilities

Compositional Semantics

The Indiana Cooperative Remote Search Task (CReST) Corpus

Beyond the Pipeline: Discrete Optimization in NLP

Visual CP Representation of Knowledge

Target Language Preposition Selection an Experiment with Transformation-Based Learning and Aligned Bilingual Data

Character Stream Parsing of Mixed-lingual Text

A High-Quality Web Corpus of Czech

A Computational Evaluation of Case-Assignment Algorithms

A relational approach to translation

Dissertation Summaries. Headedness in Word Formation and Lexical Semantics: Evidence from Italiot and Cypriot (University of Patras, 2014)*

Chunk Parsing for Base Noun Phrases using Regular Expressions. Let s first let the variable s0 be the sentence tree of the first sentence.

CAAP. Content Analysis Report. Sample College. Institution Code: 9011 Institution Type: 4-Year Subgroup: none Test Date: Spring 2011

Argument structure and theta roles

Depling Third International Conference on Dependency Linguistics. Proceedings of the Conference

The Pennsylvania State University. The Graduate School. College of the Liberal Arts THE TEACHABILITY HYPOTHESIS AND CONCEPT-BASED INSTRUCTION

L1 and L2 acquisition. Holger Diessel

Chapter 3: Semi-lexical categories. nor truly functional. As Corver and van Riemsdijk rightly point out, There is more

LEXICAL COHESION ANALYSIS OF THE ARTICLE WHAT IS A GOOD RESEARCH PROJECT? BY BRIAN PALTRIDGE A JOURNAL ARTICLE

LFG Semantics via Constraints

Refining the Design of a Contracting Finite-State Dependency Parser

Som and Optimality Theory

Welcome to the Purdue OWL. Where do I begin? General Strategies. Personalizing Proofreading

National Literacy and Numeracy Framework for years 3/4

In Udmurt (Uralic, Russia) possessors bear genitive case except in accusative DPs where they receive ablative case.

Parallel Evaluation in Stratal OT * Adam Baker University of Arizona

The Internet as a Normative Corpus: Grammar Checking with a Search Engine

Content Language Objectives (CLOs) August 2012, H. Butts & G. De Anda

Ch VI- SENTENCE PATTERNS.

An Interactive Intelligent Language Tutor Over The Internet

Measuring the relative compositionality of verb-noun (V-N) collocations by integrating features

Transcription:

Dependency Grammar Linguistics 614 Spring 2010 With thanks to Sandra Kübler and Joakim Nivre Dependency Grammar 1(29)

Dependency Grammar Not a coherent grammatical framework: wide range of different kinds of DG just as there are wide ranges of generative syntax Different core ideas than phrase structure grammar We will base a lot of our discussion on [Mel čuk(1988)] Dependency grammar is important for those interested in CL: Increasing interest in dependency-based approaches to syntactic parsing in recent years (e.g., CoNLL-X shared task, 2006) Dependency Grammar 2(29)

Dependency Syntax The basic idea: Syntactic structure consists of lexical items, linked by binary asymmetric relations called dependencies. In the (translated) words of Lucien Tesnière [Tesnière(1959)]: The sentence is an organized whole, the constituent elements of which are words. [1.2] Every word that belongs to a sentence ceases by itself to be isolated as in the dictionary. Between the word and its neighbors, the mind perceives connections, the totality of which forms the structure of the sentence. [1.3] The structural connections establish dependency relations between the words. Each connection in principle unites a superior term and an inferior term. [2.1] The superior term receives the name governor. The inferior term receives the name subordinate. Thus, in the sentence Alfred parle [...], parle is the governor and Alfred the subordinate. [2.2] Dependency Grammar 3(29)

Overview: constituency (1) Small birds sing loud songs What you might be more used to seeing: S NP VP Small birds sing NP loud songs Dependency Grammar 4(29)

Overview: dependency The corresponding dependency tree representations [Hudson(2000)]: obj nmod sbj nmod Small birds sing loud songs sing sbj obj birds songs nmod nmod small loud Dependency Grammar 5(29)

Constituency vs. Relations DG is based on relationships between words, i.e., dependency relations A B means A governs B or B depends on A... Dependency relations can refer to syntactic properties, semantic properties, or a combination of the two Some variants of DG separate syntactic and semantic relations by representing different layers of dependency structures These relations are generally things like subject, object/complement, (pre-/post-)adjunct, etc. Subject/Agent: John fished. Object/Patient: Mary hit John. PSG is based on groupings, or constituents Grammatical relations are not usually seen as primitives, but as being derived from structure Dependency Grammar 6(29)

Simple relation example For the sentence John loves Mary, we have the relations: loves subj John loves obj Mary Both John and Mary depend on loves, which makes loves the head, or root, of the sentence (i.e., there is no word that governs loves) The structure of a sentence, then, consists of the set of pairwise relations among words. Dependency Grammar 7(29)

Dependency Structure p obj pc nmod sbj nmod nmod nmod Economic news had little effect on financial markets. Dependency Grammar 8(29)

Terminology Superior Head Governor Regent. Inferior Dependent Modifier Subordinate. Dependency Grammar 9(29)

Notational Variants sbj news nmod Economic had obj effect nmod little nmod on p pc. markets nmod financial Dependency Grammar 10(29)

Notational Variants VBD sbj p obj nmod NN nmod NN nmod PU JJ JJ IN pc nmod JJ NNS Economic news had little effect on financial markets. Dependency Grammar 10(29)

Notational Variants p obj pc nmod sbj nmod nmod nmod Economic news had little effect on financial markets. Dependency Grammar 10(29)

Notational Variants p obj pc nmod sbj nmod nmod nmod Economic news had little effect on financial markets. Dependency Grammar 10(29)

Phrase Structure S VP NP PP NP NP NP PU JJ NN VBD JJ NN IN JJ NNS Economic news had little effect on financial markets. Dependency Grammar 11(29)

Comparison Dependency structures explicitly represent head-dependent relations (directed arcs), functional categories (arc labels), possibly some structural categories (parts-of-speech). Phrase structures explicitly represent phrases (nonterminal nodes), structural categories (nonterminal labels), possibly some functional categories (grammatical functions). Hybrid representations may combine all elements. Dependency Grammar 12(29)

Some Theoretical Frameworks Word Grammar (WG) [Hudson(1984), Hudson(1990)] Functional Generative Description (FGD) [Sgall et al.(1986)sgall, Hajičová and Panevová] Dependency Unification Grammar (DUG) [Hellwig(1986), Hellwig(2003)] Meaning-Text Theory (MTT) [Mel čuk(1988)] (Weighted) Constraint Dependency Grammar ([W]CDG) [Maruyama(1990), Harper and Helzerman(1995), Menzel and Schröder(1998), Schröder(2002)] Functional Dependency Grammar (FDG) [Tapanainen and Järvinen(1997), Järvinen and Tapanainen(1998)] Topological/Extensible Dependency Grammar ([T/X]DG) [Duchier and Debusmann(2001), Debusmann et al.(2004)debusmann, Duchier and Kruijff] Dependency Grammar 13(29)

Some Theoretical Issues Dependency structure sufficient as well as necessary? Mono-stratal or multi-stratal syntactic representations? What is the nature of lexical elements (nodes)? Morphemes? Word forms? Multi-word units? What is the nature of dependency types (arc labels)? Grammatical functions? Semantic roles? What are the criteria for identifying heads and dependents? What are the formal properties of dependency structures? Dependency Grammar 14(29)

Some Theoretical Issues Dependency structure sufficient as well as necessary? Mono-stratal or multi-stratal syntactic representations? What is the nature of lexical elements (nodes)? Morphemes? Word forms? Multi-word units? What is the nature of dependency types (arc labels)? Grammatical functions? Semantic roles? What are the criteria for identifying heads and dependents? What are the formal properties of dependency structures? Dependency Grammar 14(29)

Criteria for Heads and Dependents Criteria for a syntactic relation between a head H and a dependent D in a construction C [Zwicky(1985), Hudson(1990)]: 1. H determines the syntactic category of C; H can replace C. 2. H determines the semantic category of C; D specifies H. 3. H is obligatory; D may be optional. 4. H selects D and determines whether D is obligatory. 5. The form of D depends on H (agreement or government). 6. The linear position of D is specified with reference to H. Issues: Syntactic (and morphological) versus semantic criteria Exocentric versus endocentric constructions Dependency Grammar 15(29)

Some Clear Cases Construction Head Dependent Exocentric Verb Subject (sbj) Verb Object (obj) Endocentric Verb Adverbial (vmod) Noun Attribute (nmod) sbj obj nmod vmod nmod Economic news suddenly affected financial markets. Dependency Grammar 16(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation? I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg sbj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg? sbj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbar sbj vg obj sbj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg sbar obj sbj?? I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg sbar obj sbj co cj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg sbar obj sbj? co cj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation sbj vg sbar obj sbj vc pc co cj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation? sbar sbj vg obj sbj vc pc co cj I can see that they rely on this and that. Dependency Grammar 17(29)

Some Tricky Cases Complex verb groups (auxiliary main verb) Subordinate clauses (complementizer verb) Coordination (coordinator conjuncts) Prepositional phrases (preposition nominal) Punctuation p sbar sbj vg obj sbj vc pc co cj I can see that they rely on this and that. Dependency Grammar 17(29)

Dependency Graphs A dependency structure can be defined as a directed graph G, consisting of a set V of nodes, a set E of arcs (edges), a linear precedence order < on V (not in every theory) Labeled graphs: Nodes in V are labeled with word forms (and annotation). Arcs in E are labeled with dependency types. Notational conventions (i,j V ): i j (i, j) E i j i = j k : i k, k j Dependency Grammar 18(29)

Formal Conditions on Dependency Graphs Intuitions: Syntactic structure is complete (Connectedness). Syntactic structure is hierarchical (Acyclicity). Every word has at most one syntactic head (Single-Head). Connectedness can be enforced by adding a special root node. obj pc nmod sbj nmod nmod nmod Economic news had little effect on financial markets. Dependency Grammar 19(29)

Formal Conditions on Dependency Graphs Intuitions: Syntactic structure is complete (Connectedness). Syntactic structure is hierarchical (Acyclicity). Every word has at most one syntactic head (Single-Head). Connectedness can be enforced by adding a special root node. p pred obj pc nmod sbj nmod nmod nmod root Economic news had little effect on financial markets. Dependency Grammar 19(29)

Formal Conditions on Dependency Graphs G is (weakly) connected: For every node i there is a node j such that i j or j i. G is acyclic: If i j then not j i. G obeys the single-head constraint: If i j, then not k j, for any k i. G is projective: If i j then i k, for any k such that i <k <j or j <k <i. Dependency Grammar 20(29)

Projectivity Projectivity (or, less commonly, adjacency [Hudson(1990)]) A head (A) and a dependent (B) must be adjacent: A is adjacent to B provided that every word between A and B is a subordinate of A. (2) with great difficulty (3) *great with difficulty with difficulty difficulty great *great with difficulty is ruled out because branches would have to cross in that case Dependency Grammar 21(29)

Projectivity Most theoretical frameworks do not assume projectivity. Non-projective structures are needed to account for long-distance dependencies, free word order. vg pc p sbj nmod obj nmod nmod What did economic news have little effect on? Dependency Grammar 22(29)

Valency and Grammaticality An important concept in many variants of DG is that of valency = the ability of a word to take arguments A lexicon might look like the following [Hajič et al.(2003)hajič, Panevová, Urešová, Bémová, Kolářová and Pajas]: Slot 1 Slot 2 Slot 3 sink 1 ACT(nom) PAT(acc) sink 2 PAT(nom) give ACT(nom) PAT(acc) ADDR(dat) To determine grammaticality (roughly)... 1. Words have valency requirements that must be satisfied 2. Apply general rules to the valencies to see if a sentence is valid Dependency Grammar 23(29)

Capturing Adjuncts and Complements There are two main kinds of dependencies for A B: Head-Complement: if A (the head) has a slot for B, then B is a complement Head-Adjunct: if B has a slot for A (the head), then B is an adjunct B is dependent on A in either case, but the selector is different The adjunct/complement distinction is captured in the type of dependency relation and/or in the lexicon Dependency Grammar 24(29)

Layers of dependencies [Mel čuk(1988)] allows for different dependency layers It looks like a subject depends on the verb, but the form of the verb depends on the subject (mutual dependence): (4) a. The child is playing. Solution: b. The children are playing. Dependence of child/children on the verb is syntactic Dependence of the verb(form) on the subject is morphological Dependency Grammar 25(29)

Double dependencies Likewise, here it seems that clean depends both on the verb wash and on the noun dish (5) Wash the dish clean. Solution: Dependence of clean on wash is syntactic (cf. case) Dependence of clean on dish is semantic (cf. gender) (6) My našli zal pust-ym We found the hall masc empty masc.sg.inst Dependency Grammar 26(29)

Double dependencies (2) Hudson s Word Grammar [Hudson(2004)] explicitly allows for structure-sharing, explicitly violating the single-head constraint: wash clean dish clean NB: Hudson also uses this to account for non-projectivity Dependency Grammar 27(29)

Relation to phrase structure What is the relation between DG and PSG? If a PS tree has heads marked, then you can derive the dependencies Likewise, a DG tree can be converted into a PS tree by grouping a word with its dependents But what the constituents are is still open (binary-branching, flat) And phrases are not categorized Dependency Grammar 28(29)

Advantages and Disadvantages of DG Advantages: Close connection to semantic representation More flexible structure for, e.g., non-constituent coordination Easier to capture some typological regularities Vast & expanding body of computational work on dependency parsing Disadvantages: No constituents makes analyzing coordination difficult No distinction between modifying a constituent vs. an individual word Harder to capture things like, e.g., subject-object asymmetries Dependency Grammar 29(29)

Debusmann, Ralph, Denys Duchier and Geert-Jan M. Kruijff (2004). Extensible Dependency Grammar: A New Methodology. In Proceedings of the Workshop on Recent Advances in Dependency Grammar. pp. 78 85. Duchier, Denys and Ralph Debusmann (2001). Topological Dependency Trees: A Constraint-based Account of Linear Precedence. In Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics (ACL). pp. 180 187. Hajič, Jan, Jarmila Panevová, Zdeňka Urešová, Alevtina Bémová, Veronika Kolářová and Petr Pajas (2003). PDT-VALLEX: Creating a Large-coverage Valency Lexicon for Treebank Annotation. In Proceedings of the Second Workshop on Treebanks and Linguistic Theories (TLT 2003). Växjö, Sweden, pp. 57 68. http://w3.msi.vxu.se/~rics/tlt2003/doc/hajic_et_al.pdf. Harper, Mary P. and R. A. Helzerman (1995). Extensions to constraint dependency parsing for spoken language processing. Computer Speech and Language 9, 187 234. Hellwig, Peter (1986). Dependency Unification Grammar. In Proceedings of the 11th International Conference on Computational Linguistics (COLING). pp. 195 198. Hellwig, Peter (2003). Dependency Unification Grammar. References Dependency Grammar 29(29)

In Vilmos Agel, Ludwig M. Eichinger, Hans-Werner Eroms, Peter Hellwig, Hans Jürgen Heringer and Hening Lobin (eds.), Dependency and Valency, Walter de Gruyter, pp. 593 635. Hudson, Richard A. (1984). Word Grammar. Blackwell. Hudson, Richard A. (1990). English Word Grammar. Blackwell. References Hudson, Richard A. (2000). Dependency Grammar Course Notes. http://www.cs.bham.ac.uk/research/conferences/esslli/notes/hudson.\html. Hudson, Richard A. (2004). Word Grammar. http://www.phon.ucl.ac.uk/home/dick/intro.htm. Järvinen, Timo and Pasi Tapanainen (1998). Towards an Implementable Dependency Grammar. In Sylvain Kahane and Alain Polguère (eds.), Proceedings of the Workshop on Processing of Dependency-Based Grammars. pp. 1 10. Maruyama, Hiroshi (1990). Structural Disambiguation with Constraint Propagation. In Proceedings of the 28th Meeting of the Association for Computational Linguistics (ACL). pp. 31 38. Mel čuk, Igor (1988). Dependency Syntax: Theory and Practice. Dependency Grammar 29(29)

References State University of New York Press. Menzel, Wolfgang and Ingo Schröder (1998). Decision Procedures for Dependency Parsing Using Graded Constraints. In Sylvain Kahane and Alain Polguère (eds.), Proceedings of the Workshop on Processing of Dependency-Based Grammars. pp. 78 87. Schröder, Ingo (2002). Natural Language Parsing with Graded Constraints. Ph.D. thesis, Hamburg University. Sgall, Petr, Eva Hajičová and Jarmila Panevová (1986). The Meaning of the Sentence in Its Pragmatic Aspects. Reidel. Tapanainen, Pasi and Timo Järvinen (1997). A non-projective dependency parser. In Proceedings of the 5th Conference on Applied Natural Language Processing. pp. 64 71. Tesnière, Lucien (1959). Éléments de syntaxe structurale. Editions Klincksieck. Zwicky, A. M. (1985). Heads. Journal of Linguistics 21, 1 29. Dependency Grammar 29(29)