mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Remove extraneous label from textcat class
This commit is contained in:
parent
45e0617e61
commit
dd90fe09f5
|
@ -784,7 +784,7 @@ class TextCategorizer(Pipe):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def labels(self):
|
def labels(self):
|
||||||
return self.cfg.setdefault('labels', ['LABEL'])
|
return self.cfg.setdefault('labels', [])
|
||||||
|
|
||||||
@labels.setter
|
@labels.setter
|
||||||
def labels(self, value):
|
def labels(self, value):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user