Package org.tribuo.util.tokens.options
Enum Class CoreTokenizerOptions.CoreTokenizerType
java.lang.Object
java.lang.Enum<CoreTokenizerOptions.CoreTokenizerType>
org.tribuo.util.tokens.options.CoreTokenizerOptions.CoreTokenizerType
- All Implemented Interfaces:
Serializable
,Comparable<CoreTokenizerOptions.CoreTokenizerType>
,Constable
- Enclosing class:
- CoreTokenizerOptions
public static enum CoreTokenizerOptions.CoreTokenizerType
extends Enum<CoreTokenizerOptions.CoreTokenizerType>
Tokenizer type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCreates aBreakIteratorTokenizer
.Creates aNonTokenizer
.Creates aShapeTokenizer
.Creates aSplitCharactersTokenizer
.Creates aSplitPatternTokenizer
.Creates aUniversalTokenizer
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BREAK_ITERATOR
Creates aBreakIteratorTokenizer
. -
SPLIT_CHARACTERS
Creates aSplitCharactersTokenizer
. -
NON
Creates aNonTokenizer
. -
SHAPE
Creates aShapeTokenizer
. -
SPLIT_PATTERN
Creates aSplitPatternTokenizer
. -
UNIVERSAL
Creates aUniversalTokenizer
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-