public static enum JapaneseTokenizer.Type extends Enum<JapaneseTokenizer.Type>
Enum Constant and Description |
---|
KNOWN
Known words from the system dictionary.
|
UNKNOWN
Unknown words (heuristically segmented).
|
USER
Known words from the user dictionary.
|
Modifier and Type | Method and Description |
---|---|
static JapaneseTokenizer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JapaneseTokenizer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JapaneseTokenizer.Type KNOWN
public static final JapaneseTokenizer.Type UNKNOWN
public static final JapaneseTokenizer.Type USER
public static JapaneseTokenizer.Type[] values()
for (JapaneseTokenizer.Type c : JapaneseTokenizer.Type.values()) System.out.println(c);
public static JapaneseTokenizer.Type 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.