diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 5bb4b090e..7c1976dfa 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -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):