| Package | Description |
|---|---|
| org.simmetrics | |
| org.simmetrics.metrics |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ListMetric<T>
Measures the similarity between two arbitrary lists containing elements of
the same type.
|
interface |
MultisetMetric<T>
Measures the similarity between two arbitrary multisets containing elements
of the same type.
|
interface |
SetMetric<T>
Measures the similarity between two arbitrary sets containing elements of the
same type.
|
interface |
StringMetric
Measures the similarity between two strings.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockDistance<T>
Calculates the block distance and similarity over two multisets.
|
class |
CosineSimilarity<T>
Calculates the cosine similarity over two multisets.
|
class |
DamerauLevenshtein
Calculates the Damerau-Levenshtein similarity and distance measure between
two strings.
|
class |
Dice<T>
Calculates the Dice similarity coefficient and distance over two sets.
|
class |
EuclideanDistance<T>
Calculates the Euclidean distance and similarity over two multisets.
|
class |
GeneralizedJaccard<T>
Calculates the generalized Jaccard distance and similarity coefficient over
two multisets.
|
class |
GeneralizedOverlapCoefficient<T>
The generalized overlap coefficient measures the overlap between two
multisets.
|
class |
Identity<T>
Identity similarity and distance metric that returns a distance of 0.0 and
similarity 1.0 when the inputs are equals, and vice-versa when they're not.
|
class |
Jaccard<T>
Calculates the Jaccard distance and similarity coefficient over two
multisets.
|
class |
Jaro
Calculates the Jaro distance (similarity) over two strings.
|
class |
JaroWinkler
Calculates the Jaro-Winkler distance (similarity) over two strings.
|
class |
Levenshtein
Calculates the Levenshtein distance and similarity over two strings.
|
class |
LongestCommonSubsequence
Applies the longest common subsequence algorithm to calculate the similarity
and distance between two strings.
|
class |
LongestCommonSubstring
Applies the longest common substring algorithm to calculate the similarity
and distance between two strings.
|
class |
MongeElkan
Calculates the normalized Monge-Elkan distance (similarity) over two strings.
|
class |
NeedlemanWunch
Applies the Needleman-Wunsch algorithm to calculate the similarity
between two strings.
|
class |
OverlapCoefficient<T>
The overlap coefficient measures the overlap between two sets.
|
class |
SimonWhite<T>
Calculates the Dice similarity coefficient and distance over two multisets.
|
class |
SmithWaterman
Applies the Smith-Waterman algorithm to calculate the similarity between two
strings.
|
class |
SmithWatermanGotoh
Applies the Smith-Waterman algorithm to calculate the similarity between two
strings.
|
class |
TanimotoCoefficient<T>
Calculates the Tanimoto similarity coefficient over two sets.
|
| Modifier and Type | Method and Description |
|---|---|
static StringMetric |
StringMetrics.create(Metric<String> metric)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.create(Metric<String> metric,
Simplifier simplifier)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForListMetric(Metric<List<String>> metric,
Simplifier simplifier,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForListMetric(Metric<List<String>> metric,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForMultisetMetric(Metric<com.google.common.collect.Multiset<String>> metric,
Simplifier simplifier,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForMultisetMetric(Metric<com.google.common.collect.Multiset<String>> metric,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForSetMetric(Metric<Set<String>> metric,
Simplifier simplifier,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
static StringMetric |
StringMetrics.createForSetMetric(Metric<Set<String>> metric,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
Copyright © 2014–2016. All rights reserved.