edu.stanford.nlp.trees.semgraph
Class SemanticGraphCoreAnnotations.BasicDependenciesAnnotation
java.lang.Object
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 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SemanticGraphCoreAnnotations.BasicDependenciesAnnotation
public SemanticGraphCoreAnnotations.BasicDependenciesAnnotation()
getType
public 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