mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Fix typo in Language.from_disk
This commit is contained in:
parent
46d8a66fef
commit
f08c871adf
|
@ -650,7 +650,7 @@ class Language(object):
|
|||
for name, proc in self.pipeline:
|
||||
if name in disable:
|
||||
continue
|
||||
if not hasattr(proc, 'to_disk'):
|
||||
if not hasattr(proc, 'from_disk'):
|
||||
continue
|
||||
deserializers[name] = lambda p, proc=proc: proc.from_disk(p, vocab=False)
|
||||
exclude = {p: False for p in disable}
|
||||
|
|
Loading…
Reference in New Issue
Block a user