edu.stanford.nlp.ling
Class AnnotationLookup
java.lang.Object
edu.stanford.nlp.ling.AnnotationLookup
public class AnnotationLookup
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCoreKey
public static AnnotationLookup.KeyLookup getCoreKey(String oldKey)
- Returns a CoreAnnotation class key for the given old-style FeatureLabel
key if one exists; null otherwise.
getValueType
public static Class<?> getValueType(Class<? extends CoreAnnotation> key)
- Returns the runtime value type associated with the given key. Caches
results.
Stanford NLP Group