ramtinms / tokenquery

TokenQuery (regular expressions over tokens)
GNU General Public License v3.0
28 stars 13 forks source link

Depdencing parsing #4

Open ramtinms opened 7 years ago

ramtinms commented 7 years ago

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