mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Use info module for spacy.info()
This commit is contained in:
parent
e3e25c0a33
commit
cd94ea1095
|
@ -5,6 +5,7 @@ import json
|
|||
from pathlib import Path
|
||||
from .util import set_lang_class, get_lang_class, parse_package_meta
|
||||
from .deprecated import resolve_model_name
|
||||
from .info import info
|
||||
|
||||
from . import en
|
||||
from . import de
|
||||
|
@ -48,6 +49,5 @@ def load(name, **overrides):
|
|||
return cls(**overrides)
|
||||
|
||||
|
||||
def info(name):
|
||||
meta = parse_package_meta(util.get_data_path(), name, require=True)
|
||||
print(json.dumps(meta, indent=2))
|
||||
def info(name, markdown):
|
||||
info(name, markdown)
|
||||
|
|
Loading…
Reference in New Issue
Block a user