Back to Tensorflow

Module: tflite_support.task.text

tensorflow/lite/g3doc/api_docs/python/tflite_support/task/text.md

2.21.02.4 KB
Original Source

page_type: reference description: TensorFlow Lite Task Library Text APIs.

<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_support.task.text" /> <meta itemprop="path" content="Stable" /> </div>

Module: tflite_support.task.text

<!-- Insert buttons and diff --> <table class="tfo-notebook-buttons tfo-api nocontent" align="left"> <td> <a target="_blank" href="https://github.com/tensorflow/tflite-support/blob/v0.4.4/tensorflow_lite_support/python/task/text/__init__.py">
View source on GitHub
</a> </td> </table>

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.