public static enum CoreTokenizerOptions.CoreTokenizerType extends Enum<CoreTokenizerOptions.CoreTokenizerType>
Enum Constant and Description |
---|
BREAK_ITERATOR
Creates a
BreakIteratorTokenizer . |
NON
Creates a
NonTokenizer . |
SHAPE
Creates a
ShapeTokenizer . |
SPLIT_CHARACTERS
Creates a
SplitCharactersTokenizer . |
SPLIT_PATTERN
Creates a
SplitPatternTokenizer . |
UNIVERSAL
Creates a
UniversalTokenizer . |
Modifier and Type | Method and Description |
---|---|
static CoreTokenizerOptions.CoreTokenizerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreTokenizerOptions.CoreTokenizerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreTokenizerOptions.CoreTokenizerType BREAK_ITERATOR
BreakIteratorTokenizer
.public static final CoreTokenizerOptions.CoreTokenizerType SPLIT_CHARACTERS
SplitCharactersTokenizer
.public static final CoreTokenizerOptions.CoreTokenizerType NON
NonTokenizer
.public static final CoreTokenizerOptions.CoreTokenizerType SHAPE
ShapeTokenizer
.public static final CoreTokenizerOptions.CoreTokenizerType SPLIT_PATTERN
SplitPatternTokenizer
.public static final CoreTokenizerOptions.CoreTokenizerType UNIVERSAL
UniversalTokenizer
.public static CoreTokenizerOptions.CoreTokenizerType[] values()
for (CoreTokenizerOptions.CoreTokenizerType c : CoreTokenizerOptions.CoreTokenizerType.values()) System.out.println(c);
public static CoreTokenizerOptions.CoreTokenizerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.