tutorial on universal dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · tutorial...

52
Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim Nivre 1 Daniel Zeman 2 Filip Ginter 3 Francis M. Tyers 45 1 Department of Linguistics and Philology, Uppsala University, Sweden 2 Institute of Formal and Applied Linguistics, Charles University, Prague, Czechia 3 Department of Information Technology, University of Turku, Finland 4 Giela ja kultuvrra instituhtta, UiT Norgga árktalaš universitehta, Tromsø, Norway 5 Arvutiteaduse instituut, Tartu Ülikool, Estonia

Upload: others

Post on 05-Aug-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Tutorial on Universal DependenciesCross-linguistically consistent syntactic annotation

Joakim Nivre1 Daniel Zeman2 Filip Ginter3 Francis M. Tyers45

1Department of Linguistics and Philology, Uppsala University, Sweden

2Institute of Formal and Applied Linguistics, Charles University, Prague, Czechia

3Department of Information Technology, University of Turku, Finland

4Giela ja kultuvrra instituhtta, UiT Norgga árktalaš universitehta, Tromsø, Norway

5Arvutiteaduse instituut, Tartu Ülikool, Estonia

Page 2: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Cross-lingual Syntax

How can we do cross-lingual syntax ?

• Find the structures we expect to find in all languages• Describe how they are dealt with

• Using a representation that facilitates cross-linguistic parallelism

• Allow language-specific extensions

1

Page 3: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Approaches

Swedish

Danish

Spanish

Czech

Russian

Finnish

French

Basque

?Swedish

Danish

Spanish

Czech

Turkish

French

Basque

English

Kazakh

Russian

Croatian

Finnish

Slavic

Scandinavian

Turkic

UD tries to standardise between languages, and particularly:

• Within language groups• Between typologically similar constructions

2

Page 4: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Syntactic Annotation in UD

• Basic principles:• The primacy of content words• Clauses, nominals and modifier words• Core arguments vs. other dependents

• Universal and language-specific relations• Basic and enhanced dependencies

3

Page 5: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

The Primacy of Content Words

The dog was chased by the catDET NOUN AUX VERB ADP DET NOUN

det

nsubj:pass

aux:pass casedet

obl

Hunden jagades av kattenNOUN VERB ADP NOUN

Definite=Def Voice=Pass Definite=Def

nsubj:pass

case

obl

Pes byl honěn kočkouNOUN AUX VERB NOUN

Voice=Pass Case=Ins

nsubj:pass

aux:pass

obl

4

Page 6: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Three Types of Structures

• Clauses headed by a (possibly non-verbal) predicatethe cat chased the dogthe dog is cute

• Nominal phrasesthe cat on the matmy best friend

• Modifier wordsvery skillfullynot always

5

Page 7: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Core Arguments

• Arguments of basic intransitive and transitive verbs• Distinguished by one or more of the following properties:

• Verbs usually only agree with core arguments• Core arguments normally appear without adpositions• Certain cases, traditionally called nominative, accusative, and

absolutive are typically reserved core arguments• Core arguments often occupy special positions in the clause• Syntactic phenomena like control, relativisation and passivisation can

be restricted to core arguments

• UD distinguishes core arguments from oblique dependents• UD does not distinguish arguments from adjuncts

6

Page 8: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Syntactic Relations

7

Page 9: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

A Two-Level Architecture

• Universal relations• Broad categories to allow cross-linguistic comparison

• Language-specific relations• Subtypes to capture language-specific phenomena

Universal Language-Specificacl acl:relcl

compound compound:prtnmod nmod:poss

8

Page 10: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Basic clauses

8

Page 11: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Clauses

Clause

Predicate

Obliquemodifiers

Functionwords

CoreArguments

I sangPRON VERB

nsubj

I sang the songPRON VERB DET NOUN

nsubj detobj

I sang the song againPRON VERB DET NOUN ADV

nsubj detobj

advmod

I will sing the song againPRON AUX VERB DET NOUN ADV

nsubj

detauxobj

advmod

• Basic universal structure• Distinguish core from oblique• Function words are leaf nodes

9

Page 12: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Intransitive

• Single argument, nsubj

My friend arrived yesterdayPRON NOUN VERB ADV

nmod:poss nsubj advmod

Nire laguna atzo iritsi zenPRON NOUN ADV VERB AUX

Case=Abs

nmod

nsubj

advmod aux

10

Page 13: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Transitive

• Two arguments,• nsubj: The proto-Agent• obj: The proto-Patient

• Language-internal criteria• Case marking• Word order• Agreement• Valency changes

• Not exclusively case/semanticrole

I saw my friendPRON VERB PRON NOUN

nsubj

obj

nmod:poss

Nik nire laguna ikusi dutPRON PRON NOUN VERB AUX

Case=Erg Case=Abs

nsubj

nmod obj aux

11

Page 14: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Valency Changing

She wrote the bookPRON VERB DET NOUN

nsubj det

obj

O kitabı yazdımShe the book wrote

PRON NOUN VERBCase=Nom Case=Acc

nsubj

obj

The book was written by herDET NOUN AUX VERB ADP PRON

Voice=Pass

aux:passdet case

nsubj:pass obl:agent

Ben ona kitabı yazdırdımI her the book made write

PRON PRON NOUN VERBCase=Nom Case=Dat Case=Acc Voice=Caus

nsubj

iobj:caus

obj

• Annotate syntax, not semantic role• Optional use of subtypes for:

• Passive• Causative

12

Page 15: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Non-Verbal Predication

• At most one copula item• Semantically empty

• Predicate is head• Types:

• Equational• Attributional• Locational

I am a studentPRON AUX DET NOUN

nsubj

det

cop

Я студентI student

PRON NOUN

nsubj

Ben öğrenci -yimI student am

PRON NOUN AUXCase=Nom

nsubj cop

13

Page 16: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Non-Verbal Predication

• At most one copula item• Semantically empty

• Predicate is head• Types:

• Equational• Attributional• Locational

I am happyPRON AUX ADJ

nsubj

cop

Я счастливI happy

PRON ADJ

nsubj

Ben mutlu -yumI happy am

PRON ADJ AUX

nsubj cop

13

Page 17: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Non-Verbal Predication

• At most one copula item• Semantically empty

• Predicate is head• Types:

• Equational• Attributional• Locational

I am in ValènciaPRON AUX ADP PROPN

nsubj

case

cop

Я в ВаленцииI in València

PRON ADP PROPN

nsubj

case

Ben Valensiya’da -yımI in València am

PRON PROPN AUXCase=Loc

nsubj cop

13

Page 18: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Nominal phrases

13

Page 19: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Nominal Phrases

• Basic cross-lingual structure• Headed by a noun, proper noun

or pronoun• Does not take core arguments

Hon såg filmenShe saw the film

PRON VERB NOUN

objnsubj

Hon såg JonasShe saw Jonas

PRON VERB PROPN

objnsubj

Hon såg denShe saw it

PRON VERB PRON

objnsubj

14

Page 20: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Modifiers

• The type of dependent determines thelabel for the adnominal modifier:

Nominal nmodAdjectival amodNumeral nummod

• Additional label, appos, for apposition

the cat at homeDET NOUN ADP NOUN

det casenmod

the black catDET ADJ NOUN

det

amod

the five catsDET NUM NOUN

det

nummod

my cat , EricDET NOUN PUNCT PROPN

nmod:poss punctappos

15

Page 21: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Modifiers

• The type of dependent determines thelabel for the adnominal modifier:

Nominal nmodAdjectival amodNumeral nummod

• Additional label, appos, for apposition

the cat at homeDET NOUN ADP NOUN

det casenmod

the black catDET ADJ NOUN

det

amod

the five catsDET NUM NOUN

det

nummod

my cat , EricDET NOUN PUNCT PROPN

nmod:poss punctappos

15

Page 22: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Modifiers

• The type of dependent determines thelabel for the adnominal modifier:

Nominal nmodAdjectival amodNumeral nummod

• Additional label, appos, for apposition

the cat at homeDET NOUN ADP NOUN

det casenmod

the black catDET ADJ NOUN

det

amod

the five catsDET NUM NOUN

det

nummod

my cat , EricDET NOUN PUNCT PROPN

nmod:poss punctappos

15

Page 23: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Modifiers

• The type of dependent determines thelabel for the adnominal modifier:

Nominal nmodAdjectival amodNumeral nummod

• Additional label, appos, for apposition

the cat at homeDET NOUN ADP NOUN

det casenmod

the black catDET ADJ NOUN

det

amod

the five catsDET NUM NOUN

det

nummodnummod

my cat , EricDET NOUN PUNCT PROPN

nmod:poss punctappos

15

Page 24: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Modifiers

• The type of dependent determines thelabel for the adnominal modifier:

Nominal nmodAdjectival amodNumeral nummod

• Additional label, appos, for apposition

the cat at homeDET NOUN ADP NOUN

det casenmod

the black catDET ADJ NOUN

det

amod

the five catsDET NUM NOUN

det

nummod

my cat , EricDET NOUN PUNCT PROPN

nmod:poss punctappos

15

Page 25: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adpositional Phrases

• Single part-of-speech tag, ADP• Adpositions attach to the head

of the nominal phrase• relation: case

• Adpositional phrases areattached to

• clausal heads: obl• nominal heads: nmod

• Parallel with oblique NPs

vaig a la platjaVERB ADP DET NOUN

Definite=Def

obl

case

det

िकनारे को जा रहा हँूkinārē kō jā rahā hūmNOUN ADP VERB AUX AUX

obl

case aux

aux

ji peravê re diçimADP NOUN ADP VERB

Definite=Def

obl

case case

menen rannalleVERB NOUN

Case=All

obl

16

Page 26: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adpositional Phrases

• Single part-of-speech tag, ADP• Adpositions attach to the head

of the nominal phrase• relation: case

• Adpositional phrases areattached to

• clausal heads: obl• nominal heads: nmod

• Parallel with oblique NPs

vaig a la platjaVERB ADP DET NOUN

Definite=Def

obl

case

det

िकनारे को जा रहा हँूkinārē kō jā rahā hūmNOUN ADP VERB AUX AUX

obl

case aux

aux

ji peravê re diçimADP NOUN ADP VERB

Definite=Def

obl

case case

menen rannalleVERB NOUN

Case=All

obl

16

Page 27: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adpositional Phrases

• Single part-of-speech tag, ADP• Adpositions attach to the head

of the nominal phrase• relation: case

• Adpositional phrases areattached to

• clausal heads: obl• nominal heads: nmod

• Parallel with oblique NPs

vaig a la platjaVERB ADP DET NOUN

Definite=Def

obl

case

det

िकनारे को जा रहा हँूkinārē kō jā rahā hūmNOUN ADP VERB AUX AUX

obl

case aux

aux

ji peravê re diçimADP NOUN ADP VERB

Definite=Def

obl

case case

menen rannalleVERB NOUN

Case=All

obl

16

Page 28: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Complex clauses

16

Page 29: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Coordination

cats , dogs , and mice

conj

conj

punct

punct

cc

kediler , köpekler , ve fareler

conj

conj

punct

punct

cc

• Co-ordination is not a dependency relation• The “head” (parent node) is the first conjunct

17

Page 30: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Subordination

Complex clauses involving subordination arise because a core or non-coredependent is realised as a clausal structure

Four basic types:

Core Non-coreClausal subjects Adverbial clause modifiersClausal complements Adnominal clause modifiers

These may be either finite or non-finite

18

Page 31: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Clausal Subjects

• When the role of subject isfilled by a clause

• Relation is csubj• Sometimes blurry:

• “His writing surprised me”

Finite

What you were doing was wrong

cop

csubj

obj

nsubj

aux

Mitä olit tekemässä oli väärinWhat you were doing was wrong

obj

cop

csubj

cop

Non-finite

Senin yaptığın yanlış -tıYour doing wrong was

copcsubjnsubj

Sun tekemäsi oli väärääYour doing was wrong

cop

csubj

nsubj

19

Page 32: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Clausal Complements

Open

They said to start already

nsubj mark

ccomp

advmod

I think they started already

nsubj nsubj

ccomp

advmod

Closed

We started to dig already

nsubj mark

xcomp

advmod

• Open: The subject of the subordinate clause is not co-referentialwith an argument of the matrix clause

• Closed: The subject of the subordinate clause is controlled by thematrix clause

20

Page 33: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adverbial Clauses

• Clause modifier of verb or otherpredicate

• Non-core complement, e.g.• Temporal clause• Conditional clause• Purpose clause• …

istersen birayı içif you want the beer drink

VERB NOUN VERBMood=Cond

Person=2 Case=AccNumber=Sing Definite=Def

obj

advcl

drink the beer if you wantVERB DET NOUN SCONJ PRON VERB

obj

det

mark

nsubj

advcl

21

Page 34: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Clauses

пришла девушка , которую я увидел вчераcame girl , whom I saw yesterdayVERB NOUN PUNCT PRON PRON VERB ADV

Case=Nom Case=Acc Case=Nom

nsubj

obj

nsubj

punct

advmod

acl:relcl

the girl I saw yesterday arrivedDET NOUN PRON VERB ADV VERB

nsubj

nsubjdet advmod

acl:relcl

benim dün gördüğüm kız geldimy yesterday having.seen girl arrived

PRON ADV VERB NOUN VERBCase=Gen Case=Nom

acl:relcl nsubj

nsubj

advmod

• The predicate is head of the relative clause• The relative clause depends on the nominal it modifies• Arguments (incl. relative pronouns) and modifiers annotated as in

main clauses

22

Page 35: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Clauses

пришла девушка , которую я увидел вчераcame girl , whom I saw yesterdayVERB NOUN PUNCT PRON PRON VERB ADV

Case=Nom Case=Acc Case=Nom

nsubj

obj

nsubj

punct

advmod

acl:relcl

the girl I saw yesterday arrivedDET NOUN PRON VERB ADV VERB

nsubj

nsubjdet advmod

acl:relcl

benim dün gördüğüm kız geldimy yesterday having.seen girl arrived

PRON ADV VERB NOUN VERBCase=Gen Case=Nom

acl:relcl nsubj

nsubj

advmod

• The predicate is head of the relative clause• The relative clause depends on the nominal it modifies• Arguments (incl. relative pronouns) and modifiers annotated as in

main clauses

22

Page 36: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Clauses

пришла девушка , которую я увидел вчераcame girl , whom I saw yesterdayVERB NOUN PUNCT PRON PRON VERB ADV

Case=Nom Case=Acc Case=Nom

nsubj

obj

nsubj

punct

advmod

acl:relcl

the girl I saw yesterday arrivedDET NOUN PRON VERB ADV VERB

nsubj

nsubjdet advmod

acl:relcl

benim dün gördüğüm kız geldimy yesterday having.seen girl arrived

PRON ADV VERB NOUN VERBCase=Gen Case=Nom

acl:relcl nsubj

nsubj

advmod

• The predicate is head of the relative clause• The relative clause depends on the nominal it modifies• Arguments (incl. relative pronouns) and modifiers annotated as in

main clauses

22

Page 37: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Adnominal Clauses

пришла девушка , которую я увидел вчераcame girl , whom I saw yesterdayVERB NOUN PUNCT PRON PRON VERB ADV

Case=Nom Case=Acc Case=Nom

nsubj

obj

nsubj

punct

advmod

acl:relcl

the girl I saw yesterday arrivedDET NOUN PRON VERB ADV VERB

nsubj

nsubjdet advmod

acl:relcl

benim dün gördüğüm kız geldimy yesterday having.seen girl arrived

PRON ADV VERB NOUN VERBCase=Gen Case=Nom

acl:relcl nsubj

nsubj

advmod

• The predicate is head of the relative clause• The relative clause depends on the nominal it modifies• Arguments (incl. relative pronouns) and modifiers annotated as in

main clauses

22

Page 38: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Ellipsis

22

Page 39: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Promotion

Sam did n’t know but Alex did knowPROPN AUX PART VERB CCONJ PROPN AUX VERB

nsubj

aux

advmod

conj

cc

nsubj

aux

• No empty nodes in the basic representation• Function words are promoted when their heads are elided• Real dependencies recovered in the enhanced representation

23

Page 40: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Promotion

Sam did n’t know but Alex did knowPROPN AUX PART VERB CCONJ PROPN AUX VERB

nsubj

aux

advmod

conj

cc

nsubj

• No empty nodes in the basic representation• Function words are promoted when their heads are elided• Real dependencies recovered in the enhanced representation

23

Page 41: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Orphan

Czechoslovakia captured the silver , and Sweden captured the bronzePROPN VERB DET NOUN PUNCT CCONJ PROPN VERB DET NOUN

obj

det detnsubj nsubj

obj

punct

cc

conj

• When promotion would result in a misleading dependency relation• e.g. an object depending on a subject

• Typical case: core argument promotion in predicate ellipsis• Maintains clausal integrity

24

Page 42: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Orphan

Czechoslovakia captured the silver , and Sweden captured the bronzePROPN VERB DET NOUN PUNCT CCONJ PROPN VERB DET NOUN

obj

det detnsubj

orphan

punct

cc

conj

• When promotion would result in a misleading dependency relation• e.g. an object depending on a subject

• Typical case: core argument promotion in predicate ellipsis• Maintains clausal integrity

24

Page 43: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Enhanced dependencies

24

Page 44: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Enhanced Dependencies

• An extended dependency graph containing:• Null nodes for elided predicates• Additional subject relations for control and raising constructions• Propagation of dependents over coordination• Coreference in relative clause constructions• Labels augmented with function word information

Sue tried to buy and sell stockPROPN VERB PART VERB CCONJ VERB NOUN

nsubj mark

xcomp

cc

conj

obj

objnsubj

nsubj

25

Page 45: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Questions?

25

Page 46: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Loose Joining Relations

Parataxis:• Side-by-side sentences• Parentheticals• Some kinds of reported speech• Tag questions

List:• Lists of related items

Veni , vidi , vici

parataxis

parataxis

És difícil , ja ho sé , però cal provar -ho

cop

parataxis

advmod

obj

cc

aux obj

conj

Хорошо , сказала она , когда вам удобно ?Ok , said she , when to you convenient ?

conj

parataxis

nsubj advmod obl

You did n’t , did you ?

nsubj advmod

parataxis

nsubj

26

Page 47: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Loose Joining Relations

Parataxis:• Side-by-side sentences• Parentheticals• Some kinds of reported speech• Tag questions

List:• Lists of related items

Veni , vidi , vici

parataxis

parataxis

És difícil , ja ho sé , però cal provar -ho

cop

parataxis

advmod

obj

cc

aux obj

conj

Хорошо , сказала она , когда вам удобно ?Ok , said she , when to you convenient ?

conj

parataxis

nsubj advmod obl

You did n’t , did you ?

nsubj advmod

parataxis

nsubj

26

Page 48: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Loose Joining Relations

Parataxis:• Side-by-side sentences• Parentheticals• Some kinds of reported speech• Tag questions

List:• Lists of related items

Veni , vidi , vici

parataxis

parataxis

És difícil , ja ho sé , però cal provar -ho

cop

parataxis

advmod

obj

cc

aux obj

conj

Хорошо , сказала она , когда вам удобно ?Ok , said she , when to you convenient ?

conj

parataxis

nsubj advmod obl

You did n’t , did you ?

nsubj advmod

parataxis

nsubj

26

Page 49: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Loose Joining Relations

Parataxis:• Side-by-side sentences• Parentheticals• Some kinds of reported speech• Tag questions

List:• Lists of related items

Veni , vidi , vici

parataxis

parataxis

És difícil , ja ho sé , però cal provar -ho

cop

parataxis

advmod

obj

cc

aux obj

conj

Хорошо , сказала она , когда вам удобно ?Ok , said she , when to you convenient ?

conj

parataxis

nsubj advmod obl

You did n’t , did you ?

nsubj advmod

parataxis

nsubj

26

Page 50: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Loose Joining Relations

Parataxis:• Side-by-side sentences• Parentheticals• Some kinds of reported speech• Tag questions

List:• Lists of related items

Veni , vidi , vici

parataxis

parataxis

És difícil , ja ho sé , però cal provar -ho

cop

parataxis

advmod

obj

cc

aux obj

conj

Хорошо , сказала она , когда вам удобно ?Ok , said she , when to you convenient ?

conj

parataxis

nsubj advmod obl

You did n’t , did you ?

nsubj advmod

parataxis

nsubj

26

Page 51: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Multiword Expressions

Thomas Alva Edison invented the light bulb as well as the phonographPROPN PROPN PROPN VERB DET NOUN NOUN ADP ADV ADP DET NOUN

flat

flat

nsubj

det

compound

obj

conj

cc

fixed

fixed

det

• Most MWEs are given a regular syntactic analysis• Three special relations:

• fixed = fixed grammaticised expressions• flat = semi-fixed expressions with no clear head• compound = lexical compounds (normally headed)

27

Page 52: Tutorial on Universal Dependenciesuniversaldependencies.org/eacl17tutorial/consist.pdf · Tutorial on Universal Dependencies Cross-linguistically consistent syntactic annotation Joakim

Disfluencies

Go to the righ- to the left

obl

case

det

case

det

reparandum

You should e mail her

goeswith

nsubj

aux

obj

The reparandum relation:

• Disfluencies that are overridden in speech repair.

The goeswith relation:

• Parts of words due to orthographical or processing errors.

28