Although Tokenregex is not designed initially for processing over dependency trees, here is a trick we use for having query over dependency parse trees.
For token gave we keep these key values.
label
value
dep-head
``
dep-nsubj
3-NNP-Obama
dep-dobj
7-NN-address
But we need compound queries to be able to process
Depdencing parsing
Although Tokenregex is not designed initially for processing over dependency trees, here is a trick we use for having query over dependency parse trees.
gave
we keep these key values.dep-head
dep-nsubj
3-NNP-Obama
dep-dobj
7-NN-address
But we need compound queries to be able to process