View source on GitHub
|
MediaPipe Tasks Text API.
Classes
class LanguageDetector: Class that predicts the language of an input text.
class LanguageDetectorOptions: Options for the language detector task.
class TextClassifier: Class that performs classification on text.
class TextClassifierOptions: Options for the text classifier task.
class TextClassifierResult: Contains the classification results of a model.
class TextEmbedder: Class that performs embedding extraction on text.
class TextEmbedderOptions: Options for the text embedder task.
class TextEmbedderResult: Embedding results for a given embedder model.
class TextEmbeddingFormatContext: Formatting options for Gecko embeddings.
class TextEmbeddingTextRole: The role of the text in the context of the embedding task.
class TextEmbeddingType: The embedding type of Gecko embeddings.
class TextProofreader: Performs proofreading on text.
class TextProofreaderCorrection: A single correction.
class TextProofreaderCorrectionType: The type of correction.
class TextProofreaderOptions: Options for the text proofreader task.
class TextProofreaderResult: Result of the text proofreader task.
class TextSummarizer: Performs summarization on text.
class TextSummarizerMode: The mode of the text summarizer.
class TextSummarizerOptions: Options for the text summarizer task.
class TextSummarizerResult: Result of the text summarizer task.
View source on GitHub