rank

public final List<Pair<String, Float>> rank(String word, Set<String> set)

Rank a set of words by their respective distance to some central term.

Return

Ordered list of words and their associated scores.

Parameters

word

The central word.

set

Set of words to rank.