diff --git a/spacy/__main__.py b/spacy/__main__.py index 5a302d77e..897d890c2 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -8,6 +8,7 @@ if __name__ == '__main__': import sys from spacy.cli import download, link, info, package, train, convert from spacy.cli import vocab, init_model, profile, evaluate, validate + from spacy.cli import ud_train, ud_evaluate from spacy.util import prints commands = { @@ -15,7 +16,9 @@ if __name__ == '__main__': 'link': link, 'info': info, 'train': train, + 'ud-train': ud_train, 'evaluate': evaluate, + 'ud-evaluate': ud_evaluate, 'convert': convert, 'package': package, 'vocab': vocab, diff --git a/spacy/cli/__init__.py b/spacy/cli/__init__.py index cb646c6af..2788ffc86 100644 --- a/spacy/cli/__init__.py +++ b/spacy/cli/__init__.py @@ -9,3 +9,5 @@ from .convert import convert from .vocab import make_vocab as vocab from .init_model import init_model from .validate import validate +from .ud_train import main as ud_train +from .conll17_ud_eval import main as ud_evaluate