spaCy/spacy/training/__init__.py
Daniël de Kok e2b70df012
Configure isort to use the Black profile, recursively isort the spacy module (#12721)
* Use isort with Black profile

* isort all the things

* Fix import cycles as a result of import sorting

* Add DOCBIN_ALL_ATTRS type definition

* Add isort to requirements

* Remove isort from build dependencies check

* Typo
2023-06-14 17:48:41 +02:00

19 lines
760 B
Python

from .alignment import Alignment # noqa: F401
from .augment import dont_augment, orth_variants_augmenter # noqa: F401
from .batchers import minibatch_by_padded_size, minibatch_by_words # noqa: F401
from .callbacks import create_copy_from_base_model # noqa: F401
from .corpus import Corpus, JsonlCorpus, PlainTextCorpus # noqa: F401
from .example import Example, validate_examples, validate_get_examples # noqa: F401
from .gold_io import docs_to_json, read_json_file # noqa: F401
from .iob_utils import ( # noqa: F401
biluo_tags_to_offsets,
biluo_tags_to_spans,
biluo_to_iob,
iob_to_biluo,
offsets_to_biluo_tags,
remove_bilu_prefix,
split_bilu_label,
tags_to_entities,
)
from .loggers import console_logger # noqa: F401