mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 05:04:09 +03:00
Add missing return statement in SentenceSegmenter
This commit is contained in:
parent
aab299c8ae
commit
ed8da9b11f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user