why SpanGroup? #12675
Replies: 2 comments 1 reply
-
The purpose is that you may need to disambiguate separate groups. It's a way of keeping groups of spans organized. E.g. there may be one spacy component that creates spangroups under key |
Beta Was this translation helpful? Give feedback.
-
The main motivation for It's extremely inefficient to save independent
In a script where you're just temporarily working with spans and you don't need to save them, then a list of spans is fine. |
Beta Was this translation helpful? Give feedback.
-
Is there any reason to use a
SpanGroup
instead of just a list ofSpans
if it isn't explicitly required by the code?Beta Was this translation helpful? Give feedback.
All reactions