}
public static void processDocument(JCas jcas) throws ResourceInitializationException, FileNotFoundException {
log.info("Processing document: " + DocumentIDAnnotationUtil.getDocumentID(jcas));
if(sems == null){
sems = new SemanticClasses(FileLocator.locateFile("org/apache/ctakes/assertion/models/semantic_classes").getAbsolutePath());
}
Collection<IdentifiedAnnotation> mentions = JCasUtil.select(jcas, IdentifiedAnnotation.class);
for(IdentifiedAnnotation mention : mentions){
TopTreebankNode orig = AnnotationTreeUtils.getAnnotationTree(jcas, mention);
if(orig == null){