public enum NlpStage extends Enum<NlpStage>
| Modifier and Type | Field and Description |
|---|---|
static ThrowingFunction<List<String>,List<NlpStage>> |
parseAll |
| Modifier and Type | Method and Description |
|---|---|
static Optional<NlpStage> |
parse(String stage) |
static NlpStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NlpStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NlpStage SENTENCE
public static final NlpStage TOKEN
public static final NlpStage LEMMA
public static final NlpStage POS
public static final NlpStage NER
public static ThrowingFunction<List<String>,List<NlpStage>> parseAll
public static NlpStage[] values()
for (NlpStage c : NlpStage.values()) System.out.println(c);
public static NlpStage 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 © 2020 ICIJ. All rights reserved.