public enum TagPosition extends Enum<TagPosition>
| Modifier and Type | Method and Description |
|---|---|
TagPosition |
convert(TagFormat format) |
static String |
getPositionText(TagFormat format,
Mention mention,
int index) |
static TagPosition |
getPostion(Mention mention,
int index) |
static TagPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagPosition I
public static final TagPosition O
public static final TagPosition B
public static final TagPosition E
public static final TagPosition W
public static TagPosition[] values()
for (TagPosition c : TagPosition.values()) System.out.println(c);
public static TagPosition 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 nullpublic TagPosition convert(TagFormat format)
public static TagPosition getPostion(Mention mention, int index)
Copyright © 2018 JULIE Lab, Germany. All rights reserved.