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.
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.
For token
gavewe keep these key values.dep-headdep-nsubj3-NNP-Obamadep-dobj7-NN-addressBut we need compound queries to be able to process