spaCy/spacy/ml/models/__init__.py
2022-05-24 16:02:39 +09:00

15 lines
372 B
Python

from .entity_linker import * # noqa
from .multi_task import * # noqa
from .parser import * # noqa
from .spancat import * # noqa
from .tagger import * # noqa
from .textcat import * # noqa
from .tok2vec import * # noqa
# some models require Torch
from thinc.util import has_torch
if has_torch:
from .coref import * #noqa
from .span_predictor import * #noqa