|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.ontology.clustering.LocalitySensitiveSimilarityListGenerator
public class LocalitySensitiveSimilarityListGenerator
This class generates a list of similar terms for eaach word in a word space based on Locality Sensitive Hashing and hamming distances. This an implementation of the algorithm specified in the following paper:
Constructor Summary | |
---|---|
LocalitySensitiveSimilarityListGenerator()
|
Method Summary | |
---|---|
static Map<String,Set<String>> |
generateSimilarityLists(edu.ucla.sspace.common.SemanticSpace sspace,
int numBasisVectors,
int numPermutations,
int numNeighbors,
double threshold)
Returns a mapping for each term in the word space to it's set of most similar neighbors, based on it's locality sensitive hash value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalitySensitiveSimilarityListGenerator()
Method Detail |
---|
public static Map<String,Set<String>> generateSimilarityLists(edu.ucla.sspace.common.SemanticSpace sspace, int numBasisVectors, int numPermutations, int numNeighbors, double threshold)
sspace
- The SemanticSpace
from which similarity values are
extracted.
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |