public enum SynsetType extends Enum<SynsetType> implements Tag<SynsetType>
Synset -- namely, named entity, concept or unknown.| Enum Constant and Description |
|---|
CONCEPT
A concept is an abstraction or generalization from experience
|
NAMED_ENTITY
Named Entity is a word that clearly identifies one item.
|
UNKNOWN
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
SynsetType |
getValue()
Returns the tag value.
|
String |
toString() |
static SynsetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynsetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynsetType NAMED_ENTITY
public static final SynsetType CONCEPT
public static final SynsetType UNKNOWN
public static SynsetType[] values()
for (SynsetType c : SynsetType.values()) System.out.println(c);
public static SynsetType 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 String toString()
toString in class Enum<SynsetType>public SynsetType getValue()
TaggetValue in interface Tag<SynsetType>Copyright © 2016–2022. All rights reserved.