public static enum CoreNLPProtos.Language extends java.lang.Enum<CoreNLPProtos.Language> implements com.google.protobuf.ProtocolMessageEnum
An enumeration for the valid languages allowed in CoreNLPProtobuf enum
edu.stanford.nlp.pipeline.Language
Enum Constant and Description |
---|
Any
Any = 1; |
Arabic
Arabic = 2; |
Chinese
Chinese = 3; |
English
English = 4; |
French
French = 6; |
German
German = 5; |
Hebrew
Hebrew = 7; |
Spanish
Spanish = 8; |
UniversalChinese
UniversalChinese = 10; |
UniversalEnglish
UniversalEnglish = 9; |
Unknown
Unknown = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
Any_VALUE
Any = 1; |
static int |
Arabic_VALUE
Arabic = 2; |
static int |
Chinese_VALUE
Chinese = 3; |
static int |
English_VALUE
English = 4; |
static int |
French_VALUE
French = 6; |
static int |
German_VALUE
German = 5; |
static int |
Hebrew_VALUE
Hebrew = 7; |
static int |
Spanish_VALUE
Spanish = 8; |
static int |
UniversalChinese_VALUE
UniversalChinese = 10; |
static int |
UniversalEnglish_VALUE
UniversalEnglish = 9; |
static int |
Unknown_VALUE
Unknown = 0; |
Modifier and Type | Method and Description |
---|---|
static CoreNLPProtos.Language |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CoreNLPProtos.Language> |
internalGetValueMap() |
static CoreNLPProtos.Language |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CoreNLPProtos.Language |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CoreNLPProtos.Language |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoreNLPProtos.Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreNLPProtos.Language Unknown
Unknown = 0;
public static final CoreNLPProtos.Language Any
Any = 1;
public static final CoreNLPProtos.Language Arabic
Arabic = 2;
public static final CoreNLPProtos.Language Chinese
Chinese = 3;
public static final CoreNLPProtos.Language English
English = 4;
public static final CoreNLPProtos.Language German
German = 5;
public static final CoreNLPProtos.Language French
French = 6;
public static final CoreNLPProtos.Language Hebrew
Hebrew = 7;
public static final CoreNLPProtos.Language Spanish
Spanish = 8;
public static final CoreNLPProtos.Language UniversalEnglish
UniversalEnglish = 9;
public static final CoreNLPProtos.Language UniversalChinese
UniversalChinese = 10;
public static final int Unknown_VALUE
Unknown = 0;
public static final int Any_VALUE
Any = 1;
public static final int Arabic_VALUE
Arabic = 2;
public static final int Chinese_VALUE
Chinese = 3;
public static final int English_VALUE
English = 4;
public static final int German_VALUE
German = 5;
public static final int French_VALUE
French = 6;
public static final int Hebrew_VALUE
Hebrew = 7;
public static final int Spanish_VALUE
Spanish = 8;
public static final int UniversalEnglish_VALUE
UniversalEnglish = 9;
public static final int UniversalChinese_VALUE
UniversalChinese = 10;
public static CoreNLPProtos.Language[] values()
for (CoreNLPProtos.Language c : CoreNLPProtos.Language.values()) System.out.println(c);
public static CoreNLPProtos.Language 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CoreNLPProtos.Language valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CoreNLPProtos.Language forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CoreNLPProtos.Language> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CoreNLPProtos.Language valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)