| Package | Description |
|---|---|
| org.simmetrics.builders | |
| org.simmetrics.metrics | |
| org.simmetrics.simplifiers |
| Modifier and Type | Method and Description |
|---|---|
StringDistanceBuilder.StringDistanceSimplifierStep |
StringDistanceBuilder.StringDistanceInitialSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the distance.
|
StringDistanceBuilder.StringDistanceSimplifierStep |
StringDistanceBuilder.StringDistanceSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the distance.
|
StringDistanceBuilder.CollectionDistanceSimplifierStep<T> |
StringDistanceBuilder.CollectionDistanceInitialSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the distance.
|
StringDistanceBuilder.CollectionDistanceSimplifierStep<T> |
StringDistanceBuilder.CollectionDistanceSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the distance.
|
StringMetricBuilder.StringMetricSimplifierStep |
StringMetricBuilder.StringMetricInitialSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the metric.
|
StringMetricBuilder.StringMetricSimplifierStep |
StringMetricBuilder.StringMetricSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the metric.
|
StringMetricBuilder.CollectionMetricSimplifierStep<T> |
StringMetricBuilder.CollectionMetricInitialSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the metric.
|
StringMetricBuilder.CollectionMetricSimplifierStep<T> |
StringMetricBuilder.CollectionMetricSimplifierStep.simplify(Simplifier simplifier)
Adds a simplifier to the metric.
|
| Modifier and Type | Method and Description |
|---|---|
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.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.createForSetMetric(Metric<Set<String>> metric,
Simplifier simplifier,
Tokenizer tokenizer)
Deprecated.
Use
StringMetricBuilder in favor of directly
constructing a metric. |
| Modifier and Type | Class and Description |
|---|---|
class |
Caverphone1
Deprecated.
will be removed due to a lack of a good use case
|
class |
Caverphone2
Deprecated.
will be removed due to a lack of a good use case
|
class |
ColognePhonetic
Deprecated.
will be removed due to a lack of a good use case
|
class |
DaitchMokotoffSoundex
Deprecated.
will be removed due to a lack of a good use case
|
class |
DoubleMetaphone
Deprecated.
will be removed due to a lack of a good use case
|
class |
MatchRatingApproach
Deprecated.
will be removed due to a lack of a good use case
|
class |
Metaphone
Deprecated.
will be removed due to a lack of a good use case
|
class |
Nysiis
Deprecated.
will be removed due to a lack of a good use case
|
class |
RefinedSoundex
Deprecated.
will be removed due to a lack of a good use case
|
class |
Soundex
Deprecated.
will be removed due to a lack of a good use case
|
| Modifier and Type | Method and Description |
|---|---|
static Simplifier |
Simplifiers.chain(List<Simplifier> simplifiers)
Constructs a new chain of simplifiers.
|
static Simplifier |
Simplifiers.chain(Simplifier simplifier,
Simplifier... simplifiers)
Constructs a new chain of simplifiers.
|
static Simplifier |
Simplifiers.normalize(Normalizer.Form form)
Returns a simplifier that normalizes the input into a composed or
decomposed form
|
static Simplifier |
Simplifiers.removeAll(Pattern pattern)
Returns a simplifier that removes every subsequence of the input that
matches the pattern.
|
static Simplifier |
Simplifiers.removeAll(String regex)
Returns a simplifier that removes every subsequence of the input that
matches the regex.
|
static Simplifier |
Simplifiers.removeDiacritics()
Returns a simplifier that removes diacritics.
|
static Simplifier |
Simplifiers.removeNonWord()
Returns a simplifier that removes all non-word
[^0-9a-zA-Z]
characters. |
static Simplifier |
Simplifiers.removeNonWord(String replacement)
Returns a simplifier that removes all consecutive non-word characters
[^0-9a-zA-Z]+ and replaces them with the replacement. |
static Simplifier |
Simplifiers.replaceAll(Pattern pattern,
String replacement)
Returns a simplifier that replaces every subsequence of the input that
matches the pattern with the given replacement string.
|
static Simplifier |
Simplifiers.replaceAll(String regex,
String replacement)
Returns a simplifier that replaces every subsequence of the input that
matches the regex with the given replacement string.
|
static Simplifier |
Simplifiers.replaceNonWord()
Returns a simplifier that replaces all individual non-word characters
[^0-9a-zA-Z] with a space. |
static Simplifier |
Simplifiers.replaceNonWord(String replacement)
Returns a simplifier that replaces all individual non-word characters
[^0-9a-zA-Z] with the replacement. |
static Simplifier |
Simplifiers.toLowerCase()
Returns a simplifier that transforms all upper case characters into their
lower case equivalent.
|
static Simplifier |
Simplifiers.toLowerCase(Locale l)
Returns a simplifier that transforms all upper case characters into their
lower case equivalent.
|
static Simplifier |
Simplifiers.toUpperCase()
Returns a simplifier that transforms all lower case characters into their
upper case equivalent.
|
static Simplifier |
Simplifiers.toUpperCase(Locale l)
Returns a simplifier that transforms all lower case characters into their
upper case equivalent.
|
| Modifier and Type | Method and Description |
|---|---|
static Simplifier |
Simplifiers.chain(Simplifier simplifier,
Simplifier... simplifiers)
Constructs a new chain of simplifiers.
|
static Simplifier |
Simplifiers.chain(Simplifier simplifier,
Simplifier... simplifiers)
Constructs a new chain of simplifiers.
|
| Modifier and Type | Method and Description |
|---|---|
static Simplifier |
Simplifiers.chain(List<Simplifier> simplifiers)
Constructs a new chain of simplifiers.
|
Copyright © 2014–2016. All rights reserved.