|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Detokenizer.DetokenizationOperation> opennlp.tools.tokenize.Detokenizer.DetokenizationOperation
public static enum Detokenizer.DetokenizationOperation
This enum contains an operation for every token to merge the tokens together to their detokenized form.
Enum Constant Summary | |
---|---|
MERGE_TO_LEFT
The current token should be attached to the string on the left side. |
|
MERGE_TO_RIGHT
The current token should be attached to the begin token on the right side. |
|
NO_OPERATION
Do not perform a merge operation for this token, but is possible that another token can be attached to the left or right side of this one. |
Method Summary | |
---|---|
static Detokenizer.DetokenizationOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Detokenizer.DetokenizationOperation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Detokenizer.DetokenizationOperation MERGE_TO_RIGHT
public static final Detokenizer.DetokenizationOperation MERGE_TO_LEFT
public static final Detokenizer.DetokenizationOperation NO_OPERATION
Method Detail |
---|
public static Detokenizer.DetokenizationOperation[] values()
for (Detokenizer.DetokenizationOperation c : Detokenizer.DetokenizationOperation.values()) System.out.println(c);
public static Detokenizer.DetokenizationOperation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |