public enum SynsetType extends Enum<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 |
---|---|
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 nullCopyright © 2016–2018. All rights reserved.