public static enum KoreanTokenizer.DecompoundMode extends Enum<KoreanTokenizer.DecompoundMode>
POS.Type.COMPOUND
, POS.Type.INFLECT
and POS.Type.PREANALYSIS
tokens.Enum Constant and Description |
---|
DISCARD
Decompose compounds and discards the original form (default).
|
MIXED
Decompose compounds and keeps the original form.
|
NONE
No decomposition for compound.
|
Modifier and Type | Method and Description |
---|---|
static KoreanTokenizer.DecompoundMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KoreanTokenizer.DecompoundMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KoreanTokenizer.DecompoundMode NONE
public static final KoreanTokenizer.DecompoundMode DISCARD
public static final KoreanTokenizer.DecompoundMode MIXED
public static KoreanTokenizer.DecompoundMode[] values()
for (KoreanTokenizer.DecompoundMode c : KoreanTokenizer.DecompoundMode.values()) System.out.println(c);
public static KoreanTokenizer.DecompoundMode 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-2019 Apache Software Foundation. All Rights Reserved.