edu.stanford.nlp.trees.semgraph
Class SemanticGraphCoreAnnotations.BasicDependenciesAnnotation

java.lang.Object
  extended by edu.stanford.nlp.trees.semgraph.SemanticGraphCoreAnnotations.BasicDependenciesAnnotation
All Implemented Interfaces:
CoreAnnotation<SemanticGraph>, TypesafeMap.Key<CoreMap,SemanticGraph>
Enclosing class:
SemanticGraphCoreAnnotations

public static class SemanticGraphCoreAnnotations.BasicDependenciesAnnotation
extends java.lang.Object
implements CoreAnnotation<SemanticGraph>

The CoreMap key for getting the syntactic dependencies of a sentence. These are basic dependencies without any post-processing! This key is typically set on sentence annotations.


Constructor Summary
SemanticGraphCoreAnnotations.BasicDependenciesAnnotation()
           
 
Method Summary
 java.lang.Class<SemanticGraph> 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

SemanticGraphCoreAnnotations.BasicDependenciesAnnotation

public SemanticGraphCoreAnnotations.BasicDependenciesAnnotation()
Method Detail

getType

public java.lang.Class<SemanticGraph> 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<SemanticGraph>


Stanford NLP Group