mirror of https://github.com/explosion/spaCy.git
Remove train_config command for now
This commit is contained in:
parent
b297fab062
commit
007a2492bd
|
@ -9,7 +9,6 @@ from spacy.cli import link as cli_link
|
|||
from spacy.cli import info as cli_info
|
||||
from spacy.cli import package as cli_package
|
||||
from spacy.cli import train as cli_train
|
||||
from spacy.cli import train_config as cli_train_config
|
||||
|
||||
|
||||
class CLI(object):
|
||||
|
@ -97,17 +96,6 @@ class CLI(object):
|
|||
not no_parser, not no_ner, parser_L1)
|
||||
|
||||
|
||||
@plac.annotations(
|
||||
config=("config", "positional", None, str),
|
||||
)
|
||||
def train_config(self, config):
|
||||
"""
|
||||
Train a model from config file.
|
||||
"""
|
||||
|
||||
cli_train_config(config)
|
||||
|
||||
|
||||
def __missing__(self, name):
|
||||
print("\n Command %r does not exist."
|
||||
"\n Use the --help flag for a list of available commands.\n" % name)
|
||||
|
|
Loading…
Reference in New Issue