Package | Description |
---|---|
info.debatty.java.stringsimilarity | |
info.debatty.java.utils |
Modifier and Type | Method and Description |
---|---|
SparseIntegerVector |
StringProfile.getSparseVector() |
Constructor and Description |
---|
StringProfile(SparseIntegerVector vector,
KShingling ks) |
Modifier and Type | Method and Description |
---|---|
double |
SparseIntegerVector.cosineSimilarity(SparseIntegerVector other) |
double |
SparseIntegerVector.dotProduct(SparseIntegerVector other) |
int |
SparseIntegerVector.intersection(SparseIntegerVector other) |
double |
SparseIntegerVector.jaccard(SparseIntegerVector other)
Computes and return the Jaccard index with other SparseVector.
|
double |
SparseIntegerVector.qgram(SparseIntegerVector other)
Compute and return the qgram similarity with other vector.
|
int |
SparseIntegerVector.union(SparseIntegerVector other) |
Copyright © 2015. All rights reserved.