Skip to content

Commit

Permalink
feat(crafters): fix docstring for SlidingWindowSegmenter
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaase2 committed Jun 1, 2020
1 parent c6ef697 commit c380214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jina/executors/crafters/nlp/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(self,

def craft(self, buffer: bytes, doc_id: int, *args, **kwargs) -> List[Dict]:
"""
Split the chinese text into overlapping chunks
Split the text into overlapping chunks
:param buffer: the raw text in the `bytes` format
:param doc_id: the doc id
:return: a list of chunk dicts
Expand Down

0 comments on commit c380214

Please sign in to comment.