MLTextEmbeddingAnalyzer class

Constructors

MLTextEmbeddingAnalyzer()

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

analyseSentencesSimilarity({required String sentence1, required String sentence2}) Future<double>
analyseSimilarWords({required String word, required int number}) Future<List<String>>
analyseWordsSimilarity({required String word1, required String word2}) Future<double>
analyseWordVector({required String word}) Future<List<double>>
analyseWordVectorBatch(List<String> words) Future<Map<String, List<double>>>
analyzeSentenceVector({required String sentence}) Future<List<double>>
createTextEmbeddingAnalyzer({required MLTextEmbeddingAnalyzerSetting setting}) Future<bool>
getVocabularyVersion() Future<MlVocabularyVersion>
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

Constants

errAnalyzeFailed → const int
errAuthFailed → const int
errAuthTokenInvalid → const int
errInner → const int
errNetUnavailable → const int
errParamIllegal → const int
errServiceIsUnavailable → const int