match_ID returned by DependencyMatcher._call__ method should be type str not int
#7391
omarzd
started this conversation in
New Features & Project Ideas
Replies: 1 comment
-
|
Hi, spacy stores most strings internally as ints for efficiency, so the matchers ( I can totally understand why you'd prefer strings instead, but we want to keep these kinds of APIs the same as much as possible and we want to keep it as efficient as possible internally, too. For |
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
Uh oh!
There was an error while loading. Please reload this page.
-
The method
DependencyMatcher._call__returnsmatch_IDas typeinteven thoughmatch_IDis typestreverywhere else including when it is set by the user. I think for the sake of consistency and usability, this should be fixed.Beta Was this translation helpful? Give feedback.
All reactions