public interface DocumentSplitter
| Modifier and Type | Method and Description |
|---|---|
List<TextSegment> |
split(Document document)
Splits a single Document into a list of TextSegment objects.
|
default List<TextSegment> |
splitAll(List<Document> documents)
Splits a list of Documents into a list of TextSegment objects.
|
List<TextSegment> split(Document document)
document - The Document to be split.default List<TextSegment> splitAll(List<Document> documents)
documents - The list of Documents to be split.Copyright © 2023. All rights reserved.