Iterator<?> neItr= jcas.getJFSIndexRepository().getAnnotationIndex(
NonSmokerNamedEntityAnnotation.type).iterator();
while (neItr.hasNext())
{
NonSmokerNamedEntityAnnotation neAnn = (NonSmokerNamedEntityAnnotation) neItr.next();
nonSmokerCnt++;
iv_logger.info("***NonSmokerNameEntity***" + neAnn.getCoveredText() + " " + nonSmokerCnt + " " + neAnn.getPolarity());
}
return nonSmokerCnt;
}