Interface TextChunker

All Known Implementing Classes:
MarkdownChunker

public interface TextChunker
Cuts a document's text into the pieces a InputKind.TEXT binding sends to its engine. Configured per binding under "chunker".
Since:
Apache Tika 4.1
  • Method Summary

    Modifier and Type
    Method
    Description
    List<int[]>
    spans(String text)
    Half-open [start, end) character ranges of the chunks, in document order.
  • Method Details

    • spans

      List<int[]> spans(String text)
      Half-open [start, end) character ranges of the chunks, in document order.