TextSimilarity class

Application of Levenshtein's Automaton to find similarities between a String and a set of known words.

Constructors

TextSimilarity()
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
similarities({required String input, required List<String> candidates, int distance = 1, Set<String>? customAlphabet}) Set<String>
This method returns a Set<String> of candidates accepted by the generated Levenshtein's Automaton for the input.
toString() String
A string representation of this object.
inherited

Operators

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