private AnnotationFS createChainElementAnnotation(CreateSpanAnnotationRequest aRequest) { // Add the link annotation on the span AnnotationFS newLink = newLink(aRequest.getJcas(), aRequest.getBegin(), aRequest.getEnd()); // The added link is a new chain on its own - add the chain head FS newChain(aRequest.getJcas(), newLink); return newLink; }
private AnnotationFS createChainElementAnnotation(CreateSpanAnnotationRequest aRequest) { // Add the link annotation on the span AnnotationFS newLink = newLink(aRequest.getJcas(), aRequest.getBegin(), aRequest.getEnd()); // The added link is a new chain on its own - add the chain head FS newChain(aRequest.getJcas(), newLink); return newLink; }