if (!token.containsKey(CoreAnnotations.IndexAnnotation.class)) {
token.set(CoreAnnotations.IndexAnnotation.class, k + 1);
}
}
// Set normalized named entity for chunked tokens
if (sentence.containsKey(CoreAnnotations.NumerizedTokensAnnotation.class)) {
for (CoreMap numerizedToken : sentence.get(CoreAnnotations.NumerizedTokensAnnotation.class)) {
if (numerizedToken.containsKey(CoreAnnotations.TokensAnnotation.class)) {
// The normalized named entity got deleted?
numerizedToken.set(CoreAnnotations.NormalizedNamedEntityTagAnnotation.class,
numerizedToken.get(CoreAnnotations.TokensAnnotation.class)