Make SentenceRecognizer.label_data return None
Overwrite the method from the base class (Tagger) but don't export anything in "init labels"
@@ -71,6 +71,10 @@ class SentenceRecognizer(Tagger):
# are 0
return tuple(["I", "S"])
+ @property
+ def label_data(self):
+ return None
+
def set_annotations(self, docs, batch_tag_ids):
"""Modify a batch of documents, using pre-computed scores.
