Tabnine Logo
Event.setEnd
Code IndexAdd Tabnine to your IDE (free)

How to use
setEnd
method
in
uk.gov.dstl.baleen.types.semantic.Event

Best Java code snippets using uk.gov.dstl.baleen.types.semantic.Event.setEnd (Showing top 11 results out of 315)

origin: uk.gov.dstl.baleen/baleen-uima

/**
 * @generated
 * @param jcas JCas to which this Feature Structure belongs
 * @param begin offset to the begin spot in the SofA
 * @param end offset to the end spot in the SofA
 */
public Event(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}
origin: dstl/baleen

/**
 * @generated
 * @param jcas JCas to which this Feature Structure belongs
 * @param begin offset to the begin spot in the SofA
 * @param end offset to the end spot in the SofA
 */
public Event(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}
origin: uk.gov.dstl.baleen/baleen-odin

e.setEnd(eventMention.endOffset());
e.setValue(eventMention.text());
origin: dstl/baleen

e.setEnd(eventMention.endOffset());
e.setValue(eventMention.text());
origin: dstl/baleen

r.setEnd(r.getBegin() + "went".length());
r.setValue("went");
r.setEventType(new StringArray(jCas, 1));
origin: dstl/baleen

@Before
public void setup() throws IOException {
 jCas.setDocumentText(TEXT);
 tempDirectory = Files.createTempDirectory(AllAnnotationsJsonConsumerTest.class.getSimpleName());
 tempDirectory.toFile().deleteOnExit();
 DocumentAnnotation documentAnnotation = (DocumentAnnotation) jCas.getDocumentAnnotationFs();
 documentAnnotation.setSourceUri(SOURCEURI);
 Paragraph paragraph1 = new Paragraph(jCas);
 paragraph1.setBegin(0);
 paragraph1.setDepth(1);
 paragraph1.setEnd(52);
 paragraph1.addToIndexes();
 Person entity1 = new Person(jCas);
 entity1.setBegin(70);
 entity1.setEnd(73);
 entity1.setValue("cat");
 entity1.addToIndexes();
 Event event = new Event(jCas);
 event.setBegin(53);
 event.setEnd(105);
 event.setArguments(new StringArray(jCas, 2));
 event.setArguments(0, "cat");
 event.setArguments(1, "dog");
 event.setEntities(new FSArray(jCas, 1));
 event.setEntities(0, entity1);
 event.addToIndexes();
}
origin: dstl/baleen

e1.setEnd(4);
e1.setValue("test");
e1.setEntities(new FSArray(jCas, 2));
e2.setEnd(4);
e2.setValue("test");
e2.setEntities(new FSArray(jCas, 2));
origin: dstl/baleen

event.setEnd(PARAGRAPH.length());
event.setEntities(new FSArray(jCas, 3));
event.setArguments(new StringArray(jCas, 2));
origin: dstl/baleen

event.setEnd(SENTENCE.length());
event.setEntities(new FSArray(jCas, 3));
event.setArguments(new StringArray(jCas, 2));
origin: dstl/baleen

event.setEnd(SENTENCE.length());
event.setEntities(new FSArray(jCas, 3));
event.setArguments(new StringArray(jCas, 2));
origin: dstl/baleen

event.setEnd(10);
event.setValue("test event");
event.setEventType(new StringArray(jCas, 1));
uk.gov.dstl.baleen.types.semanticEventsetEnd

Popular methods of Event

  • setBegin
  • <init>
  • addToIndexes
  • getBegin
  • setArguments
    setter for arguments - sets Additional text information, such as subject/object, in addition to the
  • setEntities
    setter for entities - sets The entities which are involved / related / associated with the event.
  • setEventType
    setter for eventType - sets The event type which classifies the event.For example Currently based on
  • setValue
    setter for value - sets A textual representation of the event, typically this may be one or more ver
  • getEnd
  • getEntities
    indexed getter for entities - gets an indexed value - The entities which are involved / related / as
  • getExternalId
  • getValue
    getter for value - gets A textual representation of the event, typically this may be one or more ver
  • getExternalId,
  • getValue,
  • setTokens,
  • getArguments,
  • getConfidence,
  • getEventType,
  • getTokens,
  • readObject,
  • setReferent

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • setContentView (Activity)
  • getContentResolver (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • JFileChooser (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now