ScoredSentence class

Scored sentence with similarity value.

Constructors

ScoredSentence({required String sentence, required double similarity, required int index})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Original index in the sentence list.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentence String
The sentence text.
final
similarity double
Similarity score to query (0.0 - 1.0).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited