# ChunkingMode

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

Mode for text chunking.
- `
  ### [character](https://developers.google.com/edge/api/mediapipe/swift/retrieval/Enums/ChunkingMode.md.txt#/c:_E_MPPChunkingMode_MPPChunkingModeCharacter)

  `

  #### Declaration

  Swift

      case character

- `
  ### [word](https://developers.google.com/edge/api/mediapipe/swift/retrieval/Enums/ChunkingMode.md.txt#/c:_E_MPPChunkingMode_MPPChunkingModeWord)

  `

  #### Declaration

  Swift

      case word

- `
  ### [init(rawValue:)](https://developers.google.com/edge/api/mediapipe/swift/retrieval/Enums/ChunkingMode.md.txt#/s:So15MPPChunkingModeV8rawValueABSgSi_tcfc)

  `

  #### Declaration

  Swift

      init?(rawValue: Int)