Extractor class

Class for extracting matches from a given list

Constructors

Extractor([int _cutoff = 0])

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

extractOne<T>(String query, List<T> choices, Applicable func, [String getter(T obj)?]) ExtractedResult<T>
Find the single best match above a score in a list of choices
extractSorted<T>(String query, List<T> choices, Applicable func, [String getter(T obj)?]) List<ExtractedResult<T>>
Creates a sorted list of ExtractedResult from the most similar choices to the least.
extractTop<T>(String query, List<T> choices, Applicable func, int limit, [String getter(T obj)?]) List<ExtractedResult<T>>
Creates a sorted list of ExtractedResult which contain the top limit most similar choices using k-top heap sort
extractWithoutOrder<T>(String query, List<T> choices, Applicable func, [String getter(T obj)?]) List<ExtractedResult<T>>
Returns the list of choices with their associated scores of similarity in a list of ExtractedResult
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