SimilarityIndexCollectionExtension extension

Extension methods on collection of SimilarityIndex.

on

Methods

limit([int? limit = 10]) List<SimilarityIndex>
Returns the first limit instances of the collection.
sortBySimilarity([bool descending = true]) List<SimilarityIndex>
Sorts the collection of SimilarityIndex instances in descending order of SimilarityIndex.similarity.