splitChunks method

List<ChunkWithIndex> splitChunks(
  1. String text,
  2. int maxLength, {
  3. bool overlap = false,
  4. bool useHeuristic = true,
  5. bool useQuotesBracketsProcessing = true,
  6. int maxRecoverStep = 5,
  7. int maxRecoverLength = 20000,
})

Implementation

List<ChunkWithIndex> splitChunks(String text, int maxLength,
    {bool overlap = false,
    bool useHeuristic = true,
    bool useQuotesBracketsProcessing = true,
    int maxRecoverStep = 5,
    int maxRecoverLength = 20000}) {
  return kss.splitChunks(text, maxLength, overlap, useHeuristic, useQuotesBracketsProcessing, maxRecoverStep, maxRecoverLength);
}