edu.stanford.nlp.dcoref
Class CorefCoreAnnotations.CorefDestAnnotation

java.lang.Object
  extended by edu.stanford.nlp.dcoref.CorefCoreAnnotations.CorefDestAnnotation
All Implemented Interfaces:
CoreAnnotation<IntTuple>, TypesafeMap.Key<IntTuple>
Enclosing class:
CorefCoreAnnotations

public static class CorefCoreAnnotations.CorefDestAnnotation
extends java.lang.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
CorefCoreAnnotations.CorefDestAnnotation()
           
 
Method Summary
 java.lang.Class<IntTuple> getType()
          Returns the type associated with this annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorefCoreAnnotations.CorefDestAnnotation

public CorefCoreAnnotations.CorefDestAnnotation()
Method Detail

getType

public java.lang.Class<IntTuple> getType()
Description copied from interface: CoreAnnotation
Returns 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:
getType in interface CoreAnnotation<IntTuple>


Stanford NLP Group