{
List<Annotation> annotationsAtCurrentPosition = indexer.findAnnotationsForPosition(lineNumber, i);
if (annotationsAtCurrentPosition != null) {
for (Annotation a : annotationsAtCurrentPosition) {
if (a instanceof PartOfSpeechAnnotation) {
PartOfSpeechAnnotation posAn = (PartOfSpeechAnnotation)a;
sb.append(posAn.getPartOfSpeech());
}
}
}
}
return StringHandling.escapeStringForFeatureName(sb.toString());