cleanup api

This commit is contained in:
Henning Peters 2016-03-05 17:51:32 +01:00
parent 931c07a609
commit aa4d964c14

View File

@ -2,7 +2,7 @@ from . import util
from .en import English
def load(name, via=None, vectors_name=None):
package = util.get_package_by_name(name, via=via)
vectors_package = util.get_package_by_name(vectors_name, via=via)
return English(package=package, vectors_package=vectors_package)
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_name, via=via))