Enum LuceneAnalyzerUtil.StemFilterType
- java.lang.Object
-
- java.lang.Enum<LuceneAnalyzerUtil.StemFilterType>
-
- org.apache.nutch.scoring.similarity.util.LuceneAnalyzerUtil.StemFilterType
-
- All Implemented Interfaces:
Serializable
,Comparable<LuceneAnalyzerUtil.StemFilterType>
- Enclosing class:
- LuceneAnalyzerUtil
public static enum LuceneAnalyzerUtil.StemFilterType extends Enum<LuceneAnalyzerUtil.StemFilterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENGLISHMINIMALSTEM_FILTER
NONE
PORTERSTEM_FILTER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LuceneAnalyzerUtil.StemFilterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LuceneAnalyzerUtil.StemFilterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PORTERSTEM_FILTER
public static final LuceneAnalyzerUtil.StemFilterType PORTERSTEM_FILTER
-
ENGLISHMINIMALSTEM_FILTER
public static final LuceneAnalyzerUtil.StemFilterType ENGLISHMINIMALSTEM_FILTER
-
NONE
public static final LuceneAnalyzerUtil.StemFilterType NONE
-
-
Method Detail
-
values
public static LuceneAnalyzerUtil.StemFilterType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LuceneAnalyzerUtil.StemFilterType c : LuceneAnalyzerUtil.StemFilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LuceneAnalyzerUtil.StemFilterType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-