public enum ExportPartOfSpeech extends java.lang.Enum<ExportPartOfSpeech> implements EnumConverter<ExportPartOfSpeech>
ADJ, PROPN, CCONJ).
X means "other" in Universal Dependencies; the deprecated
ExportGlossaryRequest.setPartsOfSpeech(java.util.List) maps PartOfSpeech.OTHER to it.
| Enum Constant and Description |
|---|
ADJ |
ADP |
ADV |
AUX |
CCONJ |
DET |
INTJ |
NOUN |
NUM |
PRON |
PROPN |
PRT |
SCONJ |
SYM |
VERB |
X |
| Modifier and Type | Method and Description |
|---|---|
static ExportPartOfSpeech |
from(java.lang.String value) |
java.lang.String |
to(ExportPartOfSpeech v) |
static ExportPartOfSpeech |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExportPartOfSpeech[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportPartOfSpeech NOUN
public static final ExportPartOfSpeech VERB
public static final ExportPartOfSpeech ADJ
public static final ExportPartOfSpeech PRON
public static final ExportPartOfSpeech PROPN
public static final ExportPartOfSpeech DET
public static final ExportPartOfSpeech ADV
public static final ExportPartOfSpeech ADP
public static final ExportPartOfSpeech CCONJ
public static final ExportPartOfSpeech SCONJ
public static final ExportPartOfSpeech NUM
public static final ExportPartOfSpeech INTJ
public static final ExportPartOfSpeech AUX
public static final ExportPartOfSpeech PRT
public static final ExportPartOfSpeech SYM
public static final ExportPartOfSpeech X
public static ExportPartOfSpeech[] values()
for (ExportPartOfSpeech c : ExportPartOfSpeech.values()) System.out.println(c);
public static ExportPartOfSpeech valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ExportPartOfSpeech from(java.lang.String value)
public java.lang.String to(ExportPartOfSpeech v)
to in interface EnumConverter<ExportPartOfSpeech>