Skip to content
Discussion options

You must be logged in to vote

Basically, OP other than "OP": "!" does not make sense in DependencyMatcher RIGHT_ATTR token patterns right now.

You want each token pattern to return matches that are all exactly one token long. If there is some kind of OP in the dependency matcher patterns themselves related to the tree structure, it would need to be associated with the REL_OP operators, not the token pattern operators. There are not currently any operators like this and I think that the current search algorithm would make it difficult to support any except for having optional "leaf" nodes in the pattern, but I'd have to look at the details again to be sure.

There was just a major refactoring of the code in progress to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by telesphore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / matcher Feature: Token, phrase and dependency matcher
2 participants