Module: mp.tasks.text
MediaPipe Tasks Text API.
Modules
core module: Copyright 2022 The MediaPipe Authors.
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.