• No results found

Universal Dependencies

N/A
N/A
Protected

Academic year: 2021

Share "Universal Dependencies"

Copied!
78
0
0

Loading.... (view fulltext now)

Full text

(1)

Universal Dependencies

Joakim Nivre

!

Uppsala University

Department of Linguistics and Philology

Based on collaborative work with Jinho Choi, Timothy Dozat, Filip Ginter,

Yoav Goldberg, Jan Haji

č

, Chris Manning, Ryan McDonald, Natalia Silveira,

(2)
(3)

Natural Language Processing

Linguistic diversity makes our life harder

Why 90% parsing accuracy for English but only 80% for Finnish?

Can we even compare the numbers?

(4)

Natural Language Processing

Linguistic diversity makes our life harder

Why 90% parsing accuracy for English but only 80% for Finnish?

Can we even compare the numbers?

Current NLP relies heavily on linguistic annotation

Treebank annotation schemes vary across languages

How do we avoid comparing apples and oranges?

(5)
(6)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

(7)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

(8)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

(9)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

(10)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

Which languages are most closely related?

(11)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

Which languages are most closely related?

1/5

(12)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

Which languages are most closely related?

1/5

2/5

(13)

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language X

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Y

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager r˚ader og møs

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

1

Language Z

Which languages are most closely related?

1/5

2/5

2/5

Swedish

Danish

English

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

En katt jagar r˚attor och m¨oss det nsubj conj

dobj

conj

En kat jager rotter og mus nsubj

? dobj cc conj

A cat chases rats and mice det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts . toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc

Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(14)
(15)

Why is this a problem?

(16)

Why is this a problem?

Hard to compare empirical results across languages

(17)

Why is this a problem?

Hard to compare empirical results across languages

Hard to evaluate cross-lingual learning

(18)

Why is this a problem?

Hard to compare empirical results across languages

Hard to evaluate cross-lingual learning

Hard to build and maintain multilingual systems

(19)

Universal Dependencies

http://universaldependencies.github.io/docs/

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(20)

Universal Dependencies

http://universaldependencies.github.io/docs/

Part-of-speech tags

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(21)

Universal Dependencies

http://universaldependencies.github.io/docs/

Part-of-speech tags

Morphological features

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(22)

Universal Dependencies

http://universaldependencies.github.io/docs/

Part-of-speech tags

Morphological features

Dependency relations

En katt jagar r˚attor och m¨oss

det nsubj conj

dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(23)

Universal Dependencies

http://universaldependencies.github.io/docs/

(24)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

(25)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

(26)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

CLEAR

Google UD

(27)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

CLEAR

Google UD

Stanford UD

(28)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

CLEAR

Google UD

Stanford UD

HamleDT

(29)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

CLEAR

Google UD

Stanford UD

HamleDT

Interset

(30)

Universal Dependencies

http://universaldependencies.github.io/docs/

Stanford

Dependencies

CLEAR

Google UD

Stanford UD

HamleDT

Interset

Google

universal tags

(31)

Universal Dependencies

http://universaldependencies.github.io/docs/

(32)

Milestones:

Kick-off meeting at EACL in Gothenburg, April 2014

Release of annotation guidelines, Version 1, October 2014

Release of treebanks for 10 languages, January 2015

Release of treebanks for 18 languages, May 2015

Open community effort – anyone can contribute!

Universal Dependencies

http://universaldependencies.github.io/docs/

(33)
(34)

Goals and Requirements

(35)

Goals and Requirements

Cross-linguistically consistent grammatical annotation

(36)

Goals and Requirements

Cross-linguistically consistent grammatical annotation

Support multilingual research and development in NLP

(37)
(38)

Design Principles

Dependency

Widely used in practical NLP systems

(39)

Design Principles

Dependency

Widely used in practical NLP systems

Available in treebanks for many languages

Lexicalism

Basic annotation units are words – syntactic words

Words have morphological properties

(40)

Design Principles

Dependency

Widely used in practical NLP systems

Available in treebanks for many languages

Lexicalism

Basic annotation units are words – syntactic words

Words have morphological properties

Words enter into syntactic relations

Recoverability

(41)
(42)

Golden Rules

Maximize parallelism

Don’t annotate the same thing in different ways

Don’t make different things look the same

(43)

Golden Rules

Maximize parallelism

Don’t annotate the same thing in different ways

Don’t make different things look the same

But don’t overdo it

Don’t annotate things that are not there

Languages select from a universal pool of categories

Allow language-specific extensions

(44)

Morphology

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(45)

Lemma representing the semantic content of the word

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer le dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

Morphology

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(46)

Lemma representing the semantic content of the word

Part-of-speech tag representing the abstract lexical

category associated with the word

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer le dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

Morphology

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1 En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(47)

Lemma representing the semantic content of the word

Part-of-speech tag representing the abstract lexical

category associated with the word

Features representing lexical and grammatical properties

associated with the lemma or the particular word form

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer le dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct

Toutefois , les filles adorent les desserts .

toutefois , le fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

Morphology

En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1 En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1 En katt jagar r˚attor och m¨oss

det nsubj conj dobj

conj

En kat jager rotter og mus

nsubj

? dobj cc conj

A cat chases rats and mice

det nsubj dobj cc

conj

Toutefois , les filles adorent les desserts .

toutefois , les fille adorer les dessert .

ADV PUNCT DET NOUN VERB DET NOUN PUNCT

Definite=Def Gender=Fem Number=Plur Definite=Def Gender=Masc Number=Plur Number=Plur Person=3 Number=Plur Number=Plur

Tense=Pres advmod punct det nsubj root det dobj punct 1

(48)

Taxonomy of 17 universal part-of-speech tags, based on

the Google Universal Tagset (Petrov et al., 2012)

All languages use the same inventory, but not all tags

have to be used by all languages

Part-of-Speech Tags

Open Closed Other

ADJ ADP PUNCT ADV AUX SYM INTJ CONJ X NOUN DET PROPN NUM VERB PART PRON SCONJ

(49)

Features

Standardized inventory of morphological features, based

on the Interset system (Zeman, 2008)

Languages select relevant features and can add

language-specific features or values with documentation

Lexical Inflectional Nominal Inflectional Verbal

PronType Gender VerbForm NumType Animacy Mood

Poss Number Tense Reflex Case Aspect

Definite Voice Degree Person

(50)

Syntax

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

det nsubj aux aux root det det dobj case det nmod punct

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

det nsubj aux aux root det det dobj case det nmod

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

nsubj

root

dobj

nmod

(51)

Syntax

Content words are related by dependency relations

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT det nsubj aux aux root det det dobj case det nmod punct

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT det nsubj aux aux root det det dobj case det nmod

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT nsubj

root

dobj

nmod

(52)

Syntax

Content words are related by dependency relations

Function words attach to the content word they modify

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

det nsubj aux aux root det det dobj case det nmod punct

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

det nsubj aux aux root det det dobj case det nmod

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT

nsubj

root

dobj

nmod

(53)

Syntax

Content words are related by dependency relations

Function words attach to the content word they modify

Punctuation attach to head of phrase or clause

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT det nsubj aux aux root det det dobj case det nmod punct

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT det nsubj aux aux root det det dobj case det nmod

The cat could have chased all the dogs down the street .

DET NOUN AUX AUX VERB DET DET NOUN ADP DET NOUN PUNCT nsubj

root

dobj

nmod

(54)

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass auxpass root case det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

case nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

nsubjpass

root

nmod

punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass root det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def

Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

(55)

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass auxpass root case det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

case nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

nsubjpass

root

nmod

punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass root det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def

Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

(56)

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass auxpass root det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

(57)

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass auxpass root case det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

case nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

nsubjpass

root

nmod

punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

The

dog

was

chased

by

the

cat

.

DET NOUN AUX VERB ADP DET NOUN PUNCT

det nsubjpass root det nmod punct

Hunden

jagades

av

katten

.

NOUN

VERB

ADP

NOUN

PUNCT

Definite=Def

Voice=Pass

Definite=Def

nsubjpass

root

nmod

punct

(58)
(59)

Dependency Relations

Taxonomy of 40 universal grammatical relations, broadly

attested in language typology (de Marneffe et al., 2014)

(60)

Dependency Relations

Taxonomy of 40 universal grammatical relations, broadly

attested in language typology (de Marneffe et al., 2014)

Language-specific

subtypes

may be added

Organizing principles

Three types of structures: nominals, clauses, modifiers

(61)

Dependents of Clausal Predicates

Nominal

Clausal

Other

Core

nsubj

nsubjpass

dobj

iobj

csubj

csubjpass

ccomp

xcomp

Non-Core

nmod

vocative

discourse

expl

advcl

advmod

neg

aux

auxpass

cop

mark

punct

(62)
(63)

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

(64)

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

5

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

(65)

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

5

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

5

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod

Hewey , Dewey and Louie

PROPN PUNCT PROPN CONJ PROPN punct

conj

cc

conj

(66)

Dependents of Nominals

Nominal

Clausal

Other

nummod

appos

nmod

acl

amod

det

case

Mary was quietly reading a book in the garden .

PROPN AUX ADV VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If you are sick , you should not exercise .

SCONJ PRON AUX ADJ PUNCT PRON AUX ADV VERB PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter thought that he should stop smoking .

PROPN VERB SCONJ PRON AUX VERB VERB PUNCT

nsubj root mark nsubj punct ccomp xcomp punct

Cairo , the lovely capital of Egypt

PROPN PUNCT DET ADJ NOUN ADP PROPN

mark det amod appos case nmod 5

(67)

Coordinate structures are headed by the first conjunct

Subsequent conjuncts depend on it via the

conj

relation

Conjunctions depend on it via the

cc

relation

Punctuation marks depend on it via the

punct

relation

Mary

was

quietly reading

a

book

in

the

garden

.

PROPN AUX

ADV

VERB DET NOUN ADP DET NOUN PUNCT

nsubj aux advmod root det dobj case det nmod punct

If

you

are

sick

,

you

should

not

exercise

.

SCONJ PRON AUX ADJ PUNCT PRON

AUX

ADV

VERB

PUNCT

mark nsubj cop advcl punct nsubj aux neg root punct

Peter

thought

that

he

should

stop

smoking

.

PROPN

VERB

SCONJ PRON

AUX

VERB

VERB

PUNCT

nsubj root mark nsubj aux ccomp xcomp punct

Cairo

,

the

lovely capital

of

Egypt

PROPN PUNCT DET

ADJ

NOUN ADP PROPN

mark det amod appos case nmod

Huey

,

Dewey

and

Louie

PROPN PUNCT PROPN CONJ PROPN

punct conj cc conj

5

Coordination

Coordination

conj

cc

(punct)

(68)

Multiword Expressions

UD annotation does not permit “words with spaces”

Multiword expressions are analysed using special relations

The

mwe

,

name

and

goeswith

relations are always head-initial

The

compound

relation reflects the internal structure

Relation

Examples

mwe

in spite of, as well as, ad hoc

name

Roger Bacon, Carl XVI Gustaf, New York

compound

phone book, four thousand, dress up

(69)

Other Relations

Relation

Explanation

parataxis

Loosely linked clauses of same rank

list

Lists without syntactic structure

remnant

Orphans in ellipsis linked to parallel elements

reparandum Disfluency linked to (speech) repair

foreign

Elements within opaque stretches of code switching

dep

Unspecified dependency

(70)

Language-Specific Relations

Language-specific relations are

subtypes

of universal

relations added to capture important phenomena

Subtyping permits us to “back off” to universal relations

Relation

Explanation

acl:relcl

Relative clause

compound:prt

Verb particle (

dress

up

)

nmod:poss

Genitive nominal (

Mary’s

book

)

nmod:agent

Agent in passive (

saved

by the bell

)

cc:preconj

Preconjunction (

both

and

)

det:predet

Predeterminer (

all

those

…)

(71)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(72)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(73)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(74)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(75)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(76)

Papers

Nivre, J. (2015) Towards a Universal Grammar of Natural Language Processing. In Proceedings of CICLing, 3–16.

Naseem, T., Chen, H., Barzilay, R. and Johnson, M. (2010) Using Universal Linguistic Knowledge to Guide Grammar Induction. In Proceedings of EMNLP, 1234-1244.

McDonald, R., Petrov, S. and Hall, K. (2011) Multi-Source Transfer of Delexicalized Dependency Parsers. In

Proceedings of EMNLP, 62–72.

Zeman, D., Marecek, D., Popel, M., Ramasamy, L., Stepánek, J., Zabokrtský, Z., Hajic, J. (2012) HamleDT: To Parse or Not to Parse? In Proceedings of LREC, 2735–2741.

McDonald, R., Nivre, J., Quirmbach-Brundage, Y., Goldberg, Y., Das, D., Ganchev, K., Hall, K., Petrov, S., Zhang, H., Täckström, O., Bedini, C., Bertomeu Castelló, N. and Lee, J. (2013) Universal Dependency Annotation for

Multilingual Parsing. In Proceedings of ACL (Short Papers), 92–97.

De Marneffe, M.-C., Dozat, T., Silveira, N., Haverinen, K., Ginter, F., Nivre, J. and Manning, C.D. (2014) Universal Stanford Dependencies: A Cross-Linguistic Typology. In Proceedings of LREC, 4585–4592.

Swanson, B. and Charniak, E. (2014) Data Driven Language Transfer Hypotheses. In Proceedings of EACL, 169–173. Östling, R. (2015) Word Order Typology through Multilingual Word Alignment. In Proceedings of ACL (Short Papers), 205–211.

Futrell, R., Mahowald, K. and Gibson, E. (2015) Quantifying Word Order Freedom in Dependency Corpora. In

(77)

Research Problems

Annotation

Produce guidelines and/or annotation for language

X

Study the annotation of construction

Y

across languages

Parsing

Develop and/or evaluate a parser for language

X

Study cross-lingual transfer learning and/or annotation projection

Develop better evaluation schemes for multilingual parsing

Typology

Study word order patterns in language

X

(78)
http://universaldependencies.github.io/docs/

References

Related documents

1) Ett generellt relationsdatabassystem, Mimer/DB (Mimer 1982a), som tillhandahåller rutiner för att skapa, ladda, ändra och tömma databanker, och som tar hand o m

Tidligere forskning kan følgelig fortelle oss noe om betydningen av tidlig intervensjon når det gjelder barnet og vi vet også en del om hva foreldrene selv opplever som viktig

Det är inte många som känner till att där finns en (förhållandevis) lång historia av forskning kring hypertext och att denna historia leder så långt tillbaka i tiden som till

Detta kan då tyckas att det endast borde vara växtodling och inga djur på ekologiska gårdar, djuren gör att det är möjligt att få stallgödsel samt en växtodling med vall då

En reflektion från arbetet är att om sjuksköterskan undviker obesitas för att det är ett känsligt ämne, leder det till en ökad risk att barnen blir ännu mer stigmatiserade och

När flyttkostnader på 4 000 SEK för skogsmaskinerna räknades in krävdes det ett virkesförråd på mellan 35 och 49 m 3 sk/ha för att uppnå lönsamhet med avverkningen

Minskad besprutning skulle dock även kunna leda till en högre andel ogräs i odlingen vilket sällan är önskvärt och just att det finns lågintensivt skötta perenna rader i

modestus innebär att det finns en ökad risk för inträde och spridning av West Nile virus i Sverige och vilka andra faktorer som skulle kunna möjliggöra detta.. Spridningen