tflite_text_classification 0.0.1 tflite_text_classification: ^0.0.1 copied to clipboard
A flutter plugin for doing text classification using tflite models.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add tflite_text_classification
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
tflite_text_classification: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tflite_text_classification/tflite_text_classification.dart';