mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
17 lines
381 B
Python
17 lines
381 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
from .cli.info import info as cli_info
|
|
from .glossary import explain
|
|
from .deprecated import resolve_load_name
|
|
from . import util
|
|
|
|
|
|
def load(name, **overrides):
|
|
name = resolve_load_name(name, **overrides)
|
|
return util.load_model(name)
|
|
|
|
|
|
def info(model=None, markdown=False):
|
|
return cli_info(None, model, markdown)
|