TermSimilarityCollectionExtension extension
Extension methods on collection of SimilarityIndex.
Methods
-
limit(
[int? limit = 10]) → List< TermSimilarity> -
Available on Iterable<
Returns the firstTermSimilarity> , provided by the TermSimilarityCollectionExtension extensionlimit
instances of the collection. -
sortBySimilarity(
[bool descending = true]) → List< TermSimilarity> -
Available on Iterable<
Sorts the collection of SimilarityIndex instances in descending order of SimilarityIndex.similarity.TermSimilarity> , provided by the TermSimilarityCollectionExtension extension