characterSimilarities method
Returns a ordered list of SimilarityIndex values for the terms
, in
descending order of SimilarityIndex.similarity.
The String and other
are converted to lower-case and trimmed for the
comparison.
Not case-sensitive.
Implementation
List<SimilarityIndex> characterSimilarities(Iterable<String> terms) =>
characterSimilarityMap(terms)
.entries
.map((e) => SimilarityIndex(e.key, e.value))
.sortBySimilarity();