edu.stanford.nlp.time
Class TimeExpression.Annotation

java.lang.Object
  extended by edu.stanford.nlp.time.TimeExpression.Annotation
All Implemented Interfaces:
CoreAnnotation<TimeExpression>, TypesafeMap.Key<CoreMap,TimeExpression>
Enclosing class:
TimeExpression

public static class TimeExpression.Annotation
extends java.lang.Object
implements CoreAnnotation<TimeExpression>

The CoreMap key for storing a TimeExpression annotation


Constructor Summary
TimeExpression.Annotation()
           
 
Method Summary
 java.lang.Class<TimeExpression> 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

TimeExpression.Annotation

public TimeExpression.Annotation()
Method Detail

getType

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


Stanford NLP Group