public CreateSpanAnnotationRequest changeSpan(int aBegin, int aEnd) { return new CreateSpanAnnotationRequest(this, document, username, jcas, aBegin, aEnd); } }
public CreateSpanAnnotationRequest changeSpan(int aBegin, int aEnd) { return new CreateSpanAnnotationRequest(this, document, username, jcas, aBegin, aEnd); } }
public AnnotationFS addSpan(SourceDocument aDocument, String aUsername, JCas aJCas, int aBegin, int aEnd) throws AnnotationException { return handle(new CreateSpanAnnotationRequest(aDocument, aUsername, aJCas, aBegin, aEnd)); }
public AnnotationFS addSpan(SourceDocument aDocument, String aUsername, JCas aJCas, int aBegin, int aEnd) throws AnnotationException { return handle(new CreateSpanAnnotationRequest(aDocument, aUsername, aJCas, aBegin, aEnd)); }
/** * Add new span annotation into the CAS and return the the id of the span annotation * * @param aDocument * the document to which the CAS belongs * @param aUsername * the user to which the CAS belongs * @param aJCas * the JCas. * @param aBegin * the begin offset. * @param aEnd * the end offset. * @return the ID. * @throws AnnotationException * if the annotation cannot be created/updated. */ public AnnotationFS add(SourceDocument aDocument, String aUsername, JCas aJCas, int aBegin, int aEnd) throws AnnotationException { return handle(new CreateSpanAnnotationRequest(aDocument, aUsername, aJCas, aBegin, aEnd)); }
/** * Add new span annotation into the CAS and return the the id of the span annotation * * @param aDocument * the document to which the CAS belongs * @param aUsername * the user to which the CAS belongs * @param aJCas * the JCas. * @param aBegin * the begin offset. * @param aEnd * the end offset. * @return the ID. * @throws AnnotationException * if the annotation cannot be created/updated. */ public AnnotationFS add(SourceDocument aDocument, String aUsername, JCas aJCas, int aBegin, int aEnd) throws AnnotationException { return handle(new CreateSpanAnnotationRequest(aDocument, aUsername, aJCas, aBegin, aEnd)); }