MediaPipeTasksRetrieval Framework Reference

ChunkingMode

enum ChunkingMode: RawRepresentable, Sendable, Equatable, Hashable, BitwiseCopyable

Mode for text chunking.

  • Declaration

    Swift

    case character
  • Declaration

    Swift

    case word
  • Creates a new instance with the specified raw value.

    Declaration

    Swift

    init?(rawValue: Int)