Collapses prep + pobj into prep_x (Stanford dependencies) Mary gave a book to Jane => prep_to from 1 to 5
Collapses prep + pobj into prep_x (Stanford dependencies) Mary gave a book to Jane => prep_to from 1 to 5
The sentence to operate on
The directed graph of collapsed dependencies at this stage
Collapses nmod + case into nmod_x (universal dependencies) Mary gave a book to Jane => nmod_to from 1 to 5 There was famine due to drought => nmod_due_to from 2 to 5
Collapses nmod + case into nmod_x (universal dependencies) Mary gave a book to Jane => nmod_to from 1 to 5 There was famine due to drought => nmod_due_to from 2 to 5
The sentence to operate on
The directed graph of collapsed dependencies at this stage
Collapses conj and cc into conj_CCWORD John and Mary ate cake => conj_and from 0 to 2
nsubj + xcomp => nsubj:xsubj Disagreements over land rights for crop cultivation and livestock grazing continue to be a major source of conflict.
nsubj + xcomp => nsubj:xsubj Disagreements over land rights for crop cultivation and livestock grazing continue to be a major source of conflict. => nsubj:xsubj from "Disagreements" to "source"
Propagates conjoined subjects and objects to same verb (works for SD and UD) Paul and Mary are reading a book => nsubj from 4 to 0 and from 4 to 2 John is reading a book and a newspaper => dobj from 2 to 4 and from 2 to 7
Propagates conjoined subjects and objects to same verb (works for SD and UD) Paul and Mary are reading a book => nsubj from 4 to 0 and from 4 to 2 John is reading a book and a newspaper => dobj from 2 to 4 and from 2 to 7
The sentence to operate on
The directed graph of collapsed dependencies at this stage
Propagates subjects/objects between conjoined verbs (works for both SD and UD) The store buys and sells cameras => nsubj from 2 to 1 and from 4 to 1; dobj from 2 to 5 and from 4 to 5
Propagates subjects/objects between conjoined verbs (works for both SD and UD) The store buys and sells cameras => nsubj from 2 to 1 and from 4 to 1; dobj from 2 to 5 and from 4 to 5
The sentence to operate on
The directed graph of collapsed dependencies at this stage
Propagates subjects and objects inside relative clauses (works for both SD and UD) The boy who lived => nsubj from 3 to 1 the book, which I read, was great.
Propagates subjects and objects inside relative clauses (works for both SD and UD) The boy who lived => nsubj from 3 to 1 the book, which I read, was great. => dobj from 5 to 1
The sentence to operate on
The directed graph of collapsed dependencies at this stage
Pushes subjects inside xcomp clauses (works for both SD and UD) Mary wants to buy a book => nsubj from 3 to 0
Pushes subjects inside xcomp clauses (works for both SD and UD) Mary wants to buy a book => nsubj from 3 to 0
The directed graph of collapsed dependencies at this stage
Replicates nmod_* accross conj dependencies economic decline has led to violence and displacement => nmod_to from "led" to both "violence" and "displacement"
Replicates copulative subjects across conjunctions It is difficult and expensive => nsubj from 2 to 0 and from 4 to 0
Converts Stanford basic dependencies to collapsed ones This follows the rules from http://universaldependencies.org/u/overview/enhanced-syntax.html (this applies to both Stanford basic deps and universal basic ones) We support: - Collapsing of prepositions to the prep_* (or nmod_*) label - Controlled/raised subjects - Propagating subjects and objects in conjoined verbs - Propagating conjoined subjects and objects to same verb - Pushing subjects/objects inside relative clauses User: mihais Date: 8/1/17