mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 11:26:28 +03:00
b1b20bf69d
* Setting up weasel branch (#12456) * remove project-specific functionality * remove project-specific tests * remove project-specific schemas * remove project-specific information in about * remove project-specific functions in util.py * remove project-specific error strings * remove project-specific CLI commands * black formatting * restore some functions that are used beyond projects * remove project imports * remove imports * remove remote_storage tests * remove one more project unit test * update for PR 12394 * remove get_hash and get_checksum * remove upload_ and download_file methods * remove ensure_pathy * revert clumsy fingers * reinstate E970 * feat: use weasel as spacy project command (#12473) * feat: use weasel as spacy project command * build: use constrained requirement for weasel * feat: add weasel to the library requirements * build: update weasel to new version * build: use specific weasel tag * build: use weasel-0.1.0rc1 from PyPI * fix: remove weasel from requirements.txt * fix: requirements.txt and setup.cfg need to reflect each other * feat: remove legacy spacy project code * bump version * further merge fixes * isort --------- Co-authored-by: Basile Dura <bdura@users.noreply.github.com>
36 lines
1.6 KiB
Python
36 lines
1.6 KiB
Python
from wasabi import msg
|
|
|
|
from ._util import app, setup_cli # noqa: F401
|
|
from .apply import apply # noqa: F401
|
|
from .assemble import assemble_cli # noqa: F401
|
|
|
|
# These are the actual functions, NOT the wrapped CLI commands. The CLI commands
|
|
# are registered automatically and won't have to be imported here.
|
|
from .benchmark_speed import benchmark_speed_cli # noqa: F401
|
|
from .convert import convert # noqa: F401
|
|
from .debug_config import debug_config # noqa: F401
|
|
from .debug_data import debug_data # noqa: F401
|
|
from .debug_diff import debug_diff # noqa: F401
|
|
from .debug_model import debug_model # noqa: F401
|
|
from .download import download # noqa: F401
|
|
from .evaluate import evaluate # noqa: F401
|
|
from .find_threshold import find_threshold # noqa: F401
|
|
from .info import info # noqa: F401
|
|
from .init_config import fill_config, init_config # noqa: F401
|
|
from .init_pipeline import init_pipeline_cli # noqa: F401
|
|
from .package import package # noqa: F401
|
|
from .pretrain import pretrain # noqa: F401
|
|
from .profile import profile # noqa: F401
|
|
from .train import train_cli # noqa: F401
|
|
from .validate import validate # noqa: F401
|
|
|
|
|
|
@app.command("link", no_args_is_help=True, deprecated=True, hidden=True)
|
|
def link(*args, **kwargs):
|
|
"""As of spaCy v3.0, symlinks like "en" are not supported anymore. You can load trained
|
|
pipeline packages using their full names or from a directory path."""
|
|
msg.warn(
|
|
"As of spaCy v3.0, model symlinks are not supported anymore. You can load trained "
|
|
"pipeline packages using their full names or from a directory path."
|
|
)
|