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