mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-24 16:24:16 +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
|
||||
def labels(self):
|
||||
return self.cfg.setdefault('labels', ['LABEL'])
|
||||
return self.cfg.setdefault('labels', [])
|
||||
|
||||
@labels.setter
|
||||
def labels(self, value):
|
||||
|
|
Loading…
Reference in New Issue
Block a user