mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add "labels" to Language.meta
This commit is contained in:
parent
ac0e27a825
commit
4d4b3b0783
|
@ -208,6 +208,7 @@ class Language(object):
|
||||||
"name": self.vocab.vectors.name,
|
"name": self.vocab.vectors.name,
|
||||||
}
|
}
|
||||||
self._meta["pipeline"] = self.pipe_names
|
self._meta["pipeline"] = self.pipe_names
|
||||||
|
self._meta["labels"] = self.pipe_labels
|
||||||
return self._meta
|
return self._meta
|
||||||
|
|
||||||
@meta.setter
|
@meta.setter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user