|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.ling.CoreAnnotations.TokensAnnotation
public static class CoreAnnotations.TokensAnnotation
The CoreMap key for getting the tokens contained by an annotation. This key should be set for any annotation that contains tokens. It can be done without much memory overhead using List.subList.
Constructor Summary | |
---|---|
CoreAnnotations.TokensAnnotation()
|
Method Summary | |
---|---|
java.lang.Class<java.util.List<CoreLabel>> |
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 |
---|
public CoreAnnotations.TokensAnnotation()
Method Detail |
---|
public java.lang.Class<java.util.List<CoreLabel>> getType()
CoreAnnotation
getType
in interface CoreAnnotation<java.util.List<CoreLabel>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |