mirror of https://github.com/explosion/spaCy.git
Fix SpanGroup import (#7182)
* import SpanGroup from tokens module * revert edits from different PR * add to __all__
This commit is contained in:
parent
fa7ddc7f88
commit
0563cd73d6
|
@ -1,7 +1,8 @@
|
||||||
from .doc import Doc
|
from .doc import Doc
|
||||||
from .token import Token
|
from .token import Token
|
||||||
from .span import Span
|
from .span import Span
|
||||||
|
from .span_group import SpanGroup
|
||||||
from ._serialize import DocBin
|
from ._serialize import DocBin
|
||||||
from .morphanalysis import MorphAnalysis
|
from .morphanalysis import MorphAnalysis
|
||||||
|
|
||||||
__all__ = ["Doc", "Token", "Span", "DocBin", "MorphAnalysis"]
|
__all__ = ["Doc", "Token", "Span", "SpanGroup", "DocBin", "MorphAnalysis"]
|
||||||
|
|
Loading…
Reference in New Issue