Modifier and Type | Method and Description |
---|---|
static ReturnDataBN |
Cluster.filterOutliers(DISCO disco,
java.lang.String word,
int n)
This method takes the list of the n most similar words of the
input word and filters out all words that do not appear in the
similarity list of at least one of the other similar
words of the input word.
The resulting list of similar words will have size <= n. Important note: This method only works with word spaces of type DISCO.WordspaceType.SIM . |
ReturnDataBN |
DISCO.similarWords(java.lang.String word)
Looks up the input word in the index and returns its semantically
similar words ordered by decreasing similarity together
with their similarity values.
If the search word isn't found in the word space, the return value is null .Important note: This method only works with word spaces of type DISCO.WordspaceType.SIM . |