Fix SpanGroup import (#7182)

* import SpanGroup from tokens module

* revert edits from different PR

* add to __all__
This commit is contained in:
Sofie Van Landeghem 2021-02-24 11:06:16 +01:00 committed by GitHub
parent fa7ddc7f88
commit 0563cd73d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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"]