Re-add meta["pipeline"] for now

This commit is contained in:
Ines Montani 2020-07-28 16:14:23 +02:00
parent b83ead5bf5
commit 2748249217

View File

@ -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