Enum EngineAccess.WordListType
- Object
-
- Enum<EngineAccess.WordListType>
-
- WordListType
-
- All Implemented Interfaces:
Serializable
,Comparable<EngineAccess.WordListType>
- Enclosing class:
- EngineAccess
public static enum EngineAccess.WordListType extends Enum<EngineAccess.WordListType>
Result types known to methods that return word processing data.- Since:
- 1.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINAL
The words of the input text after all preprocessing steps (like auto-correction, compound splitting, similarity matching).FINALIZED
Deprecated.useFINAL
ORIGINAL
The words spelled exactly as given in the input text, without any further word processing.ORIGINAL_PACKED
The words spelled exactly as given in the input text, without any further word processing.RAW
Deprecated.useORIGINAL
RAW_PACKED
Deprecated.useORIGINAL_PACKED
SIMPLIFIED
The simplified words of the input text.SIMPLIFIED_PACKED
The simplified words of the input text.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EngineAccess.WordListType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EngineAccess.WordListType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL_PACKED
public static final EngineAccess.WordListType ORIGINAL_PACKED
The words spelled exactly as given in the input text, without any further word processing.- Since:
- 4.0.3
-
RAW_PACKED
@Deprecated public static final EngineAccess.WordListType RAW_PACKED
Deprecated.useORIGINAL_PACKED
- Since:
- 1.2
-
ORIGINAL
public static final EngineAccess.WordListType ORIGINAL
The words spelled exactly as given in the input text, without any further word processing.null
words may be inserted at word positions that would be created during compound splitting. The resulting words array has as many elements as the words array returned for typeFINAL
.- Since:
- 1.2
-
RAW
@Deprecated public static final EngineAccess.WordListType RAW
Deprecated.useORIGINAL
- Since:
- 1.2
-
SIMPLIFIED_PACKED
public static final EngineAccess.WordListType SIMPLIFIED_PACKED
The simplified words of the input text.- Since:
- 1.2
-
SIMPLIFIED
public static final EngineAccess.WordListType SIMPLIFIED
The simplified words of the input text.null
words may be inserted at word positions that would be created during compound splitting. The resulting words array has as many elements as the words array returned for typeFINAL
.- Since:
- 1.2
-
FINAL
public static final EngineAccess.WordListType FINAL
The words of the input text after all preprocessing steps (like auto-correction, compound splitting, similarity matching).- Since:
- 4.0.3
-
FINALIZED
@Deprecated public static final EngineAccess.WordListType FINALIZED
Deprecated.useFINAL
- Since:
- 1.2
-
-
Method Detail
-
values
public static EngineAccess.WordListType[] 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 (EngineAccess.WordListType c : EngineAccess.WordListType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EngineAccess.WordListType 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
-
-