public static enum NamedEntity.Category extends Enum<NamedEntity.Category> implements Serializable
| Enum Constant and Description |
|---|
DATE |
EMAIL |
LOCATION |
MONEY |
NONE |
NUMBER |
ORGANIZATION |
PERSON |
UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
static ThrowingFunction<List<String>,List<NamedEntity.Category>> |
parseAll |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation() |
static NamedEntity.Category |
parse(String entityCategory) |
static NamedEntity.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamedEntity.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedEntity.Category PERSON
public static final NamedEntity.Category ORGANIZATION
public static final NamedEntity.Category LOCATION
public static final NamedEntity.Category EMAIL
public static final NamedEntity.Category DATE
public static final NamedEntity.Category MONEY
public static final NamedEntity.Category NUMBER
public static final NamedEntity.Category NONE
public static final NamedEntity.Category UNKNOWN
public static ThrowingFunction<List<String>,List<NamedEntity.Category>> parseAll
public static NamedEntity.Category[] values()
for (NamedEntity.Category c : NamedEntity.Category.values()) System.out.println(c);
public static NamedEntity.Category 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 getAbbreviation()
public static NamedEntity.Category parse(String entityCategory)
Copyright © 2020–2021 ICIJ. All rights reserved.