public static enum CoreNLPProtos.NaturalLogicRelation extends java.lang.Enum<CoreNLPProtos.NaturalLogicRelation> implements com.google.protobuf.ProtocolMessageEnum
The seven informative Natural Logic relationsProtobuf enum
edu.stanford.nlp.pipeline.NaturalLogicRelation| Enum Constant and Description |
|---|
ALTERNATION
ALTERNATION = 4; |
COVER
COVER = 5; |
EQUIVALENCE
EQUIVALENCE = 0; |
FORWARD_ENTAILMENT
FORWARD_ENTAILMENT = 1; |
INDEPENDENCE
INDEPENDENCE = 6; |
NEGATION
NEGATION = 3; |
REVERSE_ENTAILMENT
REVERSE_ENTAILMENT = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALTERNATION_VALUE
ALTERNATION = 4; |
static int |
COVER_VALUE
COVER = 5; |
static int |
EQUIVALENCE_VALUE
EQUIVALENCE = 0; |
static int |
FORWARD_ENTAILMENT_VALUE
FORWARD_ENTAILMENT = 1; |
static int |
INDEPENDENCE_VALUE
INDEPENDENCE = 6; |
static int |
NEGATION_VALUE
NEGATION = 3; |
static int |
REVERSE_ENTAILMENT_VALUE
REVERSE_ENTAILMENT = 2; |
| Modifier and Type | Method and Description |
|---|---|
static CoreNLPProtos.NaturalLogicRelation |
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.NaturalLogicRelation> |
internalGetValueMap() |
static CoreNLPProtos.NaturalLogicRelation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CoreNLPProtos.NaturalLogicRelation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CoreNLPProtos.NaturalLogicRelation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoreNLPProtos.NaturalLogicRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreNLPProtos.NaturalLogicRelation EQUIVALENCE
EQUIVALENCE = 0;public static final CoreNLPProtos.NaturalLogicRelation FORWARD_ENTAILMENT
FORWARD_ENTAILMENT = 1;public static final CoreNLPProtos.NaturalLogicRelation REVERSE_ENTAILMENT
REVERSE_ENTAILMENT = 2;public static final CoreNLPProtos.NaturalLogicRelation NEGATION
NEGATION = 3;public static final CoreNLPProtos.NaturalLogicRelation ALTERNATION
ALTERNATION = 4;public static final CoreNLPProtos.NaturalLogicRelation COVER
COVER = 5;public static final CoreNLPProtos.NaturalLogicRelation INDEPENDENCE
INDEPENDENCE = 6;public static final int EQUIVALENCE_VALUE
EQUIVALENCE = 0;public static final int FORWARD_ENTAILMENT_VALUE
FORWARD_ENTAILMENT = 1;public static final int REVERSE_ENTAILMENT_VALUE
REVERSE_ENTAILMENT = 2;public static final int NEGATION_VALUE
NEGATION = 3;public static final int ALTERNATION_VALUE
ALTERNATION = 4;public static final int COVER_VALUE
COVER = 5;public static final int INDEPENDENCE_VALUE
INDEPENDENCE = 6;public static CoreNLPProtos.NaturalLogicRelation[] values()
for (CoreNLPProtos.NaturalLogicRelation c : CoreNLPProtos.NaturalLogicRelation.values()) System.out.println(c);
public static CoreNLPProtos.NaturalLogicRelation 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CoreNLPProtos.NaturalLogicRelation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CoreNLPProtos.NaturalLogicRelation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CoreNLPProtos.NaturalLogicRelation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CoreNLPProtos.NaturalLogicRelation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)