Introducing LiteRT: Google's high-performance runtime for on-device AI, formerly known as TensorFlow Lite.
Learn more
Module: tflite_support.task.text
Stay organized with collections
Save and categorize content based on your preferences.
TensorFlow Lite Task Library Text APIs.
This module provides interface to run TensorFlow Lite natural language
processing models.
Classes
class BertCluAnnotator
: Class that performs Bert CLU Annotation on text.
class BertCluAnnotatorOptions
: Options for the Bert CLU Annotator task.
class BertNLClassifier
: Class that performs Bert NL classification on text.
class BertNLClassifierOptions
: Options for the Bert NL classifier task.
class BertQuestionAnswerer
: Class that performs Bert question answering on text.
class BertQuestionAnswererOptions
: Options for the Bert question answerer task.
class NLClassifier
: Class that performs NL classification on text.
class NLClassifierOptions
: Options for the NL classifier task.
class TextEmbedder
: Class that performs dense feature vector extraction on text.
class TextEmbedderOptions
: Options for the text embedder task.
class TextSearcher
: Class to performs text search.
class TextSearcherOptions
: Options for the text search task.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-05-08 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[]]