spaCy/spacy/__init__.py

9 lines
230 B
Python
Raw Normal View History

from . import util
from .en import English
2016-03-05 19:51:32 +03:00
def load(name, vectors=None, via=None):
return English(
package=util.get_package_by_name(name, via=via),
2016-03-08 14:59:18 +03:00
vectors_package=util.get_package_by_name(vectors, via=via))