congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Event.setBegin
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using uk.gov.dstl.baleen.types.semantic.Event.setBegin (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

Event e = new Event(jCas);
e.setBegin(eventMention.startOffset());
e.setEnd(eventMention.endOffset());
e.setValue(eventMention.text());
origin: dstl/baleen

Event e = new Event(jCas);
e.setBegin(eventMention.startOffset());
e.setEnd(eventMention.endOffset());
e.setValue(eventMention.text());
origin: dstl/baleen

r.setBegin(text.indexOf("went"));
r.setEnd(r.getBegin() + "went".length());
r.setValue("went");
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.setBegin(0);
e1.setEnd(4);
e1.setValue("test");
e2.setBegin(0);
e2.setEnd(4);
e2.setValue("test");
origin: dstl/baleen

event.setBegin(0);
event.setEnd(PARAGRAPH.length());
event.setEntities(new FSArray(jCas, 3));
origin: dstl/baleen

event.setBegin(0);
event.setEnd(SENTENCE.length());
event.setEntities(new FSArray(jCas, 3));
origin: dstl/baleen

event.setBegin(0);
event.setEnd(SENTENCE.length());
event.setEntities(new FSArray(jCas, 3));
origin: dstl/baleen

event.setBegin(0);
event.setEnd(10);
event.setValue("test event");
uk.gov.dstl.baleen.types.semanticEventsetBegin

Popular methods of Event

  • setEnd
  • <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

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JTable (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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