Structures
The following declarations are available globally.
-
A single unchanged, inserted, or deleted text segment produced during proofreading.
Declaration
Swift
struct Correction: Sendable, Equatable, Hashable -
Configuration for initializing and filtering a
LanguageDetectortask.Declaration
Swift
struct LanguageDetectorOptions: Sendable, Equatable, Hashable -
Detection output produced by
LanguageDetectorfor an input text.Declaration
Swift
struct LanguageDetectorResult: Sendable, Equatable, Hashable -
A predicted language and its confidence score.
Declaration
Swift
struct LanguagePrediction: Sendable, Equatable, Hashable -
Configuration options for setting up a
TextClassifiertask.Declaration
Swift
struct TextClassifierOptions: Sendable, Equatable, Hashable -
Classification output produced by
TextClassifierfor an input string.Declaration
Swift
struct TextClassifierResult: Sendable, Equatable, Hashable -
Configuration options for
TextEmbedder.Declaration
Swift
struct TextEmbedderOptions: Sendable, Equatable, Hashable -
Output produced by a
TextEmbedderinference call.Declaration
Swift
struct TextEmbedderResult: Sendable, Equatable, Hashable -
Prompt-formatting instructions for models that distinguish task intent and role (such as Gecko).
Declaration
Swift
struct TextFormatContext: Sendable, Equatable, Hashable -
Configuration options for the MediaPipe
TextProofreadertask.Declaration
Swift
struct TextProofreaderOptions: Sendable, Equatable, Hashable -
Completed output returned by synchronous proofreading.
Declaration
Swift
struct TextProofreaderResult: Sendable, Equatable, Hashable -
Incremental chunk or terminal diff returned during streaming proofreading.
Declaration
Swift
struct TextProofreaderStreamResult: Sendable, Equatable, Hashable -
Configuration options for setting up a
TextSummarizertask.Declaration
Swift
struct TextSummarizerOptions: Sendable, Equatable, Hashable -
Complete summary output produced by
TextSummarizer.Declaration
Swift
struct TextSummarizerResult: Sendable, Equatable, Hashable -
Incremental chunk produced during streaming text summarization.
Declaration
Swift
struct TextSummarizerStreamResult: Sendable, Equatable, Hashable