2020-06-22 01:45:40 +03:00
|
|
|
from wasabi import msg
|
|
|
|
|
2024-02-20 15:17:51 +03:00
|
|
|
# Needed for testing
|
|
|
|
from . import download as download_module # noqa: F401
|
2020-07-10 18:57:40 +03:00
|
|
|
from ._util import app, setup_cli # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .apply import apply # noqa: F401
|
|
|
|
from .assemble import assemble_cli # noqa: F401
|
2020-06-22 01:45:40 +03:00
|
|
|
|
|
|
|
# These are the actual functions, NOT the wrapped CLI commands. The CLI commands
|
|
|
|
# are registered automatically and won't have to be imported here.
|
2023-01-12 13:55:21 +03:00
|
|
|
from .benchmark_speed import benchmark_speed_cli # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .convert import convert # noqa: F401
|
2020-08-27 19:17:58 +03:00
|
|
|
from .debug_config import debug_config # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .debug_data import debug_data # noqa: F401
|
2022-04-07 11:48:45 +03:00
|
|
|
from .debug_diff import debug_diff # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .debug_model import debug_model # noqa: F401
|
|
|
|
from .download import download # noqa: F401
|
2018-11-30 22:16:14 +03:00
|
|
|
from .evaluate import evaluate # noqa: F401
|
2023-07-31 10:39:00 +03:00
|
|
|
from .find_function import find_function # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .find_threshold import find_threshold # noqa: F401
|
|
|
|
from .info import info # noqa: F401
|
|
|
|
from .init_config import fill_config, init_config # noqa: F401
|
2020-09-28 16:09:59 +03:00
|
|
|
from .init_pipeline import init_pipeline_cli # noqa: F401
|
2023-06-14 18:48:41 +03:00
|
|
|
from .package import package # noqa: F401
|
|
|
|
from .pretrain import pretrain # noqa: F401
|
|
|
|
from .profile import profile # noqa: F401
|
2023-10-10 16:35:25 +03:00
|
|
|
from .project.assets import project_assets # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .project.clone import project_clone # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .project.document import ( # type: ignore[attr-defined] # noqa: F401
|
|
|
|
project_document,
|
|
|
|
)
|
|
|
|
from .project.dvc import project_update_dvc # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .project.pull import project_pull # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .project.push import project_push # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .project.run import project_run # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .train import train_cli # type: ignore[attr-defined] # noqa: F401
|
|
|
|
from .validate import validate # type: ignore[attr-defined] # noqa: F401
|
2020-06-22 01:45:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
@app.command("link", no_args_is_help=True, deprecated=True, hidden=True)
|
|
|
|
def link(*args, **kwargs):
|
2021-04-12 15:37:00 +03:00
|
|
|
"""As of spaCy v3.0, symlinks like "en" are not supported anymore. You can load trained
|
2020-09-03 14:13:03 +03:00
|
|
|
pipeline packages using their full names or from a directory path."""
|
2020-06-22 01:45:40 +03:00
|
|
|
msg.warn(
|
2021-04-12 15:37:00 +03:00
|
|
|
"As of spaCy v3.0, model symlinks are not supported anymore. You can load trained "
|
2020-09-03 14:13:03 +03:00
|
|
|
"pipeline packages using their full names or from a directory path."
|
2020-06-22 01:45:40 +03:00
|
|
|
)
|