FutoSwipeIsolateManager class final
Owns the worker isolate that holds the ONNX sessions and lexicon.
Constructors
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
-
close(
) → Future< void> -
decode(
List< FutoSwipePoint> trace, FutoSwipeLayout layout, List<String> ? previousWords, int maxCandidates) → Future<List< FutoSwipeCandidate> > -
emissions(
List< FutoSwipePoint> trace, FutoSwipeLayout layout) → Future<FutoSwipeEmissions> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
predictNextWords(
List< String> previousWords, int count) → Future<List< FutoWordScore> > -
scoreWords(
List< String> previousWords, List<String> words) → Future<List< double> > -
setLexicon(
List< FutoSwipeWord> lexicon, bool includeModelVocabulary) → Future<int> -
start(
{required FutoSwipeBundle bundle, required List< FutoSwipeWord> lexicon, required bool includeModelVocabulary, required int beamWidth}) → Future<int> - Returns the swipeable lexicon size.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited