public static enum CategoryCleanerHandler.SimilarityAlgorithm extends java.lang.Enum<CategoryCleanerHandler.SimilarityAlgorithm>
Enum Constant and Description |
---|
DAMERAU_LEVENSHTEIN |
JARO_WINKLER |
LEVENSHTEIN |
LUCENE_LEVENSHTEIN |
NGRAM |
Modifier and Type | Method and Description |
---|---|
static CategoryCleanerHandler.SimilarityAlgorithm |
getFromName(java.lang.String name) |
java.lang.String |
getName() |
org.apache.lucene.search.spell.StringDistance |
getStringDistance() |
static CategoryCleanerHandler.SimilarityAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CategoryCleanerHandler.SimilarityAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CategoryCleanerHandler.SimilarityAlgorithm DAMERAU_LEVENSHTEIN
public static final CategoryCleanerHandler.SimilarityAlgorithm JARO_WINKLER
public static final CategoryCleanerHandler.SimilarityAlgorithm LEVENSHTEIN
public static final CategoryCleanerHandler.SimilarityAlgorithm LUCENE_LEVENSHTEIN
public static final CategoryCleanerHandler.SimilarityAlgorithm NGRAM
public static CategoryCleanerHandler.SimilarityAlgorithm[] values()
for (CategoryCleanerHandler.SimilarityAlgorithm c : CategoryCleanerHandler.SimilarityAlgorithm.values()) System.out.println(c);
public static CategoryCleanerHandler.SimilarityAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public org.apache.lucene.search.spell.StringDistance getStringDistance()
public static CategoryCleanerHandler.SimilarityAlgorithm getFromName(java.lang.String name)
Copyright © 2001-2021 Jalios SA. All Rights Reserved.