Link in spaCy CoNLL commands

This commit is contained in:
Matthew Honnibal 2018-03-10 23:42:15 +01:00
parent 3478ea76d1
commit 754ea1b2f7
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ if __name__ == '__main__':
import sys import sys
from spacy.cli import download, link, info, package, train, convert from spacy.cli import download, link, info, package, train, convert
from spacy.cli import vocab, init_model, profile, evaluate, validate from spacy.cli import vocab, init_model, profile, evaluate, validate
from spacy.cli import ud_train, ud_evaluate
from spacy.util import prints from spacy.util import prints
commands = { commands = {
@ -15,7 +16,9 @@ if __name__ == '__main__':
'link': link, 'link': link,
'info': info, 'info': info,
'train': train, 'train': train,
'ud-train': ud_train,
'evaluate': evaluate, 'evaluate': evaluate,
'ud-evaluate': ud_evaluate,
'convert': convert, 'convert': convert,
'package': package, 'package': package,
'vocab': vocab, 'vocab': vocab,

View File

@ -9,3 +9,5 @@ from .convert import convert
from .vocab import make_vocab as vocab from .vocab import make_vocab as vocab
from .init_model import init_model from .init_model import init_model
from .validate import validate from .validate import validate
from .ud_train import main as ud_train
from .conll17_ud_eval import main as ud_evaluate