diff --git a/recon/loaders.py b/recon/loaders.py index a957e84..1a49816 100644 --- a/recon/loaders.py +++ b/recon/loaders.py @@ -8,7 +8,8 @@ import spacy import srsly from spacy.language import Language -from spacy.tokens import Doc, DocBin, Span as SpacySpan +from spacy.tokens import Doc, DocBin +from spacy.tokens import Span as SpacySpan from spacy.util import get_words_and_spaces from recon.types import Example, Span, Token diff --git a/recon/types.py b/recon/types.py index 11a1fb6..1d41164 100644 --- a/recon/types.py +++ b/recon/types.py @@ -19,7 +19,8 @@ from pydantic import BaseModel, field_validator, model_validator from spacy import displacy -from spacy.tokens import Doc, Span as SpacySpan +from spacy.tokens import Doc +from spacy.tokens import Span as SpacySpan from spacy.util import get_words_and_spaces from spacy.vocab import Vocab from wasabi import color