public interface SimHash<T>
Modifier and Type | Method and Description |
---|---|
long |
hash(T x) |
static SimHash<int[]> |
of(byte[][] features)
Returns the SimHash for a set of generic features (represented as byte[]).
|
static SimHash<java.lang.String[]> |
text()
Returns the SimHash for string tokens.
|