edu.stanford.nlp.trees
Class GrammaticalRelation.GrammaticalRelationAnnotation
java.lang.Object
edu.stanford.nlp.trees.GrammaticalRelation.GrammaticalRelationAnnotation
- All Implemented Interfaces:
- CoreAnnotation<Set<TreeGraphNode>>, TypesafeMap.Key<CoreMap,Set<TreeGraphNode>>
- Direct Known Subclasses:
- GrammaticalRelation.DependendentGRAnnotation, GrammaticalRelation.GovernorGRAnnotation, GrammaticalRelation.KillGRAnnotation
- Enclosing class:
- GrammaticalRelation
public static class GrammaticalRelation.GrammaticalRelationAnnotation
- extends Object
- implements CoreAnnotation<Set<TreeGraphNode>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrammaticalRelation.GrammaticalRelationAnnotation
public GrammaticalRelation.GrammaticalRelationAnnotation()
getType
public Class<Set<TreeGraphNode>> 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<TreeGraphNode>>
Stanford NLP Group