Two new Matcher features: quantifiable token groups and numeric quantifiers #8411
slbayer
started this conversation in
New Features & Project Ideas
Replies: 1 comment
-
I don't think that's been proposed before
There's an open issue for this #5603 and we'd be happy to have a PR adding support for it. Someone said they were working on this in April but I don't think we've heard anything from them since then. |
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
-
I'd like to encourage the addition of two features to the spaCy Matcher rule formalism:
{"GROUP": [{"LOWER": ","} {"IS_DIGIT": True}], "OP": "*"}
.{"IS_DIGIT": True, "OP": 4}
(four number tokens in a sequence) or{"IS_DIGIT": True, "OP": [3, 4]}
(three or four number tokens in a sequence).Beta Was this translation helpful? Give feedback.
All reactions