TextClassifier class
Utility to analyze text via MediaPipe's text classification task.
- Inheritance
-
- Object
- BaseTextClassifier
- TextClassifier
Constructors
- TextClassifier.new(TextClassifierOptions _options)
- Utility to analyze text via MediaPipe's text classification task.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
classify(
String text) → Future< TextClassifierResult> -
Sends a String value to MediaPipe for classification.
override
-
dispose(
) → void -
Closes down the background isolate, releasing all resources.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited