Replies: 1 comment
-
What do you mean by "distance"? Wen matching a Seq of two anns as in your example, then those annotations must follow immediately one after the other in the sequence of annotations generated from the input set. One way to restrict this is by including e.g. Tokens in the input set and allowing a certain number of tokens between the annotations of interest, e.g.
If you mean distance as in difference in offsets, this is not directly supported at the moment but may be an interesting feature to implement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to limit the maximum distance between the tokens in Seq?
Something like:
Seq(Ann(type="type1", name="tok1"), Ann(type="type1", name="tok2"), distance=100)
Beta Was this translation helpful? Give feedback.
All reactions