mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00
fixing tests
This commit is contained in:
parent
50b36d246f
commit
c3e87d0d02
@ -159,7 +159,7 @@ class ChineseDocumentSplitter(DocumentSplitter):
|
||||
split_start_indices.append(chunk_start_idx)
|
||||
|
||||
# Get the number of sentences that overlap with the next chunk
|
||||
num_sentences_to_keep = ChineseDocumentSplitter._number_of_sentences_to_keep(
|
||||
num_sentences_to_keep = self._number_of_sentences_to_keep(
|
||||
sentences=current_chunk,
|
||||
split_length=split_length,
|
||||
split_overlap=split_overlap,
|
||||
|
Loading…
x
Reference in New Issue
Block a user