public enum NaturalLogicRelation extends Enum<NaturalLogicRelation>
| Enum Constant and Description |
|---|
ALTERNATION |
COVER |
EQUIVALENCE |
FORWARD_ENTAILMENT |
INDEPENDENCE |
NEGATION |
REVERSE_ENTAILMENT |
| Modifier and Type | Field and Description |
|---|---|
int |
fixedIndex |
boolean |
isEntailed |
boolean |
isNegated |
| Modifier and Type | Method and Description |
|---|---|
protected static NaturalLogicRelation |
byFixedIndex(int index) |
NaturalLogicRelation |
join(NaturalLogicRelation other)
The MacCartney "join table" -- this determines the transitivity of entailment if we chain two relations together.
|
static NaturalLogicRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaturalLogicRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaturalLogicRelation EQUIVALENCE
public static final NaturalLogicRelation FORWARD_ENTAILMENT
public static final NaturalLogicRelation REVERSE_ENTAILMENT
public static final NaturalLogicRelation NEGATION
public static final NaturalLogicRelation ALTERNATION
public static final NaturalLogicRelation COVER
public static final NaturalLogicRelation INDEPENDENCE
public final int fixedIndex
public final boolean isEntailed
public final boolean isNegated
public static NaturalLogicRelation[] values()
for (NaturalLogicRelation c : NaturalLogicRelation.values()) System.out.println(c);
public static NaturalLogicRelation 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 nullprotected static NaturalLogicRelation byFixedIndex(int index)
public NaturalLogicRelation join(NaturalLogicRelation other)
Polarity.projectLexicalRelation(NaturalLogicRelation),
set by NaturalLogicAnnotator using the NaturalLogicAnnotations.PolarityAnnotation).other - The relation to join this relation with.