13.07.2015 Views

Dependency Parsing Dependency Grammar Dependency Syntax ...

Dependency Parsing Dependency Grammar Dependency Syntax ...

Dependency Parsing Dependency Grammar Dependency Syntax ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Projectivity◮ Most theoretical frameworks do not assume projectivity.◮ Non-projective structures are needed to account for◮ long-distance dependencies,◮ free word order.pcpvgsbjobjnmod nmod nmodIntroductionWhere we’re going◮ <strong>Dependency</strong> parsing:◮ Input: Sentence x = w1 , . . . w n◮ Output: <strong>Dependency</strong> graph G◮ Focus today:◮ Computational methods for dependency parsing◮ Resources for dependency parsing (parsers, treebanks)IntroductionWhat did economic news have little effect on ?<strong>Dependency</strong> <strong>Parsing</strong> 19(70)<strong>Dependency</strong> <strong>Parsing</strong> 20(70)<strong>Parsing</strong> Methods<strong>Parsing</strong> MethodsDeterministic <strong>Parsing</strong><strong>Parsing</strong> Methods◮ Three main traditions:◮ Deterministic parsing (specifically: Transition-based parsing)◮ Dynamic programming (specifically: Graph-based parsing)◮ Constraint satisfaction (not covered today)◮ Special issue:◮ Non-projective dependency parsing◮ Basic idea:◮ Derive a single syntactic representation (dependency graph)through a deterministic sequence of elementary parsing actions◮ Sometimes combined with backtracking or repair◮ Motivation:◮◮◮Psycholinguistic modelingEfficiencySimplicity<strong>Dependency</strong> <strong>Parsing</strong> 21(70)<strong>Dependency</strong> <strong>Parsing</strong> 22(70)Covington’s Incremental Algorithm<strong>Parsing</strong> MethodsShift-Reduce Type Algorithms<strong>Parsing</strong> Methods◮ Deterministic incremental parsing in O(n 2 ) time by trying tolink each new word to each preceding one [Covington(2001)]:PARSE(x = (w 1 , . . . , w n ))1 for i = 1 up to n2 for j = i − 1 down to 13 LINK(w i , w j )⎧⎨ E ← E ∪ (i, j)LINK(w i , w j ) = E ← E ∪ (j, i)⎩E ← Eif w j is a dependent of w iif w i is a dependent of w jotherwise◮ Different conditions, such as Single-Head and Projectivity, canbe incorporated into the LINK operation.Transition-based parsing◮ Data structures:◮ Stack [. . . , wi ] S of partially processed tokens◮ Queue [wj , . . .] Q of remaining input tokens◮ <strong>Parsing</strong> actions built from atomic actions:◮ Adding arcs (wi → w j , w i ← w j )◮ Stack and queue operations◮ Left-to-right parsing in O(n) time◮ Restricted to projective dependency graphs<strong>Dependency</strong> <strong>Parsing</strong> 23(70)<strong>Dependency</strong> <strong>Parsing</strong> 24(70)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!