mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +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,
|
"name": self.vocab.vectors.name,
|
||||||
}
|
}
|
||||||
self._meta["labels"] = self.pipe_labels
|
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
|
return self._meta
|
||||||
|
|
||||||
@meta.setter
|
@meta.setter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user