Text Chunker

Splits text documents into smaller chunks.

Inputs

  • Corpus: documents to split

Outputs

  • Chunked Corpus: a corpus with excerpt and source_doc_idx columns

Splits each document into chunks of at most the selected size (128, 256, 512 or 1024 characters). Two strategies are available:

The source_doc_idx column holds the index of the document each chunk came from. Chunking is the usual first step before embedding a corpus for the Reference Library.

Text Chunker widget

Text splitting widgets