Package edu.stanford.nlp.dcoref
Class CorefCoreAnnotations.CorefDestAnnotation
- java.lang.Object
-
- edu.stanford.nlp.dcoref.CorefCoreAnnotations.CorefDestAnnotation
-
- All Implemented Interfaces:
CoreAnnotation<IntTuple>,TypesafeMap.Key<IntTuple>
- Enclosing class:
- CorefCoreAnnotations
public static class CorefCoreAnnotations.CorefDestAnnotation extends Object implements CoreAnnotation<IntTuple>
Destination of the coreference link for this word (if any). It contains the index of the sentence and the index of the word that are the end of this coref link. Both indices start at 1. The sentence index is IntTuple.get(0); the token index in the sentence is IntTuple.get(1).
-
-
Constructor Summary
Constructors Constructor Description CorefDestAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<IntTuple>getType()Returns the type associated with this annotation.
-
-
-
Method Detail
-
getType
public Class<IntTuple> getType()
Description copied from interface:CoreAnnotationReturns the type associated with this annotation. This method must return the same class type as its value type parameter. It feels like one should be able to get away without this method, but because Java erases the generic type signature, that info disappears at runtime.- Specified by:
getTypein interfaceCoreAnnotation<IntTuple>
-
-