mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
9 lines
230 B
Python
9 lines
230 B
Python
from . import util
|
|
from .en import English
|
|
|
|
|
|
def load(name, vectors=None, via=None):
|
|
return English(
|
|
package=util.get_package_by_name(name, via=via),
|
|
vectors_package=util.get_package_by_name(vectors, via=via))
|