Tabnine Logo
BaleenCollectionReader.doInitialize
Code IndexAdd Tabnine to your IDE (free)

How to use
doInitialize
method
in
uk.gov.dstl.baleen.uima.BaleenCollectionReader

Best Java code snippets using uk.gov.dstl.baleen.uima.BaleenCollectionReader.doInitialize (Showing top 2 results out of 315)

origin: dstl/baleen

@Override
public final void initialize(UimaContext context) throws ResourceInitializationException {
 super.initialize(context); // This will do initialization of resources,
 // but won't be included in the metrics
 String pipelineName = UimaUtils.getPipelineName(context);
 monitor = new UimaMonitor(pipelineName, this.getClass());
 support =
   new UimaSupport(
     pipelineName,
     this.getClass(),
     history,
     monitor,
     UimaUtils.isMergeDistinctEntities(context));
 monitor.startFunction("initialize");
 doInitialize(context);
 monitor.finishFunction("initialize");
}
origin: uk.gov.dstl.baleen/baleen-uima

@Override
public final void initialize(UimaContext context) throws ResourceInitializationException {
 super.initialize(context); // This will do initialization of resources,
 // but won't be included in the metrics
 String pipelineName = UimaUtils.getPipelineName(context);
 monitor = new UimaMonitor(pipelineName, this.getClass());
 support =
   new UimaSupport(
     pipelineName,
     this.getClass(),
     history,
     monitor,
     UimaUtils.isMergeDistinctEntities(context));
 monitor.startFunction("initialize");
 doInitialize(context);
 monitor.finishFunction("initialize");
}
uk.gov.dstl.baleen.uimaBaleenCollectionReaderdoInitialize

Javadoc

Called when the collection reader is being initialized. Any required resources, for example, should be opened at this point.

Popular methods of BaleenCollectionReader

  • close
  • doHasNext
    Called when UIMA is asking whether there is another document to process. Implementations should retu
  • getNext
  • doClose
    Called when the collection reader has finished and is closing down. Any open resources, for example,
  • doGetNext
    Called when UIMA wants the next document. The passed CAS object should be populated with the documen
  • doGetProgress
    Called when UIMA wants to know how far we've got with processing the current collection of documents
  • getMonitor
  • getUimaContext
  • hasNext
    Override of the UIMA hasNext() method with logic to continuously check for new documents until one i
  • initialize

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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