edu.stanford.nlp.ling
Class CoreAnnotations.CorefClusterAnnotation
java.lang.Object
edu.stanford.nlp.ling.CoreAnnotations.CorefClusterAnnotation
- All Implemented Interfaces:
- CoreAnnotation<Set<CoreLabel>>, TypesafeMap.Key<CoreMap,Set<CoreLabel>>
- Enclosing class:
- CoreAnnotations
public static class CoreAnnotations.CorefClusterAnnotation
- extends Object
- implements CoreAnnotation<Set<CoreLabel>>
Set of all the CoreLabel objects which are coreferent with a CoreLabel.
Note that the list includes the CoreLabel that was annotated which creates
a cycle.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreAnnotations.CorefClusterAnnotation
public CoreAnnotations.CorefClusterAnnotation()
getType
public Class<Set<CoreLabel>> 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<Set<CoreLabel>>
Stanford NLP Group