Add missing return statement in SentenceSegmenter

This commit is contained in:
Matthew Honnibal 2017-10-17 15:32:56 +02:00
parent aab299c8ae
commit ed8da9b11f

View File

@ -69,6 +69,7 @@ class SentenceSegmenter(object):
def __call__(self, doc):
doc.user_hooks['sents'] = self.strategy
return doc
@staticmethod
def split_on_punct(doc):