Classes
The following declarations are available globally.
-
Identifies the language of input text using a MediaPipe TensorFlow Lite model.
Declaration
Swift
final class LanguageDetector -
Performs classification on text using a TensorFlow Lite model with optional metadata.
Supports BERT-tokenized, regex-tokenized, and raw string-input classification models, returning per-head category predictions filtered by the configured
TextClassifierOptions.Declaration
Swift
final class TextClassifier -
Extracts numerical feature embeddings from UTF-8 text using a MediaPipe Tasks model.
Declaration
Swift
final class TextEmbedder -
Corrects spelling and grammatical errors in input text and computes token-level diffs.
Declaration
Swift
final class TextProofreader -
Summarizes text using a LiteRT-LM model asset bundle.
Declaration
Swift
final class TextSummarizer