mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-02 23:03:41 +03:00
Remove unused argument
This commit is contained in:
parent
c13b3fa052
commit
c4857bc7db
|
@ -31,7 +31,7 @@ def get_lang_class(name):
|
||||||
return LANGUAGES[lang]
|
return LANGUAGES[lang]
|
||||||
|
|
||||||
|
|
||||||
def load_lang_class(lang, depth='.'):
|
def load_lang_class(lang):
|
||||||
module = importlib.import_module('.lang.%s' % lang, 'spacy')
|
module = importlib.import_module('.lang.%s' % lang, 'spacy')
|
||||||
return getattr(module, module.__all__[0])
|
return getattr(module, module.__all__[0])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user