mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Re-add meta["pipeline"] for now
This commit is contained in:
parent
b83ead5bf5
commit
2748249217
|
@ -210,6 +210,9 @@ class Language:
|
|||
"name": self.vocab.vectors.name,
|
||||
}
|
||||
self._meta["labels"] = self.pipe_labels
|
||||
# TODO: Adding this back to prevent breaking people's code etc., but
|
||||
# we should consider removing it
|
||||
self._meta["pipeline"] = self.pipe_names
|
||||
return self._meta
|
||||
|
||||
@meta.setter
|
||||
|
|
Loading…
Reference in New Issue
Block a user