- All Implemented Interfaces:
- CoreAnnotation<java.util.List<CoreMap>>, TypesafeMap.Key<java.util.List<CoreMap>>
- Enclosing class:
- CoreAnnotations
public static class CoreAnnotations.GenericTokensAnnotation
extends java.lang.Object
implements CoreAnnotation<java.util.List<CoreMap>>
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.