public static final class NaturalLogicAnnotations.PolarityDirectionAnnotation extends java.lang.Object implements CoreAnnotation<java.lang.String>
NaturalLogicAnnotations.PolarityAnnotation
, which just measures whether
the polarity of a token is upwards, downwards, or flat.
This annotation always has values either "up", "down", or "flat".Constructor and Description |
---|
PolarityDirectionAnnotation() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<java.lang.String> |
getType()
Returns the type associated with this annotation.
|
public java.lang.Class<java.lang.String> getType()
CoreAnnotation
getType
in interface CoreAnnotation<java.lang.String>